CommandJob interface
命令工作定義。
- Extends
屬性
| code |
程式代碼資產的 ARM 資源識別碼。 |
| command | [必要]在作業啟動時執行的命令。 eg. “python train.py” |
| distribution | 作業的散發組態。 如果設定,這應該是其中一個 Mpi、Tensorflow、PyTorch 或 null。 |
| environment |
[必要]作業之環境規格的 ARM 資源識別碼。 |
| environment |
作業中包含的環境變數。 |
| inputs | 對應作業中使用的輸入數據系結。 |
| job |
[必要]指定作業的類型。 |
| limits | 命令作業限制。 |
| outputs | 對應作業中使用的輸出數據系結。 |
| parameters | 輸入參數。 |
| queue |
作業的佇列設定 |
| resources | 作業的計算資源組態。 |
繼承的屬性
| component |
元件資源的 ARM 資源識別碼。 |
| compute |
計算資源的 ARM 資源識別碼。 |
| description | 資產描述文字。 |
| display |
工作的顯示名稱。 |
| experiment |
作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。 |
| identity | 身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。 如果為 null,則預設為 AmlToken。 |
| is |
資產是否已封存? |
| notification |
作業的通知設定 |
| parent |
父作業名稱。 |
| 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
jobType
[必要]指定作業的類型。
jobType: "Command"
屬性值
"Command"
limits
outputs
parameters
輸入參數。
parameters?: any
屬性值
any
queueSettings
resources
繼承的屬性詳細資料
componentId
computeId
description
displayName
experimentName
作業所屬的實驗名稱。 如果未設定,作業會放在 「默認」實驗中。
experimentName?: string
屬性值
string
identity
身分識別設定。 如果設定,這應該是其中一個 AmlToken、ManagedIdentity、UserIdentity 或 null。 如果為 null,則預設為 AmlToken。
identity?: IdentityConfigurationUnion
屬性值
isArchived
notificationSetting
作業的通知設定
notificationSetting?: NotificationSetting
屬性值
parentJobName
properties
資產屬性字典。
properties?: Record<string, string>
屬性值
Record<string, string>
services
JobEndpoints 的清單。 針對本機作業,作業端點會有 FileStreamObject 的端點值。
services?: Record<string, JobService>
屬性值
Record<string, JobService>
status
tags
標記字典。 標記可以新增、移除和更新。
tags?: Record<string, string>
屬性值
Record<string, string>