Share via


az hdinsight host

Manage HDInsight cluster's virtual hosts.

Commands

Name Description Type Status
az hdinsight host list

List the hosts of the specified HDInsight cluster.

Core GA
az hdinsight host restart

Restart the specific hosts of the specified HDInsight cluster.

Core GA

az hdinsight host list

List the hosts of the specified HDInsight cluster.

az hdinsight host list --cluster-name
                       --resource-group

Examples

List the hosts of the specified HDInsight cluster.

az hdinsight host list --resource-group MyResourceGroup --cluster-name MyCluster

Required Parameters

--cluster-name

The name of the 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.

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 hdinsight host restart

Restart the specific hosts of the specified HDInsight cluster.

az hdinsight host restart --cluster-name
                          --host-names
                          --resource-group
                          [--yes]

Examples

Restart the specific hosts of the specified HDInsight cluster.

az hdinsight host restart --resource-group MyResourceGroup --cluster-name MyCluster --host-names hostname1 hostname2

Required Parameters

--cluster-name

The name of the cluster.

--host-names

A space-delimited list of host names that need to be restarted.

--resource-group -g

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

Optional Parameters

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

--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
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