ArmNetworkModelFactory.P2SVpnGatewayData Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia 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
Identificador del recurso.
- name
- String
Nombre del recurso.
- resourceType
- Nullable<ResourceType>
Tipo de recurso.
- location
- Nullable<AzureLocation>
Ubicación del recurso
- tags
- IDictionary<String,String>
Etiquetas del recurso.
- virtualHubId
- ResourceIdentifier
VirtualHub al que pertenece la puerta de enlace.
- p2sConnectionConfigurations
- IEnumerable<P2SConnectionConfiguration>
Lista de todas las configuraciones de conexión p2s de la puerta de enlace.
- provisioningState
- Nullable<NetworkProvisioningState>
Estado de aprovisionamiento del recurso de puerta de enlace de VPN P2S.
- vpnServerConfigurationId
- ResourceIdentifier
VpnServerConfiguration a la que está conectado p2sVpnGateway.
- vpnClientConnectionHealth
- VpnClientConnectionHealth
Estado de mantenimiento de la conexión de todos los clientes VPN P2S.
- customDnsServers
- IEnumerable<String>
Lista de todas las direcciones IP de los servidores DNS especificados por el cliente.
Habilite la propiedad Preferencia de enrutamiento para la interfaz IP pública de P2SVpnGateway.
Devoluciones
P2SVpnGatewayData Nueva instancia para simular.
Se aplica a
Azure SDK for .NET