vpnOnDemandRule resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

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

VPN On-Demand Rule definition.

Properties

Property Type Description
ssids String collection Network Service Set Identifiers (SSIDs).
dnsSearchDomains String collection DNS Search Domains.
probeUrl String A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches.
action vpnOnDemandRuleConnectionAction Action. Possible values are: connect, evaluateConnection, ignore, disconnect.
domainAction vpnOnDemandRuleConnectionDomainAction Domain Action (Only applicable when Action is evaluate connection). Possible values are: connectIfNeeded, neverConnect.
domains String collection Domains (Only applicable when Action is evaluate connection).
probeRequiredUrl String Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).
interfaceTypeMatch vpnOnDemandRuleInterfaceTypeMatch Network interface to trigger VPN. Possible values are: notConfigured, ethernet, wiFi, cellular.
dnsServerAddressMatch String collection DNS Search Server Address.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.vpnOnDemandRule",
  "ssids": [
    "String"
  ],
  "dnsSearchDomains": [
    "String"
  ],
  "probeUrl": "String",
  "action": "String",
  "domainAction": "String",
  "domains": [
    "String"
  ],
  "probeRequiredUrl": "String",
  "interfaceTypeMatch": "String",
  "dnsServerAddressMatch": [
    "String"
  ]
}