Delen via


Compute Class

Definition

Machine Learning compute object.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeTypeConverter))]
public class Compute : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICompute
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeTypeConverter))>]
type Compute = class
    interface ICompute
    interface IJsonSerializable
Public Class Compute
Implements ICompute
Inheritance
Compute
Attributes
Implements

Constructors

Compute()

Creates an new Compute instance.

Properties

CreatedOn

The time at which the compute was created.

Description

The description of the Machine Learning compute.

DisableLocalAuth

Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.

IsAttachedCompute

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

Location

Location for the underlying compute

ModifiedOn

The time at which the compute was last modified.

ProvisioningError

Errors during provisioning

ProvisioningState

The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.

ResourceId

ARM resource id of the underlying compute

Type

The type of compute

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Compute.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Compute.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICompute. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ICompute interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of Compute, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Compute into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to