ArmNetworkModelFactory.P2SVpnGatewayData 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 P2SVpnGatewayData.
public static Azure.ResourceManager.Network.P2SVpnGatewayData P2SVpnGatewayData (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, Azure.Core.ResourceIdentifier virtualHubId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.P2SConnectionConfiguration> p2sConnectionConfigurations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? vpnGatewayScaleUnit = default, Azure.Core.ResourceIdentifier vpnServerConfigurationId = default, Azure.ResourceManager.Network.Models.VpnClientConnectionHealth vpnClientConnectionHealth = default, System.Collections.Generic.IEnumerable<string> customDnsServers = default, bool? isRoutingPreferenceInternet = default);
static member P2SVpnGatewayData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.P2SConnectionConfiguration> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.VpnClientConnectionHealth * seq<string> * Nullable<bool> -> Azure.ResourceManager.Network.P2SVpnGatewayData
Public Shared Function P2SVpnGatewayData (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 virtualHubId As ResourceIdentifier = Nothing, Optional p2sConnectionConfigurations As IEnumerable(Of P2SConnectionConfiguration) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional vpnServerConfigurationId As ResourceIdentifier = Nothing, Optional vpnClientConnectionHealth As VpnClientConnectionHealth = Nothing, Optional customDnsServers As IEnumerable(Of String) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing) As P2SVpnGatewayData
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.
- virtualHubId
- ResourceIdentifier
O VirtualHub ao qual o gateway pertence.
- p2sConnectionConfigurations
- IEnumerable<P2SConnectionConfiguration>
Lista de todas as configurações de conexão p2s do gateway.
- provisioningState
- Nullable<NetworkProvisioningState>
O estado de provisionamento do recurso de gateway de VPN P2S.
- vpnServerConfigurationId
- ResourceIdentifier
A VpnServerConfiguration à qual o p2sVpnGateway está anexado.
- vpnClientConnectionHealth
- VpnClientConnectionHealth
Todos os clientes VPN P2S status de integridade de conexão.
- customDnsServers
- IEnumerable<String>
Lista de todos os endereços IP de servidores DNS especificados pelo cliente.
Habilite a propriedade Preferência de Roteamento para a Interface ip pública do P2SVpnGateway.
Retornos
Uma nova P2SVpnGatewayData instância para zombar.
Aplica-se a
Azure SDK for .NET