Del via


az hdinsight-on-aks cluster

Note

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

This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Cluster operations.

Commands

Name Description Type Status
az hdinsight-on-aks cluster create

Create a cluster.

Extension Preview
az hdinsight-on-aks cluster delete

Delete a cluster.

Extension Preview
az hdinsight-on-aks cluster instance-view

Gets the status of a cluster instances.

Extension Preview
az hdinsight-on-aks cluster instance-view list

List the lists of instance views.

Extension Preview
az hdinsight-on-aks cluster instance-view show

Get the status of a cluster instance.

Extension Preview
az hdinsight-on-aks cluster job

Cluster job operations.

Extension Preview
az hdinsight-on-aks cluster job list

List jobs of HDInsight on AKS cluster.

Extension Preview
az hdinsight-on-aks cluster job run

Operations on jobs of HDInsight on AKS cluster.

Extension Preview
az hdinsight-on-aks cluster list

List the HDInsight cluster pools under a resource group.

Extension Preview
az hdinsight-on-aks cluster list-service-config

List the config dump of all services running in cluster.

Extension Preview
az hdinsight-on-aks cluster node-profile

Manage compute node profile.

Extension Preview
az hdinsight-on-aks cluster node-profile create

Create a node profile with SKU and worker count.

Extension Preview
az hdinsight-on-aks cluster resize

Resize an existing Cluster.

Extension Preview
az hdinsight-on-aks cluster secret

Manage secret reference.

Extension Preview
az hdinsight-on-aks cluster secret create

Create a reference to provide a secret to store the password for accessing the database.

Extension Preview
az hdinsight-on-aks cluster show

Get a HDInsight cluster.

Extension Preview
az hdinsight-on-aks cluster trino-hive-catalog

Manage hive catalog config.

Extension Preview
az hdinsight-on-aks cluster trino-hive-catalog create

Create a hive catalog configured as a Trino cluster.

Extension Preview
az hdinsight-on-aks cluster update

Update a cluster.

Extension Preview
az hdinsight-on-aks cluster upgrade

Upgrade cluster.

Extension Preview
az hdinsight-on-aks cluster upgrade list

List a cluster available upgrades.

Extension Preview
az hdinsight-on-aks cluster upgrade run

Upgrade a cluster.

Extension Preview
az hdinsight-on-aks cluster wait

Place the CLI in a waiting state until a condition is met.

Extension Preview

az hdinsight-on-aks cluster create

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create a cluster.

az hdinsight-on-aks cluster create --cluster-name
                                   --cluster-pool-name
                                   --resource-group
                                   [--application-log-std-error-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--application-log-std-out-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--assigned-identity-client-id]
                                   [--assigned-identity-id]
                                   [--assigned-identity-object-id]
                                   [--authorization-group-id]
                                   [--authorization-user-id]
                                   [--autoscale-profile-graceful-decommission-timeout]
                                   [--autoscale-profile-type {LoadBased, ScheduleBased}]
                                   [--cluster-type]
                                   [--cluster-version]
                                   [--cooldown-period]
                                   [--coord-debug-port]
                                   [--coord-debug-suspend {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--coordinator-debug-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--coordinator-high-availability-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--db-connection-authentication-mode {IdentityAuth, SqlAuth}]
                                   [--deployment-mode {Application, Session}]
                                   [--enable-autoscale {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-la-metrics {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-log-analytics {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-prometheu {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-worker-debug {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--flink-db-auth-mode {IdentityAuth, SqlAuth}]
                                   [--flink-hive-catalog-db-connection-password-secret]
                                   [--flink-hive-catalog-db-connection-url]
                                   [--flink-hive-catalog-db-connection-user-name]
                                   [--flink-storage-key]
                                   [--flink-storage-uri]
                                   [--history-server-cpu]
                                   [--history-server-memory]
                                   [--internal-ingress {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--job-manager-cpu]
                                   [--job-manager-memory]
                                   [--job-spec]
                                   [--kafka-profile]
                                   [--key-vault-id]
                                   [--llap-profile]
                                   [--loadbased-config-max-nodes]
                                   [--loadbased-config-min-nodes]
                                   [--loadbased-config-poll-interval]
                                   [--loadbased-config-scaling-rules]
                                   [--location]
                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--nodes]
                                   [--num-replicas]
                                   [--oss-version]
                                   [--ranger-plugin-profile]
                                   [--ranger-profile]
                                   [--schedule-based-config-default-count]
                                   [--schedule-based-config-schedule]
                                   [--schedule-based-config-time-zone]
                                   [--script-action-profiles]
                                   [--secret-reference]
                                   [--service-configs]
                                   [--spark-hive-catalog-db-name]
                                   [--spark-hive-catalog-db-password-secret]
                                   [--spark-hive-catalog-db-server-name]
                                   [--spark-hive-catalog-db-user-name]
                                   [--spark-hive-catalog-key-vault-id]
                                   [--spark-hive-catalog-thrift-url]
                                   [--spark-storage-url]
                                   [--ssh-profile-count]
                                   [--stub-profile]
                                   [--tags]
                                   [--task-manager-cpu]
                                   [--task-manager-memory]
                                   [--trino-hive-catalog]
                                   [--trino-plugins-spec]
                                   [--trino-profile-user-plugins-telemetry-spec]
                                   [--user-plugins-spec]
                                   [--worker-debug-port]
                                   [--worker-debug-suspend {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Create a Trino cluster. need use az hdinsight-on-aks cluster node-profile create $node frist.

az hdinsight-on-aks cluster node-profile create --count 5 --node-type Worker --vm-size Standard_D8d_v5
az hdinsightonaks cluster create -n {clustername} --cluster-pool-name {clusterpoolname} -g {resourcesGroup} -l {location} --assigned-identity-object-id {00000000-0000-0000-0000-000000000000} --assigned-identity-client-id {00000000-0000-0000-0000-000000000000} --authorization-user-id {00000000-0000-0000-0000-000000000000} --assigned-identity-id {/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/yourmsi} --cluster-type Trino --cluster-version {1.0.6} --oss-version {0.410.0} --nodes $node-profile

Create a Flink cluster.

az hdinsight-on-aks cluster create  -n {clustername} --cluster-pool-name {clusterpoolname} -g {RG} -l {westus3} --assigned-identity-object-id {00000000-0000-0000-0000-000000000000} --assigned-identity-client-id {00000000-0000-0000-0000-000000000000} --authorization-user-id {00000000-0000-0000-0000-000000000000} --assigned-identity-id {/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/yourmsi} --cluster-type Flink --cluster-version {flinkversion} --oss-version {flinkossversion} --nodes {nodes} --flink-storage-uri {storageUri} --job-manager-cpu {1} --job-manager-memory {2000} --task-manager-cpu {6} --task-manager-memory {49016}

Create Trino cluster with hive catalog.

az hdinsight-on-aks cluster trino-hive-catalog create --catalog-name {catalogName} --metastore-db-connection-url {metastoreDbConnectionURL} --metastore-db-connection-user-name {metastoreDbUserName}  --metastore-db-connection-password-secret {metastoreDbPasswordSecret} --metastore-warehouse-dir {metastoreWarehouseDir}
az hdinsight-on-aks cluster secret create --secret-name {secretName}  --reference-name {secretName}
az hdinsight-on-aks cluster create -n {clustername} --cluster-pool-name {clusterpoolname} -g {resourcesGroup} -l {westus3} --assigned-identity-object-id {00000000-0000-0000-0000-000000000000} --assigned-identity-client-id {00000000-0000-0000-0000-000000000000} --authorization-user-id {00000000-0000-0000-0000-000000000000} --assigned-identity-id {/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/PSGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/yourmsi} --cluster-type Trino --cluster-version {1.0.6} --oss-version {0.410.0} --nodes {node-profile} --secret-reference {secretReference} --key-vault-id {keyVaultResourceId} --trino-hive-catalog {trinoHiveCatalogOption}

Required Parameters

--cluster-name --name -n

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

--resource-group -g

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

Optional Parameters

--application-log-std-error-enabled --enable-log-std-error

True if application standard error is enabled, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--application-log-std-out-enabled --enable-log-std-out

True if application standard out is enabled, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--assigned-identity-client-id --msi-client-id

ClientId of the MSI.

--assigned-identity-id --msi-id

ResourceId of the MSI.

--assigned-identity-object-id --msi-object-id

ObjectId of the MSI.

--authorization-group-id

AAD group Ids authorized for data plane access. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--authorization-user-id

AAD user Ids authorized for data plane access. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--autoscale-profile-graceful-decommission-timeout --decommission-time

This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout.

--autoscale-profile-type

User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.

accepted values: LoadBased, ScheduleBased
--cluster-type

The type of cluster.

--cluster-version

Version with 3/4 part.

--cooldown-period --loadbased-config-cooldown-period

This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds.

--coord-debug-port --coordinator-debug-port

The flag that if enable debug or not. Default: 8008.

--coord-debug-suspend --coordinator-debug-suspend

The flag that if suspend debug or not. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--coordinator-debug-enabled --enable-coord-debug

The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--coordinator-high-availability-enabled --enable-coord-ha

The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--db-connection-authentication-mode --spark-db-auth-mode

The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization.

accepted values: IdentityAuth, SqlAuth
--deployment-mode

A string property that indicates the deployment mode of Flink cluster. It can have one of the following enum values => Application, Session. Default value is Session.

accepted values: Application, Session
--enable-autoscale

This indicates whether auto scale is enabled on HDInsight on AKS cluster.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-la-metrics --log-analytic-profile-metrics-enabled

True if metrics are enabled, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-log-analytics

True if log analytics is enabled for the cluster, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-prometheu

Enable Prometheus for cluster or not.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-worker-debug

The flag that if trino cluster enable debug or not. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--flink-db-auth-mode --metastore-db-connection-authentication-mode

The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization.

accepted values: IdentityAuth, SqlAuth
--flink-hive-catalog-db-connection-password-secret --flink-hive-db-secret

Secret reference name from secretsProfile.secrets containing password for database connection.

--flink-hive-catalog-db-connection-url --flink-hive-db-url

Connection string for hive metastore database.

--flink-hive-catalog-db-connection-user-name --flink-hive-db-user

User name for database connection.

--flink-storage-key

Storage key is only required for wasb(s) storage.

--flink-storage-uri

Storage account uri which is used for savepoint and checkpoint state.

--history-server-cpu

History server CPU count.

--history-server-memory

History server memory size.

--internal-ingress --internal-ingress-enabled

Whether to create cluster using private IP instead of public IP. This property must be set at create time.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--job-manager-cpu

Job manager CPU count.

--job-manager-memory

Job manager memory size.

--job-spec

Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties are changed by calling the RunJob API, please use the ListJob API to get the latest job information. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--kafka-profile

Kafka cluster profile. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--key-vault-id

Name of the user Key Vault where all the cluster specific user secrets are stored.

--llap-profile

LLAP cluster profile. Support json-file and yaml-file.

--loadbased-config-max-nodes --loadbased-max-nodes

User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

--loadbased-config-min-nodes --loadbased-min-nodes

User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

--loadbased-config-poll-interval --loadbased-interval

User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation.

--loadbased-config-scaling-rules --loadbased-rules

The scaling rules. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--location -l

The geo-location where the resource lives When not specified, the location of the resource group will be used.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--nodes

The nodes definitions. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--num-replicas

The number of task managers.

--oss-version

Version with three part.

--ranger-plugin-profile

Cluster Ranger plugin profile. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--ranger-profile

The ranger cluster profile. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--schedule-based-config-default-count --schedule-default-count

Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down).

--schedule-based-config-schedule --schedule-schedules

This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--schedule-based-config-time-zone --schedule-time-zone

User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration.

--script-action-profiles

The script action profile list. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--secret-reference

Properties of Key Vault secret. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--service-configs --service-configs-profiles

The service configs profiles. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--spark-hive-catalog-db-name --spark-hive-db-name

The database name.

--spark-hive-catalog-db-password-secret --spark-hive-db-secret

The secret name which contains the database user password.

--spark-hive-catalog-db-server-name --spark-hive-db-server

The database server host.

--spark-hive-catalog-db-user-name --spark-hive-db-user

The database user name.

--spark-hive-catalog-key-vault-id --spark-hive-kv-id

The key vault resource id.

--spark-hive-catalog-thrift-url --spark-hive-thrift-url

The thrift url.

--spark-storage-url

The default storage URL.

--ssh-profile-count

Number of ssh pods per cluster.

--stub-profile

Stub cluster profile. Support json-file and yaml-file.

--tags

Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--task-manager-cpu

Task manager CPU count.

--task-manager-memory

The task manager memory size.

--trino-hive-catalog

Trino cluster hive catalog options. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--trino-plugins-spec --trino-profile-user-plugins-plugin-spec

Trino user plugins spec Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--trino-profile-user-plugins-telemetry-spec --trino-telemetry-spec

Trino user telemetry spec. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--user-plugins-spec

Spark user plugins spec Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--worker-debug-port

The debug port. Default: 8008.

--worker-debug-suspend

The flag that if trino cluster suspend debug or not. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
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 hdinsight-on-aks cluster delete

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete a cluster.

az hdinsight-on-aks cluster delete [--cluster-name]
                                   [--cluster-pool-name]
                                   [--ids]
                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--resource-group]
                                   [--subscription]
                                   [--yes]

Examples

Delete a cluster.

az hdinsight-on-aks cluster delete  -n {clusterName} --cluster-pool-name {poolName} -g {RG}

Optional Parameters

--cluster-name --name -n

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

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

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--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.

--yes -y

Do not prompt for confirmation.

default value: False
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 hdinsight-on-aks cluster list

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the HDInsight cluster pools under a resource group.

az hdinsight-on-aks cluster list --cluster-pool-name
                                 --resource-group
                                 [--max-items]
                                 [--next-token]

Examples

List all cluster in a cluster pool.

az hdinsight-on-aks cluster list --cluster-pool-name {poolName}-g {RG}

Required Parameters

--cluster-pool-name

The name of the cluster pool.

--resource-group -g

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

Optional Parameters

--max-items

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.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

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 hdinsight-on-aks cluster list-service-config

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the config dump of all services running in cluster.

az hdinsight-on-aks cluster list-service-config --cluster-name
                                                --cluster-pool-name
                                                --resource-group
                                                [--max-items]
                                                [--next-token]

Examples

Lists the config dump of all services running in cluster.

az hdinsight-on-aks cluster list-service-config  --cluster-name {clusterName} --cluster-pool-name {poolName}-g {RG}

Required Parameters

--cluster-name

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

--resource-group -g

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

Optional Parameters

--max-items

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.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

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 hdinsight-on-aks cluster resize

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Resize an existing Cluster.

az hdinsight-on-aks cluster resize [--cluster-name]
                                   [--cluster-pool-name]
                                   [--ids]
                                   [--location]
                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--resource-group]
                                   [--subscription]
                                   [--tags]
                                   [--target-worker-node-count]

Examples

Resize a cluster.

az hdinsight-on-aks cluster resize --cluster-name {clusterName} --cluster-pool-name {poolName}-g {RG} -l {westus3} --target-worker-node-count {6}

Optional Parameters

--cluster-name

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

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

--location -l

The geo-location where the resource lives When not specified, the location of the resource group will be used.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--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.

--tags

Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--target-worker-node-count --worker-node-count

Target node count of worker node.

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 hdinsight-on-aks cluster show

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get a HDInsight cluster.

az hdinsight-on-aks cluster show [--cluster-name]
                                 [--cluster-pool-name]
                                 [--ids]
                                 [--resource-group]
                                 [--subscription]

Examples

Get a cluster with cluster name.

az hdinsight-on-aks cluster show  -n {clusterName} --cluster-pool-name {poolName} -g {RG}

Optional Parameters

--cluster-name --name -n

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

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

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

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 hdinsight-on-aks cluster update

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Update a cluster.

az hdinsight-on-aks cluster update [--add]
                                   [--application-log-std-error-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--application-log-std-out-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--assigned-identity-client-id]
                                   [--assigned-identity-id]
                                   [--assigned-identity-object-id]
                                   [--authorization-group-id]
                                   [--authorization-user-id]
                                   [--autoscale-profile-graceful-decommission-timeout]
                                   [--autoscale-profile-type {LoadBased, ScheduleBased}]
                                   [--cluster-name]
                                   [--cluster-pool-name]
                                   [--cluster-version]
                                   [--cooldown-period]
                                   [--coord-debug-port]
                                   [--coord-debug-suspend {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--coordinator-debug-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--coordinator-high-availability-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--db-connection-authentication-mode {IdentityAuth, SqlAuth}]
                                   [--deployment-mode {Application, Session}]
                                   [--enable-autoscale {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-la-metrics {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-log-analytics {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-prometheu {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--enable-worker-debug {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--flink-db-auth-mode {IdentityAuth, SqlAuth}]
                                   [--flink-hive-catalog-db-connection-password-secret]
                                   [--flink-hive-catalog-db-connection-url]
                                   [--flink-hive-catalog-db-connection-user-name]
                                   [--flink-storage-key]
                                   [--flink-storage-uri]
                                   [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--history-server-cpu]
                                   [--history-server-memory]
                                   [--ids]
                                   [--job-manager-cpu]
                                   [--job-manager-memory]
                                   [--job-spec]
                                   [--kafka-profile]
                                   [--key-vault-id]
                                   [--llap-profile]
                                   [--loadbased-config-max-nodes]
                                   [--loadbased-config-min-nodes]
                                   [--loadbased-config-poll-interval]
                                   [--loadbased-config-scaling-rules]
                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--nodes]
                                   [--num-replicas]
                                   [--oss-version]
                                   [--ranger-plugin-profile]
                                   [--ranger-profile]
                                   [--remove]
                                   [--resource-group]
                                   [--schedule-based-config-default-count]
                                   [--schedule-based-config-schedule]
                                   [--schedule-based-config-time-zone]
                                   [--script-action-profiles]
                                   [--secret-reference]
                                   [--service-configs]
                                   [--set]
                                   [--spark-hive-catalog-db-name]
                                   [--spark-hive-catalog-db-password-secret]
                                   [--spark-hive-catalog-db-server-name]
                                   [--spark-hive-catalog-db-user-name]
                                   [--spark-hive-catalog-key-vault-id]
                                   [--spark-hive-catalog-thrift-url]
                                   [--spark-storage-url]
                                   [--ssh-profile-count]
                                   [--stub-profile]
                                   [--subscription]
                                   [--tags]
                                   [--task-manager-cpu]
                                   [--task-manager-memory]
                                   [--trino-hive-catalog]
                                   [--trino-plugins-spec]
                                   [--trino-profile-user-plugins-telemetry-spec]
                                   [--user-plugins-spec]
                                   [--worker-debug-port]
                                   [--worker-debug-suspend {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Update a cluster service-config.

az hdinsight-on-aks cluster update -n {clusterName} --cluster-pool-name {poolName} -g {RG} -service-configs {"[{service-name:yarn-service,configs:[{component:hadoop-config-client,files:[{file-name:yarn-site.xml,values:{yarn.nodemanager.resource.memory-mb:33333}}]}]}]"}

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--application-log-std-error-enabled --enable-log-std-error

True if application standard error is enabled, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--application-log-std-out-enabled --enable-log-std-out

True if application standard out is enabled, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--assigned-identity-client-id --msi-client-id

ClientId of the MSI.

--assigned-identity-id --msi-id

ResourceId of the MSI.

--assigned-identity-object-id --msi-object-id

ObjectId of the MSI.

--authorization-group-id

AAD group Ids authorized for data plane access. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--authorization-user-id

AAD user Ids authorized for data plane access. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--autoscale-profile-graceful-decommission-timeout --decommission-time

This property is for graceful decommission timeout; It has a default setting of 3600 seconds before forced shutdown takes place. This is the maximal time to wait for running containers and applications to complete before transition a DECOMMISSIONING node into DECOMMISSIONED. The default value is 3600 seconds. Negative value (like -1) is handled as infinite timeout.

--autoscale-profile-type

User to specify which type of Autoscale to be implemented - Scheduled Based or Load Based.

accepted values: LoadBased, ScheduleBased
--cluster-name --name -n

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

--cluster-version

Version with 3/4 part.

--cooldown-period --loadbased-config-cooldown-period

This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds.

--coord-debug-port --coordinator-debug-port

The flag that if enable debug or not. Default: 8008.

--coord-debug-suspend --coordinator-debug-suspend

The flag that if suspend debug or not. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--coordinator-debug-enabled --enable-coord-debug

The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--coordinator-high-availability-enabled --enable-coord-ha

The flag that if enable coordinator HA, uses multiple coordinator replicas with auto failover, one per each head node. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--db-connection-authentication-mode --spark-db-auth-mode

The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization.

accepted values: IdentityAuth, SqlAuth
--deployment-mode

A string property that indicates the deployment mode of Flink cluster. It can have one of the following enum values => Application, Session. Default value is Session.

accepted values: Application, Session
--enable-autoscale

This indicates whether auto scale is enabled on HDInsight on AKS cluster.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-la-metrics --log-analytic-profile-metrics-enabled

True if metrics are enabled, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-log-analytics

True if log analytics is enabled for the cluster, otherwise false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-prometheu

Enable Prometheus for cluster or not.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-worker-debug

The flag that if trino cluster enable debug or not. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--flink-db-auth-mode --metastore-db-connection-authentication-mode

The authentication mode to connect to your Hive metastore database. More details: https://learn.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage?view=azuresql#authentication-and-authorization.

accepted values: IdentityAuth, SqlAuth
--flink-hive-catalog-db-connection-password-secret --flink-hive-db-secret

Secret reference name from secretsProfile.secrets containing password for database connection.

--flink-hive-catalog-db-connection-url --flink-hive-db-url

Connection string for hive metastore database.

--flink-hive-catalog-db-connection-user-name --flink-hive-db-user

User name for database connection.

--flink-storage-key

Storage key is only required for wasb(s) storage.

--flink-storage-uri

Storage account uri which is used for savepoint and checkpoint state.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--history-server-cpu

History server CPU count.

--history-server-memory

History server memory size.

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

--job-manager-cpu

Job manager CPU count.

--job-manager-memory

Job manager memory size.

--job-spec

Job specifications for flink clusters in application deployment mode. The specification is immutable even if job properties are changed by calling the RunJob API, please use the ListJob API to get the latest job information. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--kafka-profile

Kafka cluster profile. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--key-vault-id

Name of the user Key Vault where all the cluster specific user secrets are stored.

--llap-profile

LLAP cluster profile. Support json-file and yaml-file.

--loadbased-config-max-nodes --loadbased-max-nodes

User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

--loadbased-config-min-nodes --loadbased-min-nodes

User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

--loadbased-config-poll-interval --loadbased-interval

User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation.

--loadbased-config-scaling-rules --loadbased-rules

The scaling rules. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
--nodes

The nodes definitions. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--num-replicas

The number of task managers.

--oss-version

Version with three part.

--ranger-plugin-profile

Cluster Ranger plugin profile. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--ranger-profile

The ranger cluster profile. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--resource-group -g

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

--schedule-based-config-default-count --schedule-default-count

Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down).

--schedule-based-config-schedule --schedule-schedules

This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end). Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--schedule-based-config-time-zone --schedule-time-zone

User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration.

--script-action-profiles

The script action profile list. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--secret-reference

Properties of Key Vault secret. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--service-configs --service-configs-profiles

The service configs profiles. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--spark-hive-catalog-db-name --spark-hive-db-name

The database name.

--spark-hive-catalog-db-password-secret --spark-hive-db-secret

The secret name which contains the database user password.

--spark-hive-catalog-db-server-name --spark-hive-db-server

The database server host.

--spark-hive-catalog-db-user-name --spark-hive-db-user

The database user name.

--spark-hive-catalog-key-vault-id --spark-hive-kv-id

The key vault resource id.

--spark-hive-catalog-thrift-url --spark-hive-thrift-url

The thrift url.

--spark-storage-url

The default storage URL.

--ssh-profile-count

Number of ssh pods per cluster.

--stub-profile

Stub cluster profile. Support json-file and yaml-file.

--subscription

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

--tags

Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--task-manager-cpu

Task manager CPU count.

--task-manager-memory

The task manager memory size.

--trino-hive-catalog

Hive catalog options. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--trino-plugins-spec --trino-profile-user-plugins-plugin-spec

Trino user plugins spec Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--trino-profile-user-plugins-telemetry-spec --trino-telemetry-spec

Trino user telemetry spec. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--user-plugins-spec

Spark user plugins spec Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--worker-debug-port

The debug port. Default: 8008.

--worker-debug-suspend

The flag that if trino cluster suspend debug or not. Default: false.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
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 hdinsight-on-aks cluster wait

Preview

Command group 'az hdinsight-on-aks cluster' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Place the CLI in a waiting state until a condition is met.

az hdinsight-on-aks cluster wait [--cluster-name]
                                 [--cluster-pool-name]
                                 [--created]
                                 [--custom]
                                 [--deleted]
                                 [--exists]
                                 [--ids]
                                 [--interval]
                                 [--resource-group]
                                 [--subscription]
                                 [--timeout]
                                 [--updated]

Optional Parameters

--cluster-name --name -n

The name of the HDInsight cluster.

--cluster-pool-name

The name of the cluster pool.

--created

Wait until created with 'provisioningState' at 'Succeeded'.

default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

default value: False
--exists

Wait until the resource exists.

default value: False
--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.

--interval

Polling interval in seconds.

default value: 30
--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.

--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

default value: False
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.