共用方式為


TaskResource interface

工作詳細數據

Extends

屬性

completedAt

工作完成的時間

lastPolledAt

上次輪詢工作的時間

metadata

如果工作未完成,工作已移至其目前狀態的原因。

phase

工作處於中的階段

provisioningState

資源布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

reason

如果工作未完成,工作已移至其目前狀態的原因。

startedAt

工作開始的時間

state

工作處於的狀態

繼承的屬性

id

資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此屬性將不會串行化。 它只能由伺服器填入。

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type

資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。

屬性詳細資料

completedAt

工作完成的時間

completedAt?: string

屬性值

string

lastPolledAt

上次輪詢工作的時間

lastPolledAt?: string

屬性值

string

metadata

如果工作未完成,工作已移至其目前狀態的原因。

metadata?: Record<string, unknown>

屬性值

Record<string, unknown>

phase

工作處於中的階段

phase?: string

屬性值

string

provisioningState

資源布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState?: string

屬性值

string

reason

如果工作未完成,工作已移至其目前狀態的原因。

reason?: string

屬性值

string

startedAt

工作開始的時間

startedAt?: string

屬性值

string

state

工作處於的狀態

state?: 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