Compartilhar via


ArmNetworkModelFactory.VirtualNetworkGatewayData Método

Definição

Inicializa uma nova instância de VirtualNetworkGatewayData.

public static Azure.ResourceManager.Network.VirtualNetworkGatewayData VirtualNetworkGatewayData (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.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayAutoScaleBounds autoScaleBounds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayIPConfiguration> ipConfigurations = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewayType? gatewayType = default, Azure.ResourceManager.Network.Models.VpnType? vpnType = default, Azure.ResourceManager.Network.Models.VpnGatewayGeneration? vpnGatewayGeneration = default, bool? enableBgp = default, bool? enablePrivateIPAddress = default, bool? active = default, bool? disableIPSecReplayProtection = default, Azure.Core.ResourceIdentifier gatewayDefaultSiteId = default, Azure.ResourceManager.Network.Models.VirtualNetworkGatewaySku sku = default, Azure.ResourceManager.Network.Models.VpnClientConfiguration vpnClientConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayPolicyGroup> virtualNetworkGatewayPolicyGroups = default, Azure.ResourceManager.Network.Models.BgpSettings bgpSettings = default, System.Collections.Generic.IEnumerable<string> customRoutesAddressPrefixes = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? enableDnsForwarding = default, string inboundDnsForwardingEndpoint = default, Azure.Core.ResourceIdentifier vNetExtendedLocationResourceId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VirtualNetworkGatewayNatRuleData> natRules = default, bool? enableBgpRouteTranslationForNat = default, bool? allowVirtualWanTraffic = default, bool? allowRemoteVnetTraffic = default, Azure.ResourceManager.Network.Models.ExpressRouteGatewayAdminState? adminState = default);
static member VirtualNetworkGatewayData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ETag> * Azure.ResourceManager.Network.Models.VirtualNetworkGatewayAutoScaleBounds * seq<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayIPConfiguration> * Nullable<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayType> * Nullable<Azure.ResourceManager.Network.Models.VpnType> * Nullable<Azure.ResourceManager.Network.Models.VpnGatewayGeneration> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.VirtualNetworkGatewaySku * Azure.ResourceManager.Network.Models.VpnClientConfiguration * seq<Azure.ResourceManager.Network.Models.VirtualNetworkGatewayPolicyGroup> * Azure.ResourceManager.Network.Models.BgpSettings * seq<string> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.VirtualNetworkGatewayNatRuleData> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.ExpressRouteGatewayAdminState> -> Azure.ResourceManager.Network.VirtualNetworkGatewayData
Public Shared Function VirtualNetworkGatewayData (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 extendedLocation As ExtendedLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional autoScaleBounds As VirtualNetworkGatewayAutoScaleBounds = Nothing, Optional ipConfigurations As IEnumerable(Of VirtualNetworkGatewayIPConfiguration) = Nothing, Optional gatewayType As Nullable(Of VirtualNetworkGatewayType) = Nothing, Optional vpnType As Nullable(Of VpnType) = Nothing, Optional vpnGatewayGeneration As Nullable(Of VpnGatewayGeneration) = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional enablePrivateIPAddress As Nullable(Of Boolean) = Nothing, Optional active As Nullable(Of Boolean) = Nothing, Optional disableIPSecReplayProtection As Nullable(Of Boolean) = Nothing, Optional gatewayDefaultSiteId As ResourceIdentifier = Nothing, Optional sku As VirtualNetworkGatewaySku = Nothing, Optional vpnClientConfiguration As VpnClientConfiguration = Nothing, Optional virtualNetworkGatewayPolicyGroups As IEnumerable(Of VirtualNetworkGatewayPolicyGroup) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional customRoutesAddressPrefixes As IEnumerable(Of String) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional enableDnsForwarding As Nullable(Of Boolean) = Nothing, Optional inboundDnsForwardingEndpoint As String = Nothing, Optional vNetExtendedLocationResourceId As ResourceIdentifier = Nothing, Optional natRules As IEnumerable(Of VirtualNetworkGatewayNatRuleData) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional allowVirtualWanTraffic As Nullable(Of Boolean) = Nothing, Optional allowRemoteVnetTraffic As Nullable(Of Boolean) = Nothing, Optional adminState As Nullable(Of ExpressRouteGatewayAdminState) = Nothing) As VirtualNetworkGatewayData

Parâmetros

id
ResourceIdentifier

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.

extendedLocation
ExtendedLocation

O local estendido do tipo gateway de rede virtual local.

etag
Nullable<ETag>

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

autoScaleBounds
VirtualNetworkGatewayAutoScaleBounds

Configuração de dimensionamento automático para gateway de rede virutal.

ipConfigurations
IEnumerable<VirtualNetworkGatewayIPConfiguration>

Configurações de IP para gateway de rede virtual.

gatewayType
Nullable<VirtualNetworkGatewayType>

O tipo desse gateway de rede virtual.

vpnType
Nullable<VpnType>

O tipo desse gateway de rede virtual.

vpnGatewayGeneration
Nullable<VpnGatewayGeneration>

A geração deste VirtualNetworkGateway. Deve ser Nenhum se gatewayType não for VPN.

enableBgp
Nullable<Boolean>

Se BGP está ou não habilitado para este gateway de rede virtual.

enablePrivateIPAddress
Nullable<Boolean>

Se o IP privado precisa ser habilitado nesse gateway para conexões ou não.

active
Nullable<Boolean>

Sinalizador ActiveActive.

disableIPSecReplayProtection
Nullable<Boolean>

sinalizador disableIPSecReplayProtection.

gatewayDefaultSiteId
ResourceIdentifier

A referência ao recurso LocalNetworkGateway que representa o site de rede local com rotas padrão. Atribua Valor nulo em caso de remoção da configuração de site padrão existente.

sku
VirtualNetworkGatewaySku

A referência ao recurso VirtualNetworkGatewaySku que representa o SKU selecionado para o Gateway de rede virtual.

vpnClientConfiguration
VpnClientConfiguration

A referência ao recurso VpnClientConfiguration que representa as configurações de VpnClient P2S.

virtualNetworkGatewayPolicyGroups
IEnumerable<VirtualNetworkGatewayPolicyGroup>

A referência ao recurso VirtualNetworkGatewayPolicyGroup que representa o VirtualNetworkGatewayPolicyGroup disponível para o gateway.

bgpSettings
BgpSettings

Configurações do alto-falante BGP do gateway de rede virtual.

customRoutesAddressPrefixes
IEnumerable<String>

A referência ao recurso de espaço de endereço que representa o espaço de endereço de rotas personalizadas especificado pelo cliente para o gateway de rede virtual e VpnClient.

resourceGuid
Nullable<Guid>

A propriedade GUID do recurso de gateway de rede virtual.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de gateway de rede virtual.

enableDnsForwarding
Nullable<Boolean>

Se o encaminhamento de dns está habilitado ou não.

inboundDnsForwardingEndpoint
String

O endereço IP alocado pelo gateway para o qual as solicitações dns podem ser enviadas.

vNetExtendedLocationResourceId
ResourceIdentifier

ID do recurso de vnet do cliente. VirtualNetworkGateway do tipo gateway local está associado à vnet do cliente.

natRules
IEnumerable<VirtualNetworkGatewayNatRuleData>

NatRules para gateway de rede virtual.

enableBgpRouteTranslationForNat
Nullable<Boolean>

Sinalizador EnableBgpRouteTranslationForNat.

allowVirtualWanTraffic
Nullable<Boolean>

Configura esse gateway para aceitar o tráfego de redes de WAN Virtual remotas.

allowRemoteVnetTraffic
Nullable<Boolean>

Configure esse gateway para aceitar o tráfego de outras Redes Virtuais do Azure. Essa configuração não dá suporte à conectividade com o Azure WAN Virtual.

adminState
Nullable<ExpressRouteGatewayAdminState>

Propriedade para indicar se o Gateway de Rota Expressa atende ao tráfego quando há vários Gateways de Rota Expressa na vnet.

Retornos

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

Aplica-se a