P2SVpnGateway Constructors

Definition

Overloads

P2SVpnGateway()

Initializes a new instance of the P2SVpnGateway class.

P2SVpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<P2SConnectionConfiguration>, String, Nullable<Int32>, SubResource, VpnClientConnectionHealth, IList<String>, Nullable<Boolean>, String)

Initializes a new instance of the P2SVpnGateway class.

P2SVpnGateway()

Initializes a new instance of the P2SVpnGateway class.

public P2SVpnGateway ();
Public Sub New ()

Applies to

P2SVpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<P2SConnectionConfiguration>, String, Nullable<Int32>, SubResource, VpnClientConnectionHealth, IList<String>, Nullable<Boolean>, String)

Initializes a new instance of the P2SVpnGateway class.

public P2SVpnGateway (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.SubResource virtualHub = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.P2SConnectionConfiguration> p2SConnectionConfigurations = default, string provisioningState = default, int? vpnGatewayScaleUnit = default, Microsoft.Azure.Management.Network.Models.SubResource vpnServerConfiguration = default, Microsoft.Azure.Management.Network.Models.VpnClientConnectionHealth vpnClientConnectionHealth = default, System.Collections.Generic.IList<string> customDnsServers = default, bool? isRoutingPreferenceInternet = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.P2SVpnGateway : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.P2SConnectionConfiguration> * string * Nullable<int> * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.VpnClientConnectionHealth * System.Collections.Generic.IList<string> * Nullable<bool> * string -> Microsoft.Azure.Management.Network.Models.P2SVpnGateway
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional virtualHub As SubResource = Nothing, Optional p2SConnectionConfigurations As IList(Of P2SConnectionConfiguration) = Nothing, Optional provisioningState As String = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional vpnServerConfiguration As SubResource = Nothing, Optional vpnClientConnectionHealth As VpnClientConnectionHealth = Nothing, Optional customDnsServers As IList(Of String) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional etag As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

virtualHub
SubResource

The VirtualHub to which the gateway belongs.

p2SConnectionConfigurations
IList<P2SConnectionConfiguration>

List of all p2s connection configurations of the gateway.

provisioningState
String

The provisioning state of the P2S VPN gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

vpnGatewayScaleUnit
Nullable<Int32>

The scale unit for this p2s vpn gateway.

vpnServerConfiguration
SubResource

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

vpnClientConnectionHealth
VpnClientConnectionHealth

All P2S VPN clients' connection health status.

customDnsServers
IList<String>

List of all customer specified DNS servers IP addresses.

isRoutingPreferenceInternet
Nullable<Boolean>

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

etag
String

A unique read-only string that changes whenever the resource is updated.

Applies to