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
[--subscription]

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. You can configure the default using az configure --defaults vmss=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

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 [--ids]
[--instance-id]
[--resource-group]
[--subscription]
[--vmss-name]

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--vmss-name

Scale set name.

az vmss nic show

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

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

Optional Parameters

--expand

Expands referenced resources.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--vmss-name

Scale set name.