Compartir a través de


ArmNetworkModelFactory.P2SVpnGatewayData Método

Definición

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

id
ResourceIdentifier

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.

etag
Nullable<ETag>

Cadena de solo lectura única que cambia cada vez que se actualiza el 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.

vpnGatewayScaleUnit
Nullable<Int32>

La unidad de escalado de esta 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.

isRoutingPreferenceInternet
Nullable<Boolean>

Habilite la propiedad Preferencia de enrutamiento para la interfaz IP pública de P2SVpnGateway.

Devoluciones

P2SVpnGatewayData Nueva instancia para simular.

Se aplica a