az vmss nic
Manage network interfaces of a VMSS.
Commands
Name | Description | Type | Status |
---|---|---|---|
az vmss nic list |
Get all network interfaces in a virtual machine scale set. |
Core | GA |
az vmss nic list-vm-nics |
Get information about all network interfaces in a virtual machine in a virtual machine scale set. |
Core | GA |
az vmss nic show |
Get the specified network interface in a virtual machine scale set. |
Core | GA |
az vmss nic list
Get all network interfaces in a virtual machine scale set.
This command is Uniform-specific and will not work for Flexible VMSS. If you want to get information about Flexible VMSS, please use "az network nic" command instead.
az vmss nic list --resource-group
--virtual-machine-scale-set-name
[--max-items]
[--next-token]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Scale set name. You can configure the default using az configure --defaults vmss=<name>
.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az vmss nic list-vm-nics
Get information about all network interfaces in a virtual machine in a virtual machine scale set.
This command is Uniform-specific and will not work for Flexible VMSS. If you want to get information about Flexible VMSS, please use "az network nic" command instead.
az vmss nic list-vm-nics --instance-id
--resource-group
--virtual-machine-scale-set-name
[--max-items]
[--next-token]
Required Parameters
The virtual machine index.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Scale set name.
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az vmss nic show
Get the specified network interface in a virtual machine scale set.
This command is Uniform-specific and will not work for Flexible VMSS. If you want to get information about Flexible VMSS, please use "az network nic" command instead.
az vmss nic show [--expand]
[--ids]
[--instance-id]
[--name]
[--resource-group]
[--subscription]
[--virtual-machine-scale-set-name]
Optional Parameters
Expands referenced resources. Default value is None.
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.
The virtual machine index.
The network interface (NIC).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Scale set name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI