Share via


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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--nodepool-name

The name of the nodepool.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--nodepool-name

The name of the nodepool.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False