AmlComputeProperties Class

AML Compute properties.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
AmlComputeProperties

Constructor

AmlComputeProperties(*, vm_size: Optional[str] = None, vm_priority: Optional[Union[str, azure.mgmt.machinelearningservices.models._azure_machine_learning_workspaces_enums.VmPriority]] = None, scale_settings: Optional[azure.mgmt.machinelearningservices.models._models_py3.ScaleSettings] = None, user_account_credentials: Optional[azure.mgmt.machinelearningservices.models._models_py3.UserAccountCredentials] = None, subnet: Optional[azure.mgmt.machinelearningservices.models._models_py3.ResourceId] = None, remote_login_port_public_access: Optional[Union[str, azure.mgmt.machinelearningservices.models._azure_machine_learning_workspaces_enums.RemoteLoginPortPublicAccess]] = 'NotSpecified', **kwargs)

Parameters

vm_size
str
Required

Virtual Machine Size.

vm_priority
str or VmPriority
Required

Virtual Machine priority. Possible values include: "Dedicated", "LowPriority".

scale_settings
ScaleSettings
Required

Scale settings for AML Compute.

user_account_credentials
UserAccountCredentials
Required

Credentials for an administrator user account that will be created on each compute node.

subnet
ResourceId
Required

Virtual network subnet resource ID the compute nodes belong to.

remote_login_port_public_access
str or RemoteLoginPortPublicAccess
Required

State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled. Possible values include: "Enabled", "Disabled", "NotSpecified". Default value: "NotSpecified".

Variables

allocation_state
str or AllocationState

Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. Possible values include: "Steady", "Resizing".

allocation_state_transition_time
datetime

The time at which the compute entered its current allocation state.

errors
list[MachineLearningServiceError]

Collection of errors encountered by various compute nodes during node setup.

current_node_count
int

The number of compute nodes currently assigned to the compute.

target_node_count
int

The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.

node_state_counts
NodeStateCounts

Counts of various node states on the compute.