FixedScaleSettings Class

Fixed scale settings for the pool.

Inheritance
FixedScaleSettings

Constructor

FixedScaleSettings(*, resize_timeout: Optional[datetime.timedelta] = None, target_dedicated_nodes: Optional[int] = None, target_low_priority_nodes: Optional[int] = None, node_deallocation_option: Optional[Union[str, azure.mgmt.batch.models._batch_management_client_enums.ComputeNodeDeallocationOption]] = None, **kwargs)

Variables

resize_timeout
timedelta

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
str or ComputeNodeDeallocationOption

If omitted, the default value is Requeue. Possible values include: "Requeue", "Terminate", "TaskCompletion", "RetainedData".