az connectedvmware vm nic
Note
This reference is part of the connectedvmware extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az connectedvmware vm nic command. Learn more about extensions.
Vm nic.
Commands
Name | Description | Type | Status |
---|---|---|---|
az connectedvmware vm nic add |
Add virtual nic to a virtual machine. |
Extension | GA |
az connectedvmware vm nic delete |
Delete virtual nic to a virtual machine. |
Extension | GA |
az connectedvmware vm nic list |
Retrieve a list of vm nic from given resource group name and vm name. |
Extension | GA |
az connectedvmware vm nic show |
Get details of a vm nic by it's name, resource-group and vm name. |
Extension | GA |
az connectedvmware vm nic update |
Update virtual network interface of a virtual machine. |
Extension | GA |
az connectedvmware vm nic add
Add virtual nic to a virtual machine.
az connectedvmware vm nic add --name
--network
--resource-group
--vm-name
[--nic-type]
[--no-wait]
[--power-on-boot]
Examples
Add virtual nic to a virtual machine
az connectedvmware vm nic add --name "Name of the NIC" --network "Network Name or Id" --resource-group "resource group name" --vm-name "Name of the virtual machine"
Required Parameters
Name of the NIC.
Name or Id of the virtual network.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
Optional Parameters
The nic type for the NIC.
Do not wait for the long-running operation to finish.
The power on boot option for the nic.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az connectedvmware vm nic delete
Delete virtual nic to a virtual machine.
az connectedvmware vm nic delete --nics
--resource-group
--vm-name
[--no-wait]
[--yes]
Examples
Delete virtual nic to a virtual machine
az connectedvmware vm nic delete --nics "Names of the NICs" --resource-group "resource group name" --vm-name "Name of the virtual machine"
Required Parameters
Names of the NICs.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az connectedvmware vm nic list
Retrieve a list of vm nic from given resource group name and vm name.
az connectedvmware vm nic list --resource-group
--vm-name
Examples
Retrieve a list of vm nic
az connectedvmware vm nic list --resource-group "resource group name" --vm-name "Name of the virtual machine"
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az connectedvmware vm nic show
Get details of a vm nic by it's name, resource-group and vm name.
az connectedvmware vm nic show --name
--resource-group
--vm-name
Examples
Get details of vm nic
az connectedvmware vm nic show --name "Name of the NIC" --resource-group "resource group name" --vm-name "Name of the virtual machine"
Required Parameters
Name of the NIC.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az connectedvmware vm nic update
Update virtual network interface of a virtual machine.
az connectedvmware vm nic update --resource-group
--vm-name
[--device-key]
[--name]
[--network]
[--no-wait]
[--power-on-boot]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual machine.
Optional Parameters
The device key for the nic.
Name of the NIC.
Name or Id of the virtual network.
Do not wait for the long-running operation to finish.
The power on boot option for the nic.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI