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

VirtualNetworkProfile Class

Specification for using a Virtual Network.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.web._serialization.Model
VirtualNetworkProfile

Constructor

VirtualNetworkProfile(*, id: str, subnet: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource id of the Virtual Network. Required.

subnet
str

Subnet within the Virtual Network.

Variables

Name Description
id
str

Resource id of the Virtual Network. Required.

name
str

Name of the Virtual Network (read-only).

type
str

Resource type of the Virtual Network (read-only).

subnet
str

Subnet within the Virtual Network.