Udostępnij za pośrednictwem


ArmNetworkModelFactory.VirtualNetworkGatewayConnectionData Method

Definition

Initializes a new instance of VirtualNetworkGatewayConnectionData.

public static Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionData VirtualNetworkGatewayConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, string authorizationKey = default, Azure.ResourceManager.Network.VirtualNetworkGatewayData virtualNetworkGateway1 = default, Azure.ResourceManager.Network.VirtualNetworkGatewayData virtualNetworkGateway2 = default, Azure.ResourceManager.Network.LocalNetworkGatewayData localNetworkGateway2 = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ingressNatRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> egressNatRules = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionType connectionType = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionProtocol? connectionProtocol = default, int? routingWeight = default, int? dpdTimeoutSeconds = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionMode? connectionMode = default, string sharedKey = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionStatus? connectionStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.TunnelConnectionHealth> tunnelConnectionStatus = default, long? egressBytesTransferred = default, long? ingressBytesTransferred = default, Azure.Core.ResourceIdentifier peerId = default, bool? enableBgp = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.GatewayCustomBgpIPAddressIPConfiguration> gatewayCustomBgpIPAddresses = default, bool? useLocalAzureIPAddress = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.IPsecPolicy> ipsecPolicies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.TrafficSelectorPolicy> trafficSelectorPolicies = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? expressRouteGatewayBypass = default, bool? enablePrivateLinkFastPath = default);
static member VirtualNetworkGatewayConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * string * Azure.ResourceManager.Network.VirtualNetworkGatewayData * Azure.ResourceManager.Network.VirtualNetworkGatewayData * Azure.ResourceManager.Network.LocalNetworkGatewayData * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionType * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionProtocol> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionMode> * string * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionStatus> * seq<Azure.ResourceManager.Network.Models.TunnelConnectionHealth> * Nullable<int64> * Nullable<int64> * Azure.Core.ResourceIdentifier * Nullable<bool> * seq<Azure.ResourceManager.Network.Models.GatewayCustomBgpIPAddressIPConfiguration> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Network.Models.IPsecPolicy> * seq<Azure.ResourceManager.Network.Models.TrafficSelectorPolicy> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Network.VirtualNetworkGatewayConnectionData
Public Shared Function VirtualNetworkGatewayConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional authorizationKey As String = Nothing, Optional virtualNetworkGateway1 As VirtualNetworkGatewayData = Nothing, Optional virtualNetworkGateway2 As VirtualNetworkGatewayData = Nothing, Optional localNetworkGateway2 As LocalNetworkGatewayData = Nothing, Optional ingressNatRules As IEnumerable(Of WritableSubResource) = Nothing, Optional egressNatRules As IEnumerable(Of WritableSubResource) = Nothing, Optional connectionType As VirtualNetworkGatewayConnectionType = Nothing, Optional connectionProtocol As Nullable(Of VirtualNetworkGatewayConnectionProtocol) = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional dpdTimeoutSeconds As Nullable(Of Integer) = Nothing, Optional connectionMode As Nullable(Of VirtualNetworkGatewayConnectionMode) = Nothing, Optional sharedKey As String = Nothing, Optional connectionStatus As Nullable(Of VirtualNetworkGatewayConnectionStatus) = Nothing, Optional tunnelConnectionStatus As IEnumerable(Of TunnelConnectionHealth) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional peerId As ResourceIdentifier = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional gatewayCustomBgpIPAddresses As IEnumerable(Of GatewayCustomBgpIPAddressIPConfiguration) = Nothing, Optional useLocalAzureIPAddress As Nullable(Of Boolean) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IEnumerable(Of IPsecPolicy) = Nothing, Optional trafficSelectorPolicies As IEnumerable(Of TrafficSelectorPolicy) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional expressRouteGatewayBypass As Nullable(Of Boolean) = Nothing, Optional enablePrivateLinkFastPath As Nullable(Of Boolean) = Nothing) As VirtualNetworkGatewayConnectionData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

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

authorizationKey
String

The authorizationKey.

virtualNetworkGateway1
VirtualNetworkGatewayData

The reference to virtual network gateway resource.

virtualNetworkGateway2
VirtualNetworkGatewayData

The reference to virtual network gateway resource.

localNetworkGateway2
LocalNetworkGatewayData

The reference to local network gateway resource.

ingressNatRules
IEnumerable<WritableSubResource>

List of ingress NatRules.

egressNatRules
IEnumerable<WritableSubResource>

List of egress NatRules.

connectionType
VirtualNetworkGatewayConnectionType

Gateway connection type.

connectionProtocol
Nullable<VirtualNetworkGatewayConnectionProtocol>

Connection protocol used for this connection.

routingWeight
Nullable<Int32>

The routing weight.

dpdTimeoutSeconds
Nullable<Int32>

The dead peer detection timeout of this connection in seconds.

connectionMode
Nullable<VirtualNetworkGatewayConnectionMode>

The connection mode for this connection.

sharedKey
String

The IPSec shared key.

connectionStatus
Nullable<VirtualNetworkGatewayConnectionStatus>

Virtual Network Gateway connection status.

tunnelConnectionStatus
IEnumerable<TunnelConnectionHealth>

Collection of all tunnels' connection health status.

egressBytesTransferred
Nullable<Int64>

The egress bytes transferred in this connection.

ingressBytesTransferred
Nullable<Int64>

The ingress bytes transferred in this connection.

peerId
ResourceIdentifier

The reference to peerings resource.

enableBgp
Nullable<Boolean>

EnableBgp flag.

gatewayCustomBgpIPAddresses
IEnumerable<GatewayCustomBgpIPAddressIPConfiguration>

GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.

useLocalAzureIPAddress
Nullable<Boolean>

Use private local Azure IP for the connection.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

Enable policy-based traffic selectors.

ipsecPolicies
IEnumerable<IPsecPolicy>

The IPSec Policies to be considered by this connection.

trafficSelectorPolicies
IEnumerable<TrafficSelectorPolicy>

The Traffic Selector Policies to be considered by this connection.

resourceGuid
Nullable<Guid>

The resource GUID property of the virtual network gateway connection resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the virtual network gateway connection resource.

expressRouteGatewayBypass
Nullable<Boolean>

Bypass ExpressRoute Gateway for data forwarding.

enablePrivateLinkFastPath
Nullable<Boolean>

Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.

Returns

A new VirtualNetworkGatewayConnectionData instance for mocking.

Applies to