az aks operation

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 operation command. Learn more about extensions.

Commands to manage and view operations on managed Kubernetes cluster.

Commands

Name Description Type Status
az aks operation show

Show the details for a specific operation on managed Kubernetes cluster.

Extension GA
az aks operation show-latest

Show the details for the latest operation on managed Kubernetes cluster.

Extension GA

az aks operation show

Show the details for a specific operation on managed Kubernetes cluster.

az aks operation show --name
                      --operation-id
                      --resource-group
                      [--nodepool-name]

Required Parameters

--name -n

The name of the managed cluster.

--operation-id

The ID of the operation.

--resource-group -g

Name of the resource group.

Optional Parameters

--nodepool-name

The name of the nodepool.

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 operation show-latest

Show the details for the latest operation on managed Kubernetes cluster.

az aks operation show-latest --name
                             --resource-group
                             [--nodepool-name]

Required Parameters

--name -n

The name of the managed cluster.

--resource-group -g

Name of the resource group.

Optional Parameters

--nodepool-name

The name of the nodepool.

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.