Compartir a través de


ArmNetworkModelFactory.VirtualNetworkData Método

Definición

Inicializa una nueva instancia 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

Identificador del recurso.

name
String

Nombre del recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

location
Nullable<AzureLocation>

Ubicación del recurso

tags
IDictionary<String,String>

Etiquetas del recurso.

extendedLocation
ExtendedLocation

Ubicación extendida de la red virtual.

etag
Nullable<ETag>

Cadena de solo lectura única que cambia cada vez que se actualiza el recurso.

addressPrefixes
IEnumerable<String>

Espacio de direcciones que contiene una matriz de intervalos de direcciones IP que pueden usar las subredes.

dhcpOptionsDnsServers
IEnumerable<String>

DhcpOptions que contiene una matriz de servidores DNS disponibles para las máquinas virtuales implementadas en la red virtual.

flowTimeoutInMinutes
Nullable<Int32>

Valor flowTimeout (en minutos) del Virtual Network.

subnets
IEnumerable<SubnetData>

Lista de subredes de un Virtual Network.

virtualNetworkPeerings
IEnumerable<VirtualNetworkPeeringData>

Lista de emparejamientos en un Virtual Network.

resourceGuid
Nullable<Guid>

La propiedad resourceGuid del recurso Virtual Network.

provisioningState
Nullable<NetworkProvisioningState>

Estado de aprovisionamiento del recurso de red virtual.

enableDdosProtection
Nullable<Boolean>

Indica si la protección contra DDoS está habilitada para todos los recursos protegidos de la red virtual. Requiere un plan de protección contra DDoS asociado al recurso.

enableVmProtection
Nullable<Boolean>

Indica si la protección de máquina virtual está habilitada para todas las subredes de la red virtual.

ddosProtectionPlanId
ResourceIdentifier

Plan de protección contra DDoS asociado a la red virtual.

bgpCommunities
VirtualNetworkBgpCommunities

Comunidades Bgp enviadas a través de ExpressRoute con cada ruta correspondiente a un prefijo en esta red virtual.

encryption
VirtualNetworkEncryption

Indica si el cifrado está habilitado en la red virtual y si se permite la máquina virtual sin cifrado en la red virtual cifrada.

ipAllocations
IEnumerable<WritableSubResource>

Matriz de IpAllocation que hace referencia a esta red virtual.

flowLogs
IEnumerable<FlowLogData>

Colección de referencias a los recursos de registro de flujo.

Devoluciones

VirtualNetworkData Nueva instancia de para simular.

Se aplica a