Share via


VpnSiteLinkConnection Constructors

Definition

Overloads

VpnSiteLinkConnection()

Initializes a new instance of the VpnSiteLinkConnection class.

VpnSiteLinkConnection(String, SubResource, Nullable<Int32>, String, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, IList<GatewayCustomBgpIpAddressIpConfiguration>, Nullable<Boolean>, IList<IpsecPolicy>, Nullable<Boolean>, Nullable<Boolean>, String, IList<SubResource>, IList<SubResource>, String, String, String)

Initializes a new instance of the VpnSiteLinkConnection class.

VpnSiteLinkConnection()

Initializes a new instance of the VpnSiteLinkConnection class.

public VpnSiteLinkConnection ();
Public Sub New ()

Applies to

VpnSiteLinkConnection(String, SubResource, Nullable<Int32>, String, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, IList<GatewayCustomBgpIpAddressIpConfiguration>, Nullable<Boolean>, IList<IpsecPolicy>, Nullable<Boolean>, Nullable<Boolean>, String, IList<SubResource>, IList<SubResource>, String, String, String)

Initializes a new instance of the VpnSiteLinkConnection class.

public VpnSiteLinkConnection (string id = default, Microsoft.Azure.Management.Network.Models.SubResource vpnSiteLink = default, int? routingWeight = default, string vpnLinkConnectionMode = default, string connectionStatus = default, string vpnConnectionProtocolType = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, int? connectionBandwidth = default, string sharedKey = default, bool? enableBgp = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.GatewayCustomBgpIpAddressIpConfiguration> vpnGatewayCustomBgpAddresses = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> ipsecPolicies = default, bool? enableRateLimiting = default, bool? useLocalAzureIpAddress = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> ingressNatRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> egressNatRules = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.VpnSiteLinkConnection : string * Microsoft.Azure.Management.Network.Models.SubResource * Nullable<int> * string * string * string * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.GatewayCustomBgpIpAddressIpConfiguration> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * string * string -> Microsoft.Azure.Management.Network.Models.VpnSiteLinkConnection
Public Sub New (Optional id As String = Nothing, Optional vpnSiteLink As SubResource = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional vpnLinkConnectionMode As String = 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 vpnGatewayCustomBgpAddresses As IList(Of GatewayCustomBgpIpAddressIpConfiguration) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IList(Of IpsecPolicy) = Nothing, Optional enableRateLimiting As Nullable(Of Boolean) = Nothing, Optional useLocalAzureIpAddress As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional ingressNatRules As IList(Of SubResource) = Nothing, Optional egressNatRules As IList(Of SubResource) = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)

Parameters

id
String

Resource ID.

vpnSiteLink
SubResource

Id of the connected vpn site link.

routingWeight
Nullable<Int32>

Routing weight for vpn connection.

vpnLinkConnectionMode
String

Vpn link connection mode. Possible values include: 'Default', 'ResponderOnly', 'InitiatorOnly'

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.

vpnGatewayCustomBgpAddresses
IList<GatewayCustomBgpIpAddressIpConfiguration>

vpnGatewayCustomBgpAddresses used by this connection.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

Enable policy-based traffic selectors.

ipsecPolicies
IList<IpsecPolicy>

The IPSec Policies to be considered by this connection.

enableRateLimiting
Nullable<Boolean>

EnableBgp flag.

useLocalAzureIpAddress
Nullable<Boolean>

Use local azure ip to initiate connection.

provisioningState
String

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

ingressNatRules
IList<SubResource>

List of ingress NatRules.

egressNatRules
IList<SubResource>

List of egress NatRules.

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.

type
String

Resource type.

Applies to