VirtualMachine Class

A Machine Learning compute based on Azure Virtual Machines.

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.machinelearningservices.models._models_py3.Compute
VirtualMachine

Constructor

VirtualMachine(*, compute_location: Optional[str] = None, description: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[azure.mgmt.machinelearningservices.models._models_py3.VirtualMachineProperties] = None, **kwargs)

Parameters

compute_type
str or ComputeType
Required

Required. The type of compute.Constant filled by server. Possible values include: "AKS", "AmlCompute", "ComputeInstance", "DataFactory", "VirtualMachine", "HDInsight", "Databricks", "DataLakeAnalytics".

compute_location
str
Required

Location for the underlying compute.

description
str
Required

The description of the Machine Learning compute.

resource_id
str
Required

ARM resource id of the underlying compute.

properties
VirtualMachineProperties
Required

Variables

provisioning_state
str or ProvisioningState

The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: "Unknown", "Updating", "Creating", "Deleting", "Succeeded", "Failed", "Canceled".

created_on
datetime

The date and time when the compute was created.

modified_on
datetime

The date and time when the compute was last modified.

provisioning_errors
list[MachineLearningServiceError]

Errors during provisioning.

is_attached_compute
bool

Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.