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
                 [--query-examples]
                 [--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

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--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). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--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]
                 [--query-examples]
                 [--resource-group]
                 [--subscription]
                 [--vmss-name]

Optional Parameters

--expand

Expands referenced resources.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--instance-id

The virtual machine index.

--name -n

The network interface (NIC).

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

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