az batch node scheduling
Manage task scheduling for a Batch compute node.
Commands
Name | Description | Type | Status |
---|---|---|---|
az batch node scheduling disable |
Disables Task scheduling on the specified Compute Node. |
Core | GA |
az batch node scheduling enable |
Enables Task scheduling on the specified Compute Node. |
Core | GA |
az batch node scheduling disable
Disables Task scheduling on the specified Compute Node.
You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.
az batch node scheduling disable --node-id
--pool-id
[--account-endpoint]
[--account-key]
[--account-name]
[--node-disable-scheduling-option {requeue, taskcompletion, terminate}]
Required Parameters
The ID of the Compute Node on which you want to disable Task scheduling.
The ID of the Pool that contains the Compute Node.
Optional Parameters
Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.
Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.
Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.
The default value is requeue.
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 batch node scheduling enable
Enables Task scheduling on the specified Compute Node.
You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled.
az batch node scheduling enable --node-id
--pool-id
[--account-endpoint]
[--account-key]
[--account-name]
Required Parameters
The ID of the Compute Node on which you want to enable Task scheduling.
The ID of the Pool that contains the Compute Node.
Optional Parameters
Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.
Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.
Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.
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.