VMSS network interfaces - az vmss nic

Manage the network interfaces associated with a virtual machine scale set.

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=.

--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=.

--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=.

--vmss-name

Scale set name.

Optional Parameters

--expand

Expands referenced resources.