Share via


ArmMachineLearningModelFactory.MachineLearningComputeProperties Method

Definition

Initializes a new instance of MachineLearningComputeProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeProperties MachineLearningComputeProperties (string computeType = default, 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);
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeProperties MachineLearningComputeProperties (string computeType = "Unknown", 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);
static member MachineLearningComputeProperties : string * 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.MachineLearningComputeProperties
Public Shared Function MachineLearningComputeProperties (Optional computeType As String = Nothing, 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) As MachineLearningComputeProperties
Public Shared Function MachineLearningComputeProperties (Optional computeType As String = "Unknown", 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) As MachineLearningComputeProperties

Parameters

computeType
String

The type of compute.

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.

Returns

A new MachineLearningComputeProperties instance for mocking.

Applies to