Compartilhar via


ArmNetworkModelFactory.VirtualRouterData Método

Definição

Inicializa uma nova instância de VirtualRouterData.

public static Azure.ResourceManager.Network.VirtualRouterData VirtualRouterData (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, long? virtualRouterAsn = default, System.Collections.Generic.IEnumerable<string> virtualRouterIPs = default, Azure.Core.ResourceIdentifier hostedSubnetId = default, Azure.Core.ResourceIdentifier hostedGatewayId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> peerings = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member VirtualRouterData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Nullable<int64> * seq<string> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.VirtualRouterData
Public Shared Function VirtualRouterData (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 virtualRouterAsn As Nullable(Of Long) = Nothing, Optional virtualRouterIPs As IEnumerable(Of String) = Nothing, Optional hostedSubnetId As ResourceIdentifier = Nothing, Optional hostedGatewayId As ResourceIdentifier = Nothing, Optional peerings As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As VirtualRouterData

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.

etag
Nullable<ETag>

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

virtualRouterAsn
Nullable<Int64>

VirtualRouter ASN.

virtualRouterIPs
IEnumerable<String>

IPs do VirtualRouter.

hostedSubnetId
ResourceIdentifier

A sub-rede na qual o VirtualRouter está hospedado.

hostedGatewayId
ResourceIdentifier

O Gateway no qual o VirtualRouter está hospedado.

peerings
IEnumerable<WritableSubResource>

Lista de referências a VirtualRouterPeerings.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso.

Retornos

Uma nova VirtualRouterData instância para zombar.

Aplica-se a