Job interface

作業的定義。

Extends

屬性

creationTime

取得或設定作業的建立時間。

endTime

取得或設定作業的結束時間。

exception

取得或設定作業的例外狀況。

jobId

取得或設定作業的標識碼。

jobRuntimeEnvironment

運行時間環境屬性

lastModifiedTime

取得或設定作業的上次修改時間。

lastStatusModifiedTime

取得或設定作業的最後一個狀態修改時間。

parameters

取得或設定作業的參數。

provisioningState

作業目前的布建狀態。

runbook

取得或設定 Runbook。

runOn

取得或設定 runOn,指定要執行作業的組名。

startedBy

取得或設定啟動的工作。

startTime

取得或設定作業的開始時間。

status

取得或設定作業的狀態。

statusDetails

取得或設定作業的狀態詳細數據。

繼承的屬性

id

資源的完整資源標識碼。 範例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

資源的名稱

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。

type

資源的類型。 例如:「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」

屬性詳細資料

creationTime

取得或設定作業的建立時間。

creationTime?: Date

屬性值

Date

endTime

取得或設定作業的結束時間。

endTime?: Date

屬性值

Date

exception

取得或設定作業的例外狀況。

exception?: string

屬性值

string

jobId

取得或設定作業的標識碼。

jobId?: string

屬性值

string

jobRuntimeEnvironment

運行時間環境屬性

jobRuntimeEnvironment?: JobRuntimeEnvironment

屬性值

lastModifiedTime

取得或設定作業的上次修改時間。

lastModifiedTime?: Date

屬性值

Date

lastStatusModifiedTime

取得或設定作業的最後一個狀態修改時間。

lastStatusModifiedTime?: Date

屬性值

Date

parameters

取得或設定作業的參數。

parameters?: Record<string, string>

屬性值

Record<string, string>

provisioningState

作業目前的布建狀態。

provisioningState?: string

屬性值

string

runbook

取得或設定 Runbook。

runbook?: RunbookAssociationProperty

屬性值

runOn

取得或設定 runOn,指定要執行作業的組名。

runOn?: string

屬性值

string

startedBy

取得或設定啟動的工作。

startedBy?: string

屬性值

string

startTime

取得或設定作業的開始時間。

startTime?: Date

屬性值

Date

status

取得或設定作業的狀態。

status?: string

屬性值

string

statusDetails

取得或設定作業的狀態詳細數據。

statusDetails?: string

屬性值

string

繼承的屬性詳細資料

id

資源的完整資源標識碼。 範例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

屬性值

string

繼承自ProxyResource.id

name

資源的名稱

name?: string

屬性值

string

繼承自ProxyResource.name

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。

systemData?: SystemData

屬性值

繼承自ProxyResource.systemData

type

資源的類型。 例如:「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」

type?: string

屬性值

string

繼承自ProxyResource.type