Share via


ArmMachineLearningModelFactory.AmlCompute Method

Definition

Initializes a new instance of AmlCompute.

public static Azure.ResourceManager.MachineLearning.Models.AmlCompute AmlCompute (string computeLocation = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningProvisioningState? provisioningState = default, string description = default, DateTimeOffset? createdOn = default, DateTimeOffset? modifiedOn = default, Azure.Core.ResourceIdentifier resourceId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.MachineLearningError> provisioningErrors = default, bool? isAttachedCompute = default, bool? disableLocalAuth = default, Azure.ResourceManager.MachineLearning.Models.AmlComputeProperties properties = default);
static member AmlCompute : string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningProvisioningState> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.MachineLearning.Models.MachineLearningError> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.AmlComputeProperties -> Azure.ResourceManager.MachineLearning.Models.AmlCompute
Public Shared Function AmlCompute (Optional computeLocation As String = Nothing, Optional provisioningState As Nullable(Of MachineLearningProvisioningState) = Nothing, Optional description As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional provisioningErrors As IEnumerable(Of MachineLearningError) = Nothing, Optional isAttachedCompute As Nullable(Of Boolean) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional properties As AmlComputeProperties = Nothing) As AmlCompute

Parameters

computeLocation
String

Location for the underlying compute.

provisioningState
Nullable<MachineLearningProvisioningState>

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

description
String

The description of the Machine Learning compute.

createdOn
Nullable<DateTimeOffset>

The time at which the compute was created.

modifiedOn
Nullable<DateTimeOffset>

The time at which the compute was last modified.

resourceId
ResourceIdentifier

ARM resource id of the underlying compute.

provisioningErrors
IEnumerable<MachineLearningError>

Errors during provisioning.

isAttachedCompute
Nullable<Boolean>

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

disableLocalAuth
Nullable<Boolean>

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

properties
AmlComputeProperties

Properties of AmlCompute.

Returns

A new AmlCompute instance for mocking.

Applies to