你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmMachineLearningModelFactory.MachineLearningPipelineJob 方法

定义

初始化 MachineLearningPipelineJob 的新实例。

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningPipelineJob MachineLearningPipelineJob (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.ResourceIdentifier componentId = default, Azure.Core.ResourceIdentifier computeId = default, string displayName = default, string experimentName = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningIdentityConfiguration identity = default, bool? isArchived = default, Azure.ResourceManager.MachineLearning.Models.NotificationSetting notificationSetting = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.SecretConfiguration> secretsConfiguration = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService> services = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobStatus? status = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.MachineLearningJobInput> inputs = default, System.Collections.Generic.IDictionary<string,BinaryData> jobs = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.MachineLearning.Models.MachineLearningJobOutput> outputs = default, BinaryData settings = default, Azure.Core.ResourceIdentifier sourceJobId = default);
static member MachineLearningPipelineJob : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningIdentityConfiguration * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.NotificationSetting * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.SecretConfiguration> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobService> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningJobStatus> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobInput> * System.Collections.Generic.IDictionary<string, BinaryData> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.MachineLearning.Models.MachineLearningJobOutput> * BinaryData * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MachineLearning.Models.MachineLearningPipelineJob
Public Shared Function MachineLearningPipelineJob (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional componentId As ResourceIdentifier = Nothing, Optional computeId As ResourceIdentifier = Nothing, Optional displayName As String = Nothing, Optional experimentName As String = Nothing, Optional identity As MachineLearningIdentityConfiguration = Nothing, Optional isArchived As Nullable(Of Boolean) = Nothing, Optional notificationSetting As NotificationSetting = Nothing, Optional secretsConfiguration As IDictionary(Of String, SecretConfiguration) = Nothing, Optional services As IDictionary(Of String, MachineLearningJobService) = Nothing, Optional status As Nullable(Of MachineLearningJobStatus) = Nothing, Optional inputs As IDictionary(Of String, MachineLearningJobInput) = Nothing, Optional jobs As IDictionary(Of String, BinaryData) = Nothing, Optional outputs As IDictionary(Of String, MachineLearningJobOutput) = Nothing, Optional settings As BinaryData = Nothing, Optional sourceJobId As ResourceIdentifier = Nothing) As MachineLearningPipelineJob

参数

description
String

资产说明文本。

properties
IDictionary<String,String>

资产属性字典。

tags
IDictionary<String,String>

标记字典。 可以添加、删除和更新标记。

componentId
ResourceIdentifier

组件资源的 ARM 资源 ID。

computeId
ResourceIdentifier

计算资源的 ARM 资源 ID。

displayName
String

作业的显示名称。

experimentName
String

作业所属的试验的名称。 如果未设置,作业将置于“默认”试验中。

identity
MachineLearningIdentityConfiguration

标识配置。 如果已设置,应为 AmlToken、ManagedIdentity、UserIdentity 或 null 之一。 如果为 null,则默认为 AmlToken。 请注意 MachineLearningIdentityConfiguration , 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 AmlTokenMachineLearningManagedIdentityMachineLearningUserIdentity

isArchived
Nullable<Boolean>

资产是否已存档?。

notificationSetting
NotificationSetting

作业的通知设置。

secretsConfiguration
IDictionary<String,SecretConfiguration>

配置在运行时可用的机密。

services
IDictionary<String,MachineLearningJobService>

JobEndpoint 列表。 对于本地作业,作业终结点的终结点值为 FileStreamObject。

status
Nullable<MachineLearningJobStatus>

作业的状态。

inputs
IDictionary<String,MachineLearningJobInput>

管道作业的输入。 请注意 MachineLearningJobInput , 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 MachineLearningCustomModelJobInput、、MachineLearningLiteralJobInputMachineLearningFlowModelJobInputMachineLearningTableJobInputMachineLearningTritonModelJobInputMachineLearningUriFileJobInputMachineLearningUriFolderJobInput

jobs
IDictionary<String,BinaryData>

作业构造管道作业。

outputs
IDictionary<String,MachineLearningJobOutput>

管道作业的输出请注意 MachineLearningJobOutput 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 MachineLearningCustomModelJobOutput、、MachineLearningFlowModelJobOutputMachineLearningTableJobOutputMachineLearningTritonModelJobOutputMachineLearningUriFileJobOutputMachineLearningUriFolderJobOutput

settings
BinaryData

管道设置,用于 ContinueRunOnStepFailure 等内容。

sourceJobId
ResourceIdentifier

源作业的 ARM 资源 ID。

返回

用于模拟的新 MachineLearningPipelineJob 实例。

适用于