Udostępnij za pośrednictwem


VpnConnection Constructors

Definition

Overloads

VpnConnection()

Initializes a new instance of the VpnConnection class.

VpnConnection(String, SubResource, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, IList<VpnSiteLinkConnection>, RoutingConfiguration, String, String)

Initializes a new instance of the VpnConnection class.

VpnConnection()

Initializes a new instance of the VpnConnection class.

public VpnConnection ();
Public Sub New ()

Applies to

VpnConnection(String, SubResource, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, IList<VpnSiteLinkConnection>, RoutingConfiguration, String, String)

Initializes a new instance of the VpnConnection class.

public VpnConnection (string id = default, Microsoft.Azure.Management.Network.Models.SubResource remoteVpnSite = default, int? routingWeight = default, int? dpdTimeoutSeconds = default, string connectionStatus = default, string vpnConnectionProtocolType = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, int? connectionBandwidth = default, string sharedKey = default, bool? enableBgp = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> ipsecPolicies = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TrafficSelectorPolicy> trafficSelectorPolicies = default, bool? enableRateLimiting = default, bool? enableInternetSecurity = default, bool? useLocalAzureIpAddress = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnSiteLinkConnection> vpnLinkConnections = default, Microsoft.Azure.Management.Network.Models.RoutingConfiguration routingConfiguration = default, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VpnConnection : string * Microsoft.Azure.Management.Network.Models.SubResource * Nullable<int> * Nullable<int> * string * string * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TrafficSelectorPolicy> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnSiteLinkConnection> * Microsoft.Azure.Management.Network.Models.RoutingConfiguration * string * string -> Microsoft.Azure.Management.Network.Models.VpnConnection
Public Sub New (Optional id As String = Nothing, Optional remoteVpnSite As SubResource = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional dpdTimeoutSeconds As Nullable(Of Integer) = Nothing, Optional connectionStatus As String = Nothing, Optional vpnConnectionProtocolType As String = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional connectionBandwidth As Nullable(Of Integer) = Nothing, Optional sharedKey As String = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IList(Of IpsecPolicy) = Nothing, Optional trafficSelectorPolicies As IList(Of TrafficSelectorPolicy) = Nothing, Optional enableRateLimiting As Nullable(Of Boolean) = Nothing, Optional enableInternetSecurity As Nullable(Of Boolean) = Nothing, Optional useLocalAzureIpAddress As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional vpnLinkConnections As IList(Of VpnSiteLinkConnection) = Nothing, Optional routingConfiguration As RoutingConfiguration = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

id
String

Resource ID.

remoteVpnSite
SubResource

Id of the connected vpn site.

routingWeight
Nullable<Int32>

Routing weight for vpn connection.

dpdTimeoutSeconds
Nullable<Int32>

DPD timeout in seconds for vpn connection.

connectionStatus
String

The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

vpnConnectionProtocolType
String

Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'

ingressBytesTransferred
Nullable<Int64>

Ingress bytes transferred.

egressBytesTransferred
Nullable<Int64>

Egress bytes transferred.

connectionBandwidth
Nullable<Int32>

Expected bandwidth in MBPS.

sharedKey
String

SharedKey for the vpn connection.

enableBgp
Nullable<Boolean>

EnableBgp flag.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

Enable policy-based traffic selectors.

ipsecPolicies
IList<IpsecPolicy>

The IPSec Policies to be considered by this connection.

trafficSelectorPolicies
IList<TrafficSelectorPolicy>

The Traffic Selector Policies to be considered by this connection.

enableRateLimiting
Nullable<Boolean>

EnableBgp flag.

enableInternetSecurity
Nullable<Boolean>

Enable internet security.

useLocalAzureIpAddress
Nullable<Boolean>

Use local azure ip to initiate connection.

provisioningState
String

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

vpnLinkConnections
IList<VpnSiteLinkConnection>

List of all vpn site link connections to the gateway.

routingConfiguration
RoutingConfiguration

The Routing Configuration indicating the associated and propagated route tables on this connection.

name
String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
String

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

Applies to