az aks machine

Note

This reference is part of the aks-preview extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az aks machine command. Learn more about extensions.

Get information about machines in a nodepool of a managed clusters.

Commands

Name Description Type Status
az aks machine list

Get information about IP Addresses, Hostname for all machines in an agentpool.

Extension GA
az aks machine show

Show IP Addresses, Hostname for a specific machine in an agentpool for a managedcluster.

Extension GA

az aks machine list

Get information about IP Addresses, Hostname for all machines in an agentpool.

az aks machine list --cluster-name
                    --nodepool-name
                    --resource-group

Required Parameters

--cluster-name

Name of the managed cluster.

--nodepool-name

Name of the agentpool of a managed cluster.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az aks machine show

Show IP Addresses, Hostname for a specific machine in an agentpool for a managedcluster.

az aks machine show --cluster-name
                    --machine-name
                    --nodepool-name
                    --resource-group

Required Parameters

--cluster-name

Name of the managed cluster.

--machine-name

Get IP Addresses, Hostname for a specific machine in an agentpool.

--nodepool-name

Name of the agentpool of a managed cluster.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.