Zones - Get Cascade Delete Job Details

取得指定之作業識別碼的串聯刪除作業。

GET {endpoint}/zones/cascade-delete/{jobId}?api-version=2023-11-01-preview

URI 參數

名稱 位於 必要 類型 Description
endpoint
path True

string (uri)

命名空間的主機名,例如 admaInstanceName.farmbeats.azure.net

jobId
path True

string

作業的標識碼。

api-version
query True

string

要求的 API 版本

要求標頭

名稱 必要 類型 Description
Authorization True

string

請提供授權 API 呼叫的有效持有人令牌。 請注意,如果您之前嘗試未驗證的呼叫,您可能需要清除瀏覽器快取。

回應

名稱 類型 Description
200 OK

CascadeDeleteJob

成功

Other Status Codes

ErrorResponse

錯誤

標題

x-ms-error-code: string

安全性

Authorization

請提供授權 API 呼叫的有效持有人令牌。 請注意,如果您之前嘗試未驗證的呼叫,您可能需要清除瀏覽器快取。

類型: apiKey
位於: header

範例

Zones_GetCascadeDeleteJobDetails

範例要求

GET {endpoint}/zones/cascade-delete/JOB123?api-version=2023-11-01-preview

範例回覆

{
  "id": "JOB123",
  "status": "Succeeded",
  "message": "Job completed successfully.",
  "durationInSeconds": 14.7977857,
  "createdDateTime": "2021-04-19T11:31:20Z",
  "lastActionDateTime": "2021-04-19T11:31:34Z",
  "startTime": "2021-04-19T11:31:19Z",
  "endTime": "2021-04-19T11:31:34Z",
  "partyId": "PARTY123",
  "resourceId": "ZONE123",
  "resourceType": "zone"
}

定義

名稱 Description
CascadeDeleteJob

串聯刪除作業的架構。

Error

來自 Azure AgPlatform 服務的錯誤。

ErrorResponse

來自 Azure AgPlatform 服務的錯誤回應。 如需 ErrorResponse 參考檔,請參閱 https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

InnerError

包含錯誤清單的內部錯誤。請參閱 innerError 參考檔 https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object

JobStatus

作業的狀態。 可能的值:『Waiting』、『Running』、『Succeeded』、『Failed』、『Cancelled』。

CascadeDeleteJob

串聯刪除作業的架構。

名稱 類型 Description
createdDateTime

string (date-time)

在 dateTime 建立的作業。 範例格式:yyyy-MM-ddTHH:mm:ssZ。

durationInSeconds

number (double)

作業的持續時間以秒為單位。

endTime

string (date-time)

可用時的工作結束時間。 範例格式:yyyy-MM-ddTHH:mm:ssZ。

errorCode

string

作業失敗時的錯誤碼。

id

string

唯一作業標識碼。

lastActionDateTime

string (date-time)

作業上次在 dateTime 上執行。 範例格式:yyyy-MM-ddTHH:mm:ssZ。

message

string

用來擷取更多作業詳細數據的狀態消息。

partyId

string

minLength: 1

合作對象識別碼。

resourceId

string

minLength: 1

資源的標識碼。

resourceType

string

minLength: 1

資源的型別。

startTime

string (date-time)

可用的作業開始時間。 範例格式:yyyy-MM-ddTHH:mm:ssZ。

status

JobStatus

作業的狀態。 可能的值:『Waiting』、『Running』、『Succeeded』、『Failed』、『Cancelled』。

Error

來自 Azure AgPlatform 服務的錯誤。

名稱 類型 Description
code

string

minLength: 1

伺服器定義的錯誤碼集。

details

Error[]

導致此錯誤之特定錯誤的詳細數據陣列。

innererror

InnerError

包含錯誤清單的內部錯誤。請參閱 innerError 參考檔 https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object

message

string

minLength: 1

人類可讀取的錯誤表示法。

target

string

錯誤的目標。

ErrorResponse

來自 Azure AgPlatform 服務的錯誤回應。 如需 ErrorResponse 參考檔,請參閱 https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

名稱 類型 Description
error

Error

來自 Azure AgPlatform 服務的錯誤。

traceId

string

唯一追蹤標識碼。

InnerError

包含錯誤清單的內部錯誤。請參閱 innerError 參考檔 https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object

名稱 類型 Description
code

string

包含錯誤所提供的特定錯誤碼。

innererror

InnerError

包含錯誤清單的內部錯誤。請參閱 innerError 參考檔 https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object

JobStatus

作業的狀態。 可能的值:『Waiting』、『Running』、『Succeeded』、『Failed』、『Cancelled』。

Description
Waiting
Running
Succeeded
Failed
Cancelled