觸發診斷
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| DiagnoseType |
string |
是 |
診斷類型,可選的有:
|
Performance |
| ResourceId |
string |
否 |
資源 ID。 |
d-asb1s8*** |
| ResourceType |
string |
否 |
資源類型。當前可選的有:
|
Disk |
| StartTime |
string |
否 |
開始時間。按照 ISO 8601 標準表示,並使用 UTC+0 時間,格式為 yyyy-MM-ddTHH:mm:ssZ。 |
2024-09-01T02:26:00Z |
| EndTime |
string |
否 |
結束時間。按照 ISO 8601 標準表示,並使用 UTC+0 時間,格式為 yyyy-MM-ddTHH:mm:ssZ。 |
2024-09-07T16:49:25Z |
| RegionId |
string |
否 |
地區 ID。您可以調用 DescribeRegions 查詢Block Storage資料洞察支援的地區列表。 |
cn-zhangjiakou |
| ClientToken |
string |
否 |
服務端產生的一串字串,作為用戶端進行請求的一個標識。 |
123e4567-e89b-12d3-a456-42665544**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
CreateDiagnoseReportResponse |
||
| RequestId |
string |
請求 ID。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| ReportId |
string |
診斷報告 ID,資源診斷報告的唯一標誌。 |
report-qe2s**** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"ReportId": "report-qe2s****"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The parameter %s is invalid. | 參數錯誤 |
| 400 | InvalidParameter.Conflict | The specified parameter %s and %s are not blank at the same time. | 參數衝突 |
| 400 | InvalidParameter.Format | Specified parameter format is not valid. | 傳回值格式不正確(Format 不支援)。返回格式支援 XML 與 JSON,預設為 XML。 |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | 參數缺失。 |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | 內部錯誤。 |
| 403 | Forbidden | User is not authorized to operate. | 目前使用者無許可權對當前資源執行任何操作。請檢查您的帳號許可權或者諮詢您的主帳號管理員。 |
| 403 | Forbidden.Action | User is not authorized to operate this action. | 目前使用者無許可權執行該操作。請檢查您的帳號許可權或者諮詢您的主帳號管理員。 |
| 403 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | 您的賬戶餘額不足。 |
| 403 | LastTokenProcessing | The last token request is processing. | 相同clientToken的請求正在執行,請稍後再重試。 |
| 403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | 目前使用者無許可權建立SLR。 |
| 403 | OperationDenied | The operation is not allowed. | 當前操作不允許執行。 |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | NoSuchResource | The specified resource does not exist. | 指定的資源不存在。 |
| 504 | RequestTimeout | The request is timeout, please try again later. | 該請求逾時,請稍後再重試。 |
| 429 | BLOCK.LimitedRequest | Request was denied due to user flow control. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。