Edit

Share via


vpnDnsRule resource type

Namespace: microsoft.graph

Important: APIs under the /beta version in Microsoft Graph are subject to change which could break your applications. While Intune /beta APIs are supported by Microsoft, you should use these at your own discretion. In general, /beta APIs are not recommended for use in production applications. To determine whether an API is available in v1.0, use the Version selector

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

VPN DNS Rule definition.

Properties

Property Type Description
name String Name.
servers String collection Servers.
proxyServerUri String Proxy Server Uri.
autoTrigger Boolean Automatically connect to the VPN when the device connects to this domain: Default False.
persistent Boolean Keep this rule active even when the VPN is not connected: Default False

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.vpnDnsRule",
  "name": "String",
  "servers": [
    "String"
  ],
  "proxyServerUri": "String",
  "autoTrigger": true,
  "persistent": true
}