az hdinsight autoscale condition
Manage schedule condition of the HDInsight cluster which enabled Schedule-based Autoscale.
Commands
Name | Description | Type | Status |
---|---|---|---|
az hdinsight autoscale condition create |
Add a new schedule condition. |
Core | GA |
az hdinsight autoscale condition delete |
Delete schedule condition. |
Core | GA |
az hdinsight autoscale condition list |
List all schedule conditions. |
Core | GA |
az hdinsight autoscale condition update |
Update a schedule condition. |
Core | GA |
az hdinsight autoscale condition wait |
Place the CLI in a waiting state until an operation is complete. |
Core | GA |
az hdinsight autoscale condition create
Add a new schedule condition.
az hdinsight autoscale condition create --cluster-name
--days {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
--resource-group
--time
--workernode-count
[--no-wait]
Examples
Add a new schedule condition.
az hdinsight autoscale condition create --resource-group MyResourceGroup --cluster-name MyCluster \
--days Monday Tuesday --time 09:00 --workernode-count 5
Required Parameters
The name of the cluster.
A space-delimited list of schedule day.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The 24-hour time in the form xx:xx in days.
The schedule workernode count.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az hdinsight autoscale condition delete
Delete schedule condition.
az hdinsight autoscale condition delete --cluster-name
--index
--resource-group
[--no-wait]
[--yes]
Examples
Delete a schedule condition.
az hdinsight autoscale condition delete --resource-group MyResourceGroup --cluster-name MyCluster --index 0
Delete multiple schedule conditions.
az hdinsight autoscale condition delete --resource-group MyResourceGroup --cluster-name MyCluster --index 0 1
Required Parameters
The name of the cluster.
The Space-separated list of condition indices which starts with 0 to delete.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az hdinsight autoscale condition list
List all schedule conditions.
az hdinsight autoscale condition list --cluster-name
--resource-group
Examples
List all schedule conditions.
az hdinsight autoscale condition 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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az hdinsight autoscale condition update
Update a schedule condition.
az hdinsight autoscale condition update --cluster-name
--index
--resource-group
[--days {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}]
[--no-wait]
[--time]
[--workernode-count]
Examples
Update a schedule condition.
az hdinsight autoscale condition update --resource-group MyResourceGroup --cluster-name MyCluster --index 0 \
--time 10:00 --workernode-count 5
Required Parameters
The name of the cluster.
The schedule condition index which starts with 0.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
A space-delimited list of schedule day.
Do not wait for the long-running operation to finish.
The 24-hour time in the form xx:xx in days.
The schedule workernode count.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az hdinsight autoscale condition wait
Place the CLI in a waiting state until an operation is complete.
az hdinsight autoscale condition wait --name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
Azure CLI