ArmNetworkModelFactory.VpnGatewayData 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 VpnGatewayData.
public static Azure.ResourceManager.Network.VpnGatewayData VpnGatewayData (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.VpnConnectionData> connections = default, Azure.ResourceManager.Network.Models.BgpSettings bgpSettings = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? vpnGatewayScaleUnit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnGatewayIPConfiguration> ipConfigurations = default, bool? enableBgpRouteTranslationForNat = default, bool? isRoutingPreferenceInternet = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnGatewayNatRuleData> natRules = default);
static member VpnGatewayData : 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.VpnConnectionData> * Azure.ResourceManager.Network.Models.BgpSettings * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.VpnGatewayIPConfiguration> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Network.VpnGatewayNatRuleData> -> Azure.ResourceManager.Network.VpnGatewayData
Public Shared Function VpnGatewayData (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 connections As IEnumerable(Of VpnConnectionData) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional ipConfigurations As IEnumerable(Of VpnGatewayIPConfiguration) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional natRules As IEnumerable(Of VpnGatewayNatRuleData) = Nothing) As VpnGatewayData
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
El centro virtual al que pertenece la puerta de enlace.
- connections
- IEnumerable<VpnConnectionData>
Lista de todas las conexiones VPN a la puerta de enlace.
- bgpSettings
- BgpSettings
Configuración del altavoz BGP de la puerta de enlace de red local.
- provisioningState
- Nullable<NetworkProvisioningState>
Estado de aprovisionamiento del recurso de VPN Gateway.
- ipConfigurations
- IEnumerable<VpnGatewayIPConfiguration>
Lista de todas las direcciones IP configuradas en la puerta de enlace.
Habilite la traducción de rutas BGP para NAT en este VpnGateway.
Habilite la propiedad Preferencia de enrutamiento para la interfaz IP pública de VpnGateway.
- natRules
- IEnumerable<VpnGatewayNatRuleData>
Lista de todas las reglas nat asociadas a la puerta de enlace.
Devoluciones
VpnGatewayData Nueva instancia de para simular.
Se aplica a
Azure SDK for .NET