Skip to main content

disable_node_schedulings

Creates, updates, deletes, gets or lists a disable_node_schedulings resource.

Overview

Namedisable_node_schedulings
TypeResource
Idazure.batch_dataplane.disable_node_schedulings

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
disable_node_schedulingexecpool_id, node_id, endpointtimeOut, ocp-dateDisables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
node_idstringThe ID of the Compute Node on which you want to disable Task scheduling. Required.
pool_idstringThe ID of the Pool that contains the Compute Node. Required.
ocp-datestringThe time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. Default value is None.
timeOutintegerThe maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". Default value is None.

Lifecycle Methods

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.

EXEC azure.batch_dataplane.disable_node_schedulings.disable_node_scheduling 
@pool_id='{{ pool_id }}' --required,
@node_id='{{ node_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeOut='{{ timeOut }}',
@ocp-date='{{ ocp-date }}'
@@json=
'{
"nodeDisableSchedulingOption": "{{ nodeDisableSchedulingOption }}"
}'
;