AmlComputeStatus Class
Represents detailed status information about an AmlCompute target.
Use the get_status method of the AmlCompute class to return status information.
Initialize a AmlComputeStatus object.
- Inheritance
-
builtins.objectAmlComputeStatus
Constructor
AmlComputeStatus(allocation_state, allocation_state_transition_time, creation_time, current_node_count, errors, modified_time, node_state_counts, provisioning_state, provisioning_state_transition_time, scale_settings, target_node_count, vm_priority, vm_size)
Parameters
- allocation_state_transition_time
- datetime
The time of the most recent allocation state change.
- node_state_counts
- AmlComputeNodeStateCounts
An object containing counts of the various current node states in the cluster.
- provisioning_state_transition_time
- datetime
The time of the most recent provisioning state change.
- scale_settings
- ScaleSettings
An object containing the specified scale settings for the cluster.
- vm_priority
- str
The VM priority. Can be "dedicated" (default) or "lowpriority". Low Priority VMs use Azure's excess capacity are cheapter but run the risk of being pre-empted.
- vm_size
- str
The size of the agent VMs. More details can be found here: https://aka.ms/azureml-vm-details. Note that not all sizes are available in all regions, as detailed in the previous link.
- allocation_state_transition_time
- datetime
The time of the most recent allocation state change.
- node_state_counts
- AmlComputeNodeStateCounts
An object containing counts of the various current node states in the cluster.
- provisioning_state_transition_time
- datetime
The time of the most recent provisioning state change.
- scale_settings
- ScaleSettings
An object containing the specified scale settings for the cluster.
- vm_priority
- str
The VM priority. Can be "dedicated" (default) or "lowpriority". Low Priority VMs use Azure's excess capacity are cheapter but run the risk of being pre-empted.
- vm_size
- str
The size of the agent VMs. More details can be found here: https://aka.ms/azureml-vm-details. Note that not all sizes are available in all regions, as detailed in the previous link.
Methods
deserialize |
Convert a JSON object into an AmlComputeStatus object. |
serialize |
Convert this AmlComputeStatus object into a JSON serialized dictionary. |
deserialize
Convert a JSON object into an AmlComputeStatus object.
static deserialize(object_dict)
Parameters
Returns
The AmlComputeStatus representation of the provided JSON object.
Return type
Exceptions
serialize
Convert this AmlComputeStatus object into a JSON serialized dictionary.
serialize()
Returns
The JSON representation of this AmlComputeStatus 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