az csvmware vm nic

Manage VMware virtual machine's Network Interface Cards.

Commands

az csvmware vm nic add

Add NIC to a VMware virtual machine.

az csvmware vm nic delete

Delete NICs from a VM.

az csvmware vm nic list

List details of NICs available on a VMware virtual machine.

az csvmware vm nic show

Get the details of a VMware virtual machine's NIC.

az csvmware vm nic add

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

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--virtual-network

ID of the virtual network. You can also pass the basename of the ID.

--vm-name

Name of the virtual machine.

Optional Parameters

--adapter

The adapter for the NIC.

accepted values: E1000, E1000E, PCNET32, VMXNET, VMXNET2, VMXNET3
default value: VMXNET3
--power-on-boot

Will power on the NIC at boot time.

accepted values: false, true

az csvmware vm nic delete

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

--nics

Names of NICs.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--vm-name

Name of the virtual machine.

az csvmware vm nic list

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

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--vm-name

Name of the virtual machine.

az csvmware vm nic show

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 -n

Name of the NIC.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--vm-name

Name of the virtual machine.