NetworkInterfaceReference Class
Describes a network interface reference.
- Inheritance
-
azure.mgmt.compute.v2022_08_01.models._models_py3.SubResourceNetworkInterfaceReference
Constructor
NetworkInterfaceReference(*, id: str | None = None, primary: bool | None = None, delete_option: str | _models.DeleteOptions | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource Id. |
primary
|
Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
delete_option
|
str or
DeleteOptions
Specify what happens to the network interface when the VM is deleted. Known values are: "Delete" and "Detach". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
primary
|
Specifies the primary network interface in case the virtual machine has more than 1 network interface. |
delete_option
|
str or
DeleteOptions
Specify what happens to the network interface when the VM is deleted. Known values are: "Delete" and "Detach". |
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python