共用方式為


OperationStatusResult interface

異步作的目前狀態。

屬性

endTime

作業的結束時間。 注意:這個屬性不會串行化。 它只能由伺服器填入。

error

如果有,作業錯誤的詳細數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

exitCode

對於運行命令或文稿的作,腳本執行的退出代碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

id

異步作業的完整標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

name

異步作業的名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

operations

作業清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。

outputHead

對於運行命令或文稿的作,腳本執行輸出的前導位元組。 注意:這個屬性不會串行化。 它只能由伺服器填入。

percentComplete

完成的作業百分比。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resourceId

啟動原始異步作業的資源完整標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resultRef

對於運行命令或腳本的作,對結果位置的引用。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resultUrl

對於運行命令或腳本的作,可以檢索腳本輸出的完整輸出的URL。 注意:這個屬性不會串行化。 它只能由伺服器填入。

startTime

作業的開始時間。 注意:這個屬性不會串行化。 它只能由伺服器填入。

status

作業狀態。

屬性詳細資料

endTime

作業的結束時間。 注意:這個屬性不會串行化。 它只能由伺服器填入。

endTime?: Date

屬性值

Date

error

如果有,作業錯誤的詳細數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

error?: ErrorDetail

屬性值

exitCode

對於運行命令或文稿的作,腳本執行的退出代碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

exitCode?: string

屬性值

string

id

異步作業的完整標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

id?: string

屬性值

string

name

異步作業的名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

operations

作業清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。

operations?: OperationStatusResult[]

屬性值

outputHead

對於運行命令或文稿的作,腳本執行輸出的前導位元組。 注意:這個屬性不會串行化。 它只能由伺服器填入。

outputHead?: string

屬性值

string

percentComplete

完成的作業百分比。 注意:這個屬性不會串行化。 它只能由伺服器填入。

percentComplete?: number

屬性值

number

resourceId

啟動原始異步作業的資源完整標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resourceId?: string

屬性值

string

resultRef

對於運行命令或腳本的作,對結果位置的引用。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resultRef?: string

屬性值

string

resultUrl

對於運行命令或腳本的作,可以檢索腳本輸出的完整輸出的URL。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resultUrl?: string

屬性值

string

startTime

作業的開始時間。 注意:這個屬性不會串行化。 它只能由伺服器填入。

startTime?: Date

屬性值

Date

status

作業狀態。

status: string

屬性值

string