FixedScaleSettings Class

Fixed scale settings for the pool.

Inheritance
azure.mgmt.batch._serialization.Model
FixedScaleSettings

Constructor

FixedScaleSettings(*, resize_timeout: timedelta = 'PT15M', target_dedicated_nodes: int | None = None, target_low_priority_nodes: int | None = None, node_deallocation_option: str | _models.ComputeNodeDeallocationOption | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
resize_timeout

The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).

Default value: PT15M
target_dedicated_nodes
int

At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.

target_low_priority_nodes
int

At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.

node_deallocation_option

If omitted, the default value is Requeue. Known values are: "Requeue", "Terminate", "TaskCompletion", and "RetainedData".

Variables

Name Description
resize_timeout

The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).

target_dedicated_nodes
int

At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.

target_low_priority_nodes
int

At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.

node_deallocation_option

If omitted, the default value is Requeue. Known values are: "Requeue", "Terminate", "TaskCompletion", and "RetainedData".