ManualScaleSettings Class

Manual scale settings for the cluster.

All required parameters must be populated in order to send to Azure.

Inheritance
ManualScaleSettings

Constructor

ManualScaleSettings(*, target_node_count: int, node_deallocation_option: Optional[Union[str, azure.mgmt.batchai.models._batch_ai_enums.DeallocationOption]] = 'requeue', **kwargs)

Parameters

target_node_count
int
Required

Required. The desired number of compute nodes in the Cluster. Default is 0.

node_deallocation_option
str or <xref:batch_ai.models.DeallocationOption>
Required

An action to be performed when the cluster size is decreasing. The default value is requeue. Possible values include: "requeue", "terminate", "waitforjobcompletion". Default value: "requeue".