Compartilhar via


ArmNetworkModelFactory.HubVirtualNetworkConnectionData Método

Definição

Inicializa uma nova instância de HubVirtualNetworkConnectionData.

public static Azure.ResourceManager.Network.HubVirtualNetworkConnectionData HubVirtualNetworkConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier remoteVirtualNetworkId = default, bool? allowHubToRemoteVnetTransit = default, bool? allowRemoteVnetToUseHubVnetGateways = default, bool? enableInternetSecurity = default, Azure.ResourceManager.Network.Models.RoutingConfiguration routingConfiguration = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member HubVirtualNetworkConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Network.Models.RoutingConfiguration * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.HubVirtualNetworkConnectionData
Public Shared Function HubVirtualNetworkConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional remoteVirtualNetworkId As ResourceIdentifier = Nothing, Optional allowHubToRemoteVnetTransit As Nullable(Of Boolean) = Nothing, Optional allowRemoteVnetToUseHubVnetGateways As Nullable(Of Boolean) = Nothing, Optional enableInternetSecurity As Nullable(Of Boolean) = Nothing, Optional routingConfiguration As RoutingConfiguration = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As HubVirtualNetworkConnectionData

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

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

remoteVirtualNetworkId
ResourceIdentifier

Referência à rede virtual remota.

allowHubToRemoteVnetTransit
Nullable<Boolean>

Preterido: trânsito do VirtualHub para RemoteVnet para habilitado ou não.

allowRemoteVnetToUseHubVnetGateways
Nullable<Boolean>

Preterido: permitir que o RemoteVnet use os gateways do Hub Virtual.

enableInternetSecurity
Nullable<Boolean>

Habilitar a segurança da Internet.

routingConfiguration
RoutingConfiguration

A Configuração de Roteamento que indica as tabelas de rotas associadas e propagadas nessa conexão.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de conexão de rede virtual do hub.

Retornos

Uma nova HubVirtualNetworkConnectionData instância para zombar.

Aplica-se a