Compartilhar via


ArmMachineLearningModelFactory.MachineLearningComputeData Method

Definition

Initializes a new instance of MachineLearningComputeData.

public static Azure.ResourceManager.MachineLearning.MachineLearningComputeData MachineLearningComputeData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningSku sku = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeProperties properties = default);
static member MachineLearningComputeData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.MachineLearning.Models.MachineLearningSku * Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeProperties -> Azure.ResourceManager.MachineLearning.MachineLearningComputeData
Public Shared Function MachineLearningComputeData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As MachineLearningSku = Nothing, Optional properties As MachineLearningComputeProperties = Nothing) As MachineLearningComputeData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

The identity of the resource.

sku
MachineLearningSku

The sku of the workspace.

properties
MachineLearningComputeProperties

Compute properties Please note MachineLearningComputeProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningAksCompute, AmlCompute, MachineLearningComputeInstance, MachineLearningDatabricksCompute, MachineLearningDataFactoryCompute, MachineLearningDataLakeAnalytics, MachineLearningHDInsightCompute, MachineLearningKubernetesCompute, MachineLearningSynapseSpark and MachineLearningVirtualMachineCompute.

Returns

A new MachineLearningComputeData instance for mocking.

Applies to