Compartilhar via


ArmNetworkModelFactory.VpnConnectionData Método

Definição

Inicializa uma nova instância de VpnConnectionData.

public static Azure.ResourceManager.Network.VpnConnectionData VpnConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier remoteVpnSiteId = default, int? routingWeight = default, int? dpdTimeoutSeconds = 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, 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, bool? enableRateLimiting = default, bool? enableInternetSecurity = default, bool? useLocalAzureIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnSiteLinkConnectionData> vpnLinkConnections = default, Azure.ResourceManager.Network.Models.RoutingConfiguration routingConfiguration = default);
static member VpnConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.VpnConnectionStatus> * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionProtocol> * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Network.Models.IPsecPolicy> * seq<Azure.ResourceManager.Network.Models.TrafficSelectorPolicy> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<Azure.ResourceManager.Network.VpnSiteLinkConnectionData> * Azure.ResourceManager.Network.Models.RoutingConfiguration -> Azure.ResourceManager.Network.VpnConnectionData
Public Shared Function VpnConnectionData (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 remoteVpnSiteId As ResourceIdentifier = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional dpdTimeoutSeconds As Nullable(Of Integer) = 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 usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IEnumerable(Of IPsecPolicy) = Nothing, Optional trafficSelectorPolicies As IEnumerable(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 Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnLinkConnections As IEnumerable(Of VpnSiteLinkConnectionData) = Nothing, Optional routingConfiguration As RoutingConfiguration = Nothing) As VpnConnectionData

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

Uma cadeia de caracteres exclusiva somente leitura que é alterada sempre que o recurso é atualizado.

remoteVpnSiteId
ResourceIdentifier

ID do site vpn conectado.

routingWeight
Nullable<Int32>

Peso de roteamento para conexão VPN.

dpdTimeoutSeconds
Nullable<Int32>

Tempo limite de DPD em segundos para conexão vpn.

connectionStatus
Nullable<VpnConnectionStatus>

A conexão status.

vpnConnectionProtocolType
Nullable<VirtualNetworkGatewayConnectionProtocol>

Protocolo de conexão usado para essa conexão.

ingressBytesTransferred
Nullable<Int64>

Bytes de entrada transferidos.

egressBytesTransferred
Nullable<Int64>

Bytes de saída transferidos.

connectionBandwidth
Nullable<Int32>

Largura de banda esperada no MBPS.

sharedKey
String

SharedKey para a conexão vpn.

enableBgp
Nullable<Boolean>

Sinalizador EnableBgp.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

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.

enableRateLimiting
Nullable<Boolean>

Sinalizador EnableBgp.

enableInternetSecurity
Nullable<Boolean>

Habilitar a segurança da Internet.

useLocalAzureIPAddress
Nullable<Boolean>

Use o ip do azure local para iniciar a conexão.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de conexão VPN.

vpnLinkConnections
IEnumerable<VpnSiteLinkConnectionData>

Lista de todas as conexões de link de site vpn para o gateway.

routingConfiguration
RoutingConfiguration

A Configuração de Roteamento que indica as tabelas de rotas associadas e propagadas nessa conexão.

Retornos

Uma nova VpnConnectionData instância para simulação.

Aplica-se a