你当前正在访问 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.

Constructor

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

Keyword-Only Parameters

Name Description
id
str

Resource id of the Virtual Network.

Default value: None
subnet
str

Subnet within the Virtual Network.

Default value: None

Variables

Name Description
id
str

Resource id of the Virtual Network.

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.