ScaleSettings Class

Represents scale settings for an AmlCompute target.

Use the AmlCompute class provisioning_configuration method to specify scale settings, the update method to update them, and the get_status method to view them.

Initialize the ScaleSettings object.

Inheritance
builtins.object
ScaleSettings

Constructor

ScaleSettings(minimum_node_count, maximum_node_count, idle_seconds_before_scaledown)

Parameters

minimum_node_count
int
Required

The minimum number of nodes to use on the cluster.

maximum_node_count
int
Required

The maximum number of nodes to use on the cluster.

idle_seconds_before_scaledown
int
Required

The node idle time in seconds before scaling down the cluster.

Methods

deserialize

Convert a JSON object into a ScaleSettings object.

serialize

Convert this ScaleSettings object into a JSON serialized dictionary.

deserialize

Convert a JSON object into a ScaleSettings object.

static deserialize(object_dict)

Parameters

object_dict
dict
Required

A JSON object to convert to a ScaleSettings object.

Returns

The ScaleSettings representation of the provided JSON object.

Return type

Exceptions

serialize

Convert this ScaleSettings object into a JSON serialized dictionary.

serialize()

Returns

The JSON representation of this ScaleSettings object.

Return type

Exceptions