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.objectScaleSettings
Constructor
ScaleSettings(minimum_node_count, maximum_node_count, idle_seconds_before_scaledown)
Parameters
- idle_seconds_before_scaledown
- int
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for