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

NetworkInterfaceReferenceProperties Class

Describes a network interface reference properties.

Constructor

NetworkInterfaceReferenceProperties(*args: Any, **kwargs: Any)

Variables

Name Description
primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

delete_option

Specify what happens to the network interface when the VM is deleted. Known values are: "Delete" and "Detach".

Attributes

delete_option

Specify what happens to the network interface when the VM is deleted. Known values are: "Delete" and "Detach".

delete_option: str | _models.DeleteOptions | None

primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

primary: bool | None