CommandJob interface

命令工作定義。

Extends

屬性

codeId

程式代碼資產的 ARM 資源識別碼。

command

[必要]在作業啟動時執行的命令。 eg. “python train.py”

distribution

作業的散發組態。 如果設定,這應該是其中一個 Mpi、Tensorflow、PyTorch 或 null。

environmentId

[必要]作業之環境規格的 ARM 資源識別碼。

environmentVariables

作業中包含的環境變數。

inputs

對應作業中使用的輸入數據系結。

jobType

[必要]指定作業的類型。

limits

命令作業限制。

outputs

對應作業中使用的輸出數據系結。

parameters

輸入參數。

queueSettings

作業的佇列設定

resources

作業的計算資源組態。

繼承的屬性

componentId

元件資源的 ARM 資源識別碼。

computeId

計算資源的 ARM 資源識別碼。

description

資產描述文字。

displayName

工作的顯示名稱。

experimentName

作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。

identity

身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。 如果為 null,則預設為 AmlToken。

isArchived

資產是否已封存?

notificationSetting

作業的通知設定

parentJobName

父作業名稱。

properties

資產屬性字典。

services

JobEndpoints 的清單。 針對本機作業,作業端點會有 FileStreamObject 的端點值。

status

作業狀態。

tags

標記字典。 標記可以新增、移除和更新。

屬性詳細資料

codeId

程式代碼資產的 ARM 資源識別碼。

codeId?: string

屬性值

string

command

[必要]在作業啟動時執行的命令。 eg. “python train.py”

command: string

屬性值

string

distribution

作業的散發組態。 如果設定,這應該是其中一個 Mpi、Tensorflow、PyTorch 或 null。

distribution?: DistributionConfigurationUnion

屬性值

environmentId

[必要]作業之環境規格的 ARM 資源識別碼。

environmentId: string

屬性值

string

environmentVariables

作業中包含的環境變數。

environmentVariables?: Record<string, string>

屬性值

Record<string, string>

inputs

對應作業中使用的輸入數據系結。

inputs?: Record<string, JobInputUnion>

屬性值

Record<string, JobInputUnion>

jobType

[必要]指定作業的類型。

jobType: "Command"

屬性值

"Command"

limits

命令作業限制。

limits?: CommandJobLimits

屬性值

outputs

對應作業中使用的輸出數據系結。

outputs?: Record<string, JobOutputUnion>

屬性值

Record<string, JobOutputUnion>

parameters

輸入參數。

parameters?: any

屬性值

any

queueSettings

作業的佇列設定

queueSettings?: QueueSettings

屬性值

resources

作業的計算資源組態。

resources?: JobResourceConfiguration

屬性值

繼承的屬性詳細資料

componentId

元件資源的 ARM 資源識別碼。

componentId?: string

屬性值

string

繼承自JobBaseProperties.componentId

computeId

計算資源的 ARM 資源識別碼。

computeId?: string

屬性值

string

繼承自JobBaseProperties.computeId

description

資產描述文字。

description?: string

屬性值

string

繼承自JobBaseProperties.description

displayName

工作的顯示名稱。

displayName?: string

屬性值

string

繼承自JobBaseProperties.displayName

experimentName

作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。

experimentName?: string

屬性值

string

繼承自JobBaseProperties.experimentName

identity

身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。 如果為 null,則預設為 AmlToken。

identity?: IdentityConfigurationUnion

屬性值

繼承自JobBaseProperties.identity

isArchived

資產是否已封存?

isArchived?: boolean

屬性值

boolean

繼承自JobBaseProperties.isArchived

notificationSetting

作業的通知設定

notificationSetting?: NotificationSetting

屬性值

繼承自JobBaseProperties.notificationSetting

parentJobName

父作業名稱。

parentJobName?: string

屬性值

string

繼承自JobBaseProperties.parentJobName

properties

資產屬性字典。

properties?: Record<string, string>

屬性值

Record<string, string>

資料繼承自JobBaseProperties.properties

services

JobEndpoints 的清單。 針對本機作業,作業端點會有 FileStreamObject 的端點值。

services?: Record<string, JobService>

屬性值

Record<string, JobService>

襲自JobBaseProperties.services

status

作業狀態。

status?: string

屬性值

string

繼承自JobBaseProperties.status

tags

標記字典。 標記可以新增、移除和更新。

tags?: Record<string, string>

屬性值

Record<string, string>

繼承自JobBaseProperties.tags