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
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
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
The name of the cluster.
A space-delimited list of host names that need to be restarted.
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.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |