Share via


VirtualNetworkData Class

Definition

A class representing the VirtualNetwork data model. Virtual Network resource.

public class VirtualNetworkData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.VirtualNetworkData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.VirtualNetworkData>
public class VirtualNetworkData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData
type VirtualNetworkData = class
    inherit NetworkTrackedResourceData
    interface IJsonModel<VirtualNetworkData>
    interface IPersistableModel<VirtualNetworkData>
type VirtualNetworkData = class
    inherit NetworkTrackedResourceData
Public Class VirtualNetworkData
Inherits NetworkTrackedResourceData
Implements IJsonModel(Of VirtualNetworkData), IPersistableModel(Of VirtualNetworkData)
Public Class VirtualNetworkData
Inherits NetworkTrackedResourceData
Inheritance
VirtualNetworkData
Implements

Constructors

VirtualNetworkData()

Initializes a new instance of VirtualNetworkData.

Properties

AddressPrefixes

A list of address blocks reserved for this virtual network in CIDR notation.

BgpCommunities

Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.

DdosProtectionPlanId

Gets or sets Id.

DhcpOptionsDnsServers

The list of DNS servers IP addresses.

EnableDdosProtection

Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.

EnableVmProtection

Indicates if VM protection is enabled for all the subnets in the virtual network.

Encryption

Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.

ETag

A unique read-only string that changes whenever the resource is updated.

ExtendedLocation

The extended location of the virtual network.

FlowLogs

A collection of references to flow log resources.

FlowTimeoutInMinutes

The FlowTimeout value (in minutes) for the Virtual Network.

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
IPAllocations

Array of IpAllocation which reference this VNET.

Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
PrivateEndpointVnetPolicy

Private Endpoint VNet Policies.

ProvisioningState

The provisioning state of the virtual network resource.

ResourceGuid

The resourceGuid property of the Virtual Network resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
Subnets

A list of subnets in a Virtual Network.

Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
VirtualNetworkPeerings

A list of peerings in a Virtual Network.

Explicit Interface Implementations

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkTrackedResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IJsonModel<VirtualNetworkData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualNetworkData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<VirtualNetworkData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualNetworkData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to