Compartilhar via


ArmNetworkModelFactory.VirtualNetworkData Método

Definição

Inicializa uma nova instância de VirtualNetworkData.

public static Azure.ResourceManager.Network.VirtualNetworkData VirtualNetworkData (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, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, System.Collections.Generic.IEnumerable<string> dhcpOptionsDnsServers = default, int? flowTimeoutInMinutes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SubnetData> subnets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VirtualNetworkPeeringData> virtualNetworkPeerings = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? enableDdosProtection = default, bool? enableVmProtection = default, Azure.Core.ResourceIdentifier ddosProtectionPlanId = default, Azure.ResourceManager.Network.Models.VirtualNetworkBgpCommunities bgpCommunities = default, Azure.ResourceManager.Network.Models.VirtualNetworkEncryption encryption = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ipAllocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.FlowLogData> flowLogs = default);
static member VirtualNetworkData : 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> * seq<string> * seq<string> * Nullable<int> * seq<Azure.ResourceManager.Network.SubnetData> * seq<Azure.ResourceManager.Network.VirtualNetworkPeeringData> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> * Nullable<bool> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.VirtualNetworkBgpCommunities * Azure.ResourceManager.Network.Models.VirtualNetworkEncryption * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Network.FlowLogData> -> Azure.ResourceManager.Network.VirtualNetworkData
Public Shared Function VirtualNetworkData (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 addressPrefixes As IEnumerable(Of String) = Nothing, Optional dhcpOptionsDnsServers As IEnumerable(Of String) = Nothing, Optional flowTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional subnets As IEnumerable(Of SubnetData) = Nothing, Optional virtualNetworkPeerings As IEnumerable(Of VirtualNetworkPeeringData) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional enableDdosProtection As Nullable(Of Boolean) = Nothing, Optional enableVmProtection As Nullable(Of Boolean) = Nothing, Optional ddosProtectionPlanId As ResourceIdentifier = Nothing, Optional bgpCommunities As VirtualNetworkBgpCommunities = Nothing, Optional encryption As VirtualNetworkEncryption = Nothing, Optional ipAllocations As IEnumerable(Of WritableSubResource) = Nothing, Optional flowLogs As IEnumerable(Of FlowLogData) = Nothing) As VirtualNetworkData

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 da rede virtual.

etag
Nullable<ETag>

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

addressPrefixes
IEnumerable<String>

O AddressSpace que contém uma matriz de intervalos de endereços IP que podem ser usados por sub-redes.

dhcpOptionsDnsServers
IEnumerable<String>

O dhcpOptions que contém uma matriz de servidores DNS disponíveis para VMs implantadas na rede virtual.

flowTimeoutInMinutes
Nullable<Int32>

O valor de FlowTimeout (em minutos) para o Rede Virtual.

subnets
IEnumerable<SubnetData>

Uma lista de sub-redes em um Rede Virtual.

virtualNetworkPeerings
IEnumerable<VirtualNetworkPeeringData>

Uma lista de emparelhamentos em um Rede Virtual.

resourceGuid
Nullable<Guid>

A propriedade resourceGuid do recurso Rede Virtual.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de rede virtual.

enableDdosProtection
Nullable<Boolean>

Indica se a proteção contra DDoS está habilitada para todos os recursos protegidos na rede virtual. Ele requer um plano de proteção contra DDoS associado ao recurso.

enableVmProtection
Nullable<Boolean>

Indica se a proteção de VM está habilitada para todas as sub-redes na rede virtual.

ddosProtectionPlanId
ResourceIdentifier

O plano de proteção contra DDoS associado à rede virtual.

bgpCommunities
VirtualNetworkBgpCommunities

Comunidades Bgp enviadas pelo ExpressRoute com cada rota correspondente a um prefixo nesta VNET.

encryption
VirtualNetworkEncryption

Indica se a criptografia está habilitada na rede virtual e se a VM sem criptografia é permitida na VNet criptografada.

ipAllocations
IEnumerable<WritableSubResource>

Matriz de IpAllocation que faz referência a essa VNET.

flowLogs
IEnumerable<FlowLogData>

Uma coleção de referências aos recursos de log de fluxo.

Retornos

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

Aplica-se a