az vmss nic

Manage network interfaces of a VMSS.

Commands

az vmss nic list Gets all network interfaces in a virtual machine scale set.
az vmss nic list-vm-nics Gets information about all network interfaces in a virtual machine in a virtual machine scale set.
az vmss nic show Get the specified network interface in a virtual machine scale set.

az vmss nic list

Gets all network interfaces in a virtual machine scale set.

az vmss nic list --resource-group
--vmss-name

Required Parameters

--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
--vmss-name
Scale set name.

az vmss nic list-vm-nics

Gets information about all network interfaces in a virtual machine in a virtual machine scale set.

az vmss nic list-vm-nics --instance-id
--resource-group
--vmss-name

Required Parameters

--instance-id
The virtual machine index.
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
--vmss-name
Scale set name.

az vmss nic show

Get the specified network interface in a virtual machine scale set.

az vmss nic show --instance-id
--name
--resource-group
--vmss-name
[--expand]

Required Parameters

--instance-id
The virtual machine index.
--name -n
The network interface (NIC).
--resource-group -g
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
--vmss-name
Scale set name.

Optional Parameters

--expand
Expands referenced resources.