你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualNetwork interface

Virtual Network resource.

Extends

Properties

addressSpace

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

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.

etag

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

provisioningState

The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

resourceGuid

The resourceGuid property of the Virtual Network resource.

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

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

etag

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

etag?: string

Property Value

string

provisioningState

The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

provisioningState?: string

Property Value

string

resourceGuid

The resourceGuid property of the Virtual Network resource.

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