az csvmware vm nic
Note
This reference is part of the csvmware extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az csvmware vm nic command. Learn more about extensions.
Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage VMware virtual machine's Network Interface Cards.
Commands
Name | Description | Type | Status |
---|---|---|---|
az csvmware vm nic add |
Add NIC to a VMware virtual machine. |
Extension | Preview |
az csvmware vm nic delete |
Delete NICs from a VM. |
Extension | Preview |
az csvmware vm nic list |
List details of NICs available on a VMware virtual machine. |
Extension | Preview |
az csvmware vm nic show |
Get the details of a VMware virtual machine's NIC. |
Extension | Preview |
az csvmware vm nic add
Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add NIC to a VMware virtual machine.
az csvmware vm nic add --resource-group
--virtual-network
--vm-name
[--adapter {E1000, E1000E, PCNET32, VMXNET, VMXNET2, VMXNET3}]
[--power-on-boot {false, true}]
Examples
Add a NIC with default parameters in a VM.
az csvmware vm nic add --vm-name MyVm -g MyResourceGroup --virtual-network MyVirtualNetwork
Add a NIC with E1000E adapter that powers on boot in a VM.
az csvmware vm nic add --vm-name MyVm -g MyResourceGroup --virtual-network MyVirtualNetwork --adapter E1000E --power-on-boot true
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
ID of the virtual network. You can also pass the basename of the ID.
Name of the virtual machine.
Optional Parameters
The adapter for the NIC.
Will power on the NIC at boot time.
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 csvmware vm nic delete
Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete NICs from a VM.
az csvmware vm nic delete --nics
--resource-group
--vm-name
Examples
Delete two NICs from a VM.
az csvmware vm nic delete --vm-name MyVm -g MyResourceGroup --nics "My NIC Name 1" "My NIC Name 2"
Required Parameters
Names of NICs.
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 csvmware vm nic list
Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List details of NICs available on a VMware virtual machine.
az csvmware vm nic list --resource-group
--vm-name
Examples
List details of NICs in a VM.
az csvmware vm nic list --vm-name MyVm -g MyResourceGroup
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 csvmware vm nic show
Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the details of a VMware virtual machine's NIC.
az csvmware vm nic show --name
--resource-group
--vm-name
Examples
Get the details of a NIC in a VM.
az csvmware vm nic show --vm-name MyVm -g MyResourceGroup -n "My NIC Name"
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.