Compartilhar via


VirtualNetworkGateway Construtores

Definição

Sobrecargas

VirtualNetworkGateway()

Inicializa uma nova instância da classe VirtualNetworkGateway.

VirtualNetworkGateway(String, String, String, String, IDictionary<String, String>, IList<VirtualNetworkGatewayIPConfiguration>, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkGatewaySku, VpnClientConfiguration, IList<VirtualNetworkGatewayPolicyGroup>, BgpSettings, AddressSpace, String, String, Nullable<Boolean>, String, String, IList<VirtualNetworkGatewayNatRule>, Nullable<Boolean>, ExtendedLocation, String)

Inicializa uma nova instância da classe VirtualNetworkGateway.

VirtualNetworkGateway()

Inicializa uma nova instância da classe VirtualNetworkGateway.

public VirtualNetworkGateway ();
Public Sub New ()

Aplica-se a

VirtualNetworkGateway(String, String, String, String, IDictionary<String, String>, IList<VirtualNetworkGatewayIPConfiguration>, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkGatewaySku, VpnClientConfiguration, IList<VirtualNetworkGatewayPolicyGroup>, BgpSettings, AddressSpace, String, String, Nullable<Boolean>, String, String, IList<VirtualNetworkGatewayNatRule>, Nullable<Boolean>, ExtendedLocation, String)

Inicializa uma nova instância da classe VirtualNetworkGateway.

public VirtualNetworkGateway (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayIPConfiguration> ipConfigurations = default, string gatewayType = default, string vpnType = default, string vpnGatewayGeneration = default, bool? enableBgp = default, bool? enablePrivateIpAddress = default, bool? activeActive = default, bool? disableIPSecReplayProtection = default, Microsoft.Azure.Management.Network.Models.SubResource gatewayDefaultSite = default, Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewaySku sku = default, Microsoft.Azure.Management.Network.Models.VpnClientConfiguration vpnClientConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayPolicyGroup> virtualNetworkGatewayPolicyGroups = default, Microsoft.Azure.Management.Network.Models.BgpSettings bgpSettings = default, Microsoft.Azure.Management.Network.Models.AddressSpace customRoutes = default, string resourceGuid = default, string provisioningState = default, bool? enableDnsForwarding = default, string inboundDnsForwardingEndpoint = default, string vNetExtendedLocationResourceId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayNatRule> natRules = default, bool? enableBgpRouteTranslationForNat = default, Microsoft.Azure.Management.Network.Models.ExtendedLocation extendedLocation = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VirtualNetworkGateway : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayIPConfiguration> * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewaySku * Microsoft.Azure.Management.Network.Models.VpnClientConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayPolicyGroup> * Microsoft.Azure.Management.Network.Models.BgpSettings * Microsoft.Azure.Management.Network.Models.AddressSpace * string * string * Nullable<bool> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayNatRule> * Nullable<bool> * Microsoft.Azure.Management.Network.Models.ExtendedLocation * string -> Microsoft.Azure.Management.Network.Models.VirtualNetworkGateway
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional ipConfigurations As IList(Of VirtualNetworkGatewayIPConfiguration) = Nothing, Optional gatewayType As String = Nothing, Optional vpnType As String = Nothing, Optional vpnGatewayGeneration As String = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional enablePrivateIpAddress As Nullable(Of Boolean) = Nothing, Optional activeActive As Nullable(Of Boolean) = Nothing, Optional disableIPSecReplayProtection As Nullable(Of Boolean) = Nothing, Optional gatewayDefaultSite As SubResource = Nothing, Optional sku As VirtualNetworkGatewaySku = Nothing, Optional vpnClientConfiguration As VpnClientConfiguration = Nothing, Optional virtualNetworkGatewayPolicyGroups As IList(Of VirtualNetworkGatewayPolicyGroup) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional customRoutes As AddressSpace = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional enableDnsForwarding As Nullable(Of Boolean) = Nothing, Optional inboundDnsForwardingEndpoint As String = Nothing, Optional vNetExtendedLocationResourceId As String = Nothing, Optional natRules As IList(Of VirtualNetworkGatewayNatRule) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional etag As String = Nothing)

Parâmetros

id
String

ID do recurso.

name
String

Nome do recurso.

type
String

Tipo de recurso.

location
String

Local do recurso.

tags
IDictionary<String,String>

Marcas de recurso.

ipConfigurations
IList<VirtualNetworkGatewayIPConfiguration>

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

gatewayType
String

O tipo desse gateway de rede virtual. Os valores possíveis incluem: 'Vpn', 'ExpressRoute', 'LocalGateway'

vpnType
String

O tipo desse gateway de rede virtual. Os valores possíveis incluem: 'PolicyBased', 'RouteBased'

vpnGatewayGeneration
String

A geração deste VirtualNetworkGateway. Deve ser Nenhum se gatewayType não for VPN. Os valores possíveis incluem: 'None', 'Generation1', 'Generation2'

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.

activeActive
Nullable<Boolean>

Sinalizador ActiveActive.

disableIPSecReplayProtection
Nullable<Boolean>

sinalizador disableIPSecReplayProtection.

gatewayDefaultSite
SubResource

A referência ao recurso LocalNetworkGateway que representa o site de rede local com rotas padrão. Atribua valor Nulo no caso de remover a configuração de site padrão existente.

sku
VirtualNetworkGatewaySku

A referência ao recurso VirtualNetworkGatewaySku que representa a SKU selecionada para o gateway de rede virtual.

vpnClientConfiguration
VpnClientConfiguration

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

virtualNetworkGatewayPolicyGroups
IList<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.

customRoutes
AddressSpace

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
String

A propriedade GUID de recurso do recurso de gateway de rede virtual.

provisioningState
String

O estado de provisionamento do recurso de gateway de rede virtual. Os valores possíveis incluem: 'Êxito', 'Atualizando', 'Excluindo', 'Falha'

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
String

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

natRules
IList<VirtualNetworkGatewayNatRule>

NatRules para gateway de rede virtual.

enableBgpRouteTranslationForNat
Nullable<Boolean>

Sinalizador EnableBgpRouteTranslationForNat.

extendedLocation
ExtendedLocation

O local estendido do tipo gateway de rede virtual local.

etag
String

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

Aplica-se a