ArmNetworkModelFactory.VirtualNetworkGatewayConnectionData Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de 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
Parâmetros
ID do recurso.
- name
- String
Nome do recurso.
- resourceType
- Nullable<ResourceType>
Tipo de recurso.
- location
- Nullable<AzureLocation>
Local do recurso.
- tags
- IDictionary<String,String>
Marcas de recurso.
Uma cadeia de caracteres somente leitura exclusiva que é alterada sempre que o recurso é atualizado.
- authorizationKey
- String
A authorizationKey.
- virtualNetworkGateway1
- VirtualNetworkGatewayData
A referência ao recurso de gateway de rede virtual.
- virtualNetworkGateway2
- VirtualNetworkGatewayData
A referência ao recurso de gateway de rede virtual.
- localNetworkGateway2
- LocalNetworkGatewayData
A referência ao recurso de gateway de rede local.
- ingressNatRules
- IEnumerable<WritableSubResource>
Lista de NatRules de entrada.
- egressNatRules
- IEnumerable<WritableSubResource>
Lista de NatRules de saída.
- connectionType
- VirtualNetworkGatewayConnectionType
Tipo de conexão de gateway.
- connectionProtocol
- Nullable<VirtualNetworkGatewayConnectionProtocol>
Protocolo de conexão usado para essa conexão.
O tempo limite de detecção de par morto dessa conexão em segundos.
- connectionMode
- Nullable<VirtualNetworkGatewayConnectionMode>
O modo de conexão para essa conexão.
- sharedKey
- String
A chave compartilhada IPSec.
- connectionStatus
- Nullable<VirtualNetworkGatewayConnectionStatus>
Rede Virtual status de conexão do Gateway.
- tunnelConnectionStatus
- IEnumerable<TunnelConnectionHealth>
Coleção de status de integridade de conexão de todos os túneis.
- peerId
- ResourceIdentifier
A referência ao recurso de emparelhamentos.
- gatewayCustomBgpIPAddresses
- IEnumerable<GatewayCustomBgpIPAddressIPConfiguration>
GatewayCustomBgpIpAddresses a ser usado para conexão de gateway de rede virtual.
Habilitar seletores de tráfego baseados em política.
- ipsecPolicies
- IEnumerable<IPsecPolicy>
As Políticas IPSec a serem consideradas por essa conexão.
- trafficSelectorPolicies
- IEnumerable<TrafficSelectorPolicy>
As Políticas do Seletor de Tráfego a serem consideradas por essa conexão.
A propriedade GUID de recurso do recurso de conexão de gateway de rede virtual.
- provisioningState
- Nullable<NetworkProvisioningState>
O estado de provisionamento do recurso de conexão de gateway de rede virtual.
Ignorar o Gateway do ExpressRoute para encaminhamento de dados.
Ignore o gateway do ExpressRoute ao acessar links privados. O ExpressRoute FastPath (expressRouteGatewayBypass) deve estar habilitado.
Retornos
Uma nova VirtualNetworkGatewayConnectionData instância para zombar.
Aplica-se a
Azure SDK for .NET