github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelVPN.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 // VPNConfiguration Base VPN Configuration profile. 6 type VPNConfiguration struct { 7 // DeviceConfiguration is the base model of VPNConfiguration 8 DeviceConfiguration 9 // AuthenticationMethod Authentication method. 10 AuthenticationMethod *VPNAuthenticationMethod `json:"authenticationMethod,omitempty"` 11 // ConnectionName Connection name displayed to the user. 12 ConnectionName *string `json:"connectionName,omitempty"` 13 // Role Role when connection type is set to Pulse Secure. 14 Role *string `json:"role,omitempty"` 15 // Realm Realm when connection type is set to Pulse Secure. 16 Realm *string `json:"realm,omitempty"` 17 // Servers List of VPN Servers on the network. Make sure end users can access these network locations. This collection can contain a maximum of 500 elements. 18 Servers []VPNServer `json:"servers,omitempty"` 19 } 20 21 // VPNDNSRule undocumented 22 type VPNDNSRule struct { 23 // Object is the base model of VPNDNSRule 24 Object 25 // Name Name. 26 Name *string `json:"name,omitempty"` 27 // Servers Servers. 28 Servers []string `json:"servers,omitempty"` 29 // ProxyServerURI Proxy Server Uri. 30 ProxyServerURI *string `json:"proxyServerUri,omitempty"` 31 // AutoTrigger Automatically connect to the VPN when the device connects to this domain: Default False. 32 AutoTrigger *bool `json:"autoTrigger,omitempty"` 33 // Persistent Keep this rule active even when the VPN is not connected: Default False 34 Persistent *bool `json:"persistent,omitempty"` 35 } 36 37 // VPNOnDemandRule undocumented 38 type VPNOnDemandRule struct { 39 // Object is the base model of VPNOnDemandRule 40 Object 41 // Ssids Network Service Set Identifiers (SSIDs). 42 Ssids []string `json:"ssids,omitempty"` 43 // DNSSearchDomains DNS Search Domains. 44 DNSSearchDomains []string `json:"dnsSearchDomains,omitempty"` 45 // ProbeURL A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches. 46 ProbeURL *string `json:"probeUrl,omitempty"` 47 // Action Action. 48 Action *VPNOnDemandRuleConnectionAction `json:"action,omitempty"` 49 // DomainAction Domain Action (Only applicable when Action is evaluate connection). 50 DomainAction *VPNOnDemandRuleConnectionDomainAction `json:"domainAction,omitempty"` 51 // Domains Domains (Only applicable when Action is evaluate connection). 52 Domains []string `json:"domains,omitempty"` 53 // ProbeRequiredURL Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed). 54 ProbeRequiredURL *string `json:"probeRequiredUrl,omitempty"` 55 } 56 57 // VPNProxyServer undocumented 58 type VPNProxyServer struct { 59 // Object is the base model of VPNProxyServer 60 Object 61 // AutomaticConfigurationScriptURL Proxy's automatic configuration script url. 62 AutomaticConfigurationScriptURL *string `json:"automaticConfigurationScriptUrl,omitempty"` 63 // Address Address. 64 Address *string `json:"address,omitempty"` 65 // Port Port. Valid values 0 to 65535 66 Port *int `json:"port,omitempty"` 67 } 68 69 // VPNRoute undocumented 70 type VPNRoute struct { 71 // Object is the base model of VPNRoute 72 Object 73 // DestinationPrefix Destination prefix (IPv4/v6 address). 74 DestinationPrefix *string `json:"destinationPrefix,omitempty"` 75 // PrefixSize Prefix size. (1-32). Valid values 1 to 32 76 PrefixSize *int `json:"prefixSize,omitempty"` 77 } 78 79 // VPNServer undocumented 80 type VPNServer struct { 81 // Object is the base model of VPNServer 82 Object 83 // Description Description. 84 Description *string `json:"description,omitempty"` 85 // Address Address (IP address, FQDN or URL) 86 Address *string `json:"address,omitempty"` 87 // IsDefaultServer Default server. 88 IsDefaultServer *bool `json:"isDefaultServer,omitempty"` 89 } 90 91 // VPNTrafficRule undocumented 92 type VPNTrafficRule struct { 93 // Object is the base model of VPNTrafficRule 94 Object 95 // Name Name. 96 Name *string `json:"name,omitempty"` 97 // Protocols Protocols (0-255). Valid values 0 to 255 98 Protocols *int `json:"protocols,omitempty"` 99 // LocalPortRanges Local port range can be set only when protocol is either TCP or UDP (6 or 17). This collection can contain a maximum of 500 elements. 100 LocalPortRanges []NumberRange `json:"localPortRanges,omitempty"` 101 // RemotePortRanges Remote port range can be set only when protocol is either TCP or UDP (6 or 17). This collection can contain a maximum of 500 elements. 102 RemotePortRanges []NumberRange `json:"remotePortRanges,omitempty"` 103 // LocalAddressRanges Local address range. This collection can contain a maximum of 500 elements. 104 LocalAddressRanges []IPv4Range `json:"localAddressRanges,omitempty"` 105 // RemoteAddressRanges Remote address range. This collection can contain a maximum of 500 elements. 106 RemoteAddressRanges []IPv4Range `json:"remoteAddressRanges,omitempty"` 107 // AppID App identifier, if this traffic rule is triggered by an app. 108 AppID *string `json:"appId,omitempty"` 109 // AppType App type, if this traffic rule is triggered by an app. 110 AppType *VPNTrafficRuleAppType `json:"appType,omitempty"` 111 // RoutingPolicyType When app triggered, indicates whether to enable split tunneling along this route. 112 RoutingPolicyType *VPNTrafficRuleRoutingPolicyType `json:"routingPolicyType,omitempty"` 113 // Claims Claims associated with this traffic rule. 114 Claims *string `json:"claims,omitempty"` 115 }