Share via


ArmNetworkModelFactory.VpnSiteLinkConnectionData Method

Definition

Initializes a new instance of VpnSiteLinkConnectionData.

public static Azure.ResourceManager.Network.VpnSiteLinkConnectionData VpnSiteLinkConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier vpnSiteLinkId = default, int? routingWeight = default, Azure.ResourceManager.Network.Models.VpnLinkConnectionMode? vpnLinkConnectionMode = default, Azure.ResourceManager.Network.Models.VpnConnectionStatus? connectionStatus = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionProtocol? vpnConnectionProtocolType = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, int? connectionBandwidth = default, string sharedKey = default, bool? enableBgp = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.GatewayCustomBgpIPAddressIPConfiguration> vpnGatewayCustomBgpAddresses = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.IPsecPolicy> ipsecPolicies = default, bool? enableRateLimiting = default, bool? useLocalAzureIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ingressNatRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> egressNatRules = default);
static member VpnSiteLinkConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.VpnLinkConnectionMode> * Nullable<Azure.ResourceManager.Network.Models.VpnConnectionStatus> * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionProtocol> * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * seq<Azure.ResourceManager.Network.Models.GatewayCustomBgpIPAddressIPConfiguration> * Nullable<bool> * seq<Azure.ResourceManager.Network.Models.IPsecPolicy> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> -> Azure.ResourceManager.Network.VpnSiteLinkConnectionData
Public Shared Function VpnSiteLinkConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional vpnSiteLinkId As ResourceIdentifier = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional vpnLinkConnectionMode As Nullable(Of VpnLinkConnectionMode) = Nothing, Optional connectionStatus As Nullable(Of VpnConnectionStatus) = Nothing, Optional vpnConnectionProtocolType As Nullable(Of VirtualNetworkGatewayConnectionProtocol) = 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 IEnumerable(Of GatewayCustomBgpIPAddressIPConfiguration) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IEnumerable(Of IPsecPolicy) = Nothing, Optional enableRateLimiting As Nullable(Of Boolean) = Nothing, Optional useLocalAzureIPAddress As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional ingressNatRules As IEnumerable(Of WritableSubResource) = Nothing, Optional egressNatRules As IEnumerable(Of WritableSubResource) = Nothing) As VpnSiteLinkConnectionData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

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

vpnSiteLinkId
ResourceIdentifier

Id of the connected vpn site link.

routingWeight
Nullable<Int32>

Routing weight for vpn connection.

vpnLinkConnectionMode
Nullable<VpnLinkConnectionMode>

Vpn link connection mode.

connectionStatus
Nullable<VpnConnectionStatus>

The connection status.

vpnConnectionProtocolType
Nullable<VirtualNetworkGatewayConnectionProtocol>

Connection protocol used for this connection.

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
IEnumerable<GatewayCustomBgpIPAddressIPConfiguration>

vpnGatewayCustomBgpAddresses used by this connection.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

Enable policy-based traffic selectors.

ipsecPolicies
IEnumerable<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
Nullable<NetworkProvisioningState>

The provisioning state of the VPN site link connection resource.

ingressNatRules
IEnumerable<WritableSubResource>

List of ingress NatRules.

egressNatRules
IEnumerable<WritableSubResource>

List of egress NatRules.

Returns

A new VpnSiteLinkConnectionData instance for mocking.

Applies to