VirtualNetwork interface

Virtual Network resource.

Extends

Properties

addressSpace

The AddressSpace that contains an array of IP address ranges that can be used by subnets.

bgpCommunities

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

ddosProtectionPlan

The DDoS protection plan associated with the virtual network.

dhcpOptions

The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

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. NOTE: This property will not be serialized. It can only be populated by the server.

extendedLocation

The extended location of the virtual network.

flowLogs

A collection of references to flow log resources. NOTE: This property will not be serialized. It can only be populated by the server.

flowTimeoutInMinutes

The FlowTimeout value (in minutes) for the Virtual Network

ipAllocations

Array of IpAllocation which reference this VNET.

privateEndpointVNetPolicies

Private Endpoint VNet Policies.

provisioningState

The provisioning state of the virtual network resource. NOTE: This property will not be serialized. It can only be populated by the server.

resourceGuid

The resourceGuid property of the Virtual Network resource. NOTE: This property will not be serialized. It can only be populated by the server.

subnets

A list of subnets in a Virtual Network.

virtualNetworkPeerings

A list of peerings in a Virtual Network.

Inherited Properties

id

Resource ID.

location

Resource location.

name

Resource name. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags.

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

addressSpace

The AddressSpace that contains an array of IP address ranges that can be used by subnets.

addressSpace?: AddressSpace

Property Value

bgpCommunities

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

bgpCommunities?: VirtualNetworkBgpCommunities

Property Value

ddosProtectionPlan

The DDoS protection plan associated with the virtual network.

ddosProtectionPlan?: SubResource

Property Value

dhcpOptions

The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

dhcpOptions?: DhcpOptions

Property Value

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.

enableDdosProtection?: boolean

Property Value

boolean

enableVmProtection

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

enableVmProtection?: boolean

Property Value

boolean

encryption

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

encryption?: VirtualNetworkEncryption

Property Value

etag

A unique read-only string that changes whenever the resource is updated. NOTE: This property will not be serialized. It can only be populated by the server.

etag?: string

Property Value

string

extendedLocation

The extended location of the virtual network.

extendedLocation?: ExtendedLocation

Property Value

flowLogs

A collection of references to flow log resources. NOTE: This property will not be serialized. It can only be populated by the server.

flowLogs?: FlowLog[]

Property Value

flowTimeoutInMinutes

The FlowTimeout value (in minutes) for the Virtual Network

flowTimeoutInMinutes?: number

Property Value

number

ipAllocations

Array of IpAllocation which reference this VNET.

ipAllocations?: SubResource[]

Property Value

privateEndpointVNetPolicies

Private Endpoint VNet Policies.

privateEndpointVNetPolicies?: string

Property Value

string

provisioningState

The provisioning state of the virtual network resource. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

resourceGuid

The resourceGuid property of the Virtual Network resource. NOTE: This property will not be serialized. It can only be populated by the server.

resourceGuid?: string

Property Value

string

subnets

A list of subnets in a Virtual Network.

subnets?: Subnet[]

Property Value

Subnet[]

virtualNetworkPeerings

A list of peerings in a Virtual Network.

virtualNetworkPeerings?: VirtualNetworkPeering[]

Property Value

Inherited Property Details

id

Resource ID.

id?: string

Property Value

string

Inherited From Resource.id

location

Resource location.

location?: string

Property Value

string

Inherited From Resource.location

name

Resource name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From Resource.name

tags

Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From Resource.tags

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From Resource.type