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.

Inheritance
builtins.object
ScaleSettings

Constructor

ScaleSettings(minimum_node_count, maximum_node_count, idle_seconds_before_scaledown)

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.

deserialize(object_dict)

Parameters

object_dict
dict

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