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.object
AmlComputeStatus

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

Name Description
allocation_state
Required
str

A string description of the current allocation state.

allocation_state_transition_time
Required

The time of the most recent allocation state change.

creation_time
Required

The cluster creation time.

current_node_count
Required
int

The current number of nodes used by the cluster.

errors
Required

A list of error details, if any.

modified_time
Required

The cluster modification time.

node_state_counts
Required

An object containing counts of the various current node states in the cluster.

provisioning_state
Required
str

The current provisioning state of the cluster.

provisioning_state_transition_time
Required

The time of the most recent provisioning state change.

scale_settings
Required

An object containing the specified scale settings for the cluster.

target_node_count
Required
int

The target number of nodes for by the cluster.

vm_priority
Required
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
Required
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
Required
str

A string description of the current allocation state.

allocation_state_transition_time
Required

The time of the most recent allocation state change.

creation_time
Required

The cluster creation time.

current_node_count
Required
int

The current number of nodes used by the cluster.

errors
Required

A list of error details, if any.

modified_time
Required

The cluster modification time.

node_state_counts
Required

An object containing counts of the various current node states in the cluster.

provisioning_state
Required
str

The current provisioning state of the cluster.

provisioning_state_transition_time
Required

The time of the most recent provisioning state change.

scale_settings
Required

An object containing the specified scale settings for the cluster.

target_node_count
Required
int

The target number of nodes for by the cluster.

vm_priority
Required
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
Required
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

Name Description
object_dict
Required

A JSON object to convert to an AmlComputeStatus object.

Returns

Type Description

The AmlComputeStatus representation of the provided JSON object.

Exceptions

Type Description

serialize

Convert this AmlComputeStatus object into a JSON serialized dictionary.

serialize()

Returns

Type Description

The JSON representation of this AmlComputeStatus object.

Exceptions

Type Description