診断レポートを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:DescribeDiagnoseReport |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DiagnoseType |
string |
任意 |
診断のタイプ。有効な値:
|
Performance |
| ResourceIds |
array |
任意 |
リソース ID。 |
d-asb1s8*** |
|
string |
任意 |
リソース ID のリスト。 |
d-bp14d1obw9qijunh8div |
|
| ReportIds |
array |
任意 |
診断レポート ID。 |
report-asb1s8*** |
|
string |
任意 |
診断レポートのリスト。 |
report-da21a**** |
|
| StartTime |
string |
任意 |
リソース診断の開始時刻。ISO 8601 標準の yyyy-MM-ddTHH:mm:ssZ フォーマットで時間を指定します。時間は協定世界時 (UTC) である必要があります。 |
2024-08-26T01:00:00Z |
| EndTime |
string |
任意 |
リソース診断の終了時間。ISO 8601 標準の yyyy-MM-ddTHH:mm:ssZ フォーマットで時間を指定します。時間は協定世界時 (UTC) である必要があります。 |
2024-08-26T02:06:00Z |
| Status |
string |
任意 |
診断レポートのステータス。有効な値:
|
Running |
| RegionId |
string |
任意 |
リージョン ID。 DescribeRegions を呼び出して、EBS レンズがサポートするリージョンをクエリできます。 |
cn-zhangjiakou |
| ClientToken |
string |
任意 |
クライアントリクエスト識別子として機能するサーバー生成の文字列。 |
123e4567-e89b-12d3-a456-42665544**** |
| MaxResults |
integer |
任意 |
ページングクエリの 1 ページあたりのエントリの最大値。有効な値: 1~30。 デフォルト値: 10。 |
10 |
| NextToken |
string |
任意 |
読み取りを開始する位置を示すページネーショントークン。空の値は最初から読み取ることを示します。 |
adf8a2534f1c0a23e0b5e8707e68181f |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
DescribeDiagnoseReportResponse。 |
||
| RequestId |
string |
リクエスト ID。 |
AAA478A0-BEE6-1D42-BEB6-A9CFEAD6**** |
| TotalCount |
integer |
返されたエントリの総数。 |
10 |
| NextToken |
string |
この呼び出しで返されたページネーショントークン。 |
f07b150eadfa1d7a |
| Reports |
array<object> |
診断レポートのリスト。 |
|
|
array<object> |
診断レポートのリスト。 |
||
| Status |
string |
診断レポートのステータス。有効な値:
Severity フィールドと Events フィールドは、Status が Success に設定されている場合にのみ有効です。 |
Success |
| ReportId |
string |
診断レポート ID。 |
report-sag8d**** |
| ResourceType |
string |
リソースタイプ。有効な値:
|
Disk |
| Severity |
string |
診断の重大度レベル。重大度レベルは昇順で次のとおりです:
|
Warn |
| FinishedTime |
integer |
診断レポートが完了した時間。UNIX/POSIX タイムスタンプ (秒) 形式です。 |
1727239295 |
| DiagnoseStartTime |
integer |
リソース診断の開始時刻のタイムスタンプ。 |
1727229294 |
| ResourceId |
string |
リソース ID。 |
d-wz95ycu**** |
| Events |
array<object> |
診断された問題のリスト。 |
|
|
object |
診断された問題のリスト。 |
||
| RecommendParams |
string |
推奨される操作のパラメーター。 |
4096 |
| Description |
string |
イベントの説明。 |
test |
| RecommendAction |
string |
イベントに対する推奨操作。有効な値:
|
ResizeDisk |
| StartTime |
integer |
イベントが開始されたときの Unix タイムスタンプ (ミリ秒)。 |
1755756214000 |
| Severity |
string |
診断された問題の重大度。有効な値は重大度の昇順でリストされています:
|
Warn |
| EventName |
string |
問題の名前。有効な値:
|
DiskIOPSExceedDiskMaxLimit |
| DiagnoseEndTime |
integer |
リソース診断の終了時間タイムスタンプ。 |
1727239294 |
| CreationTime |
integer |
診断レポートが作成された時間。UNIX/POSIX タイムスタンプ (秒) 形式です。 |
1727239294 |
| RegionId |
string |
リージョン ID。 |
cn-zhangjiakou |
| DiagnoseType |
string |
診断のタイプ。 |
Performance |
| AliUid |
integer |
ユーザー ID。 |
196380451**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "AAA478A0-BEE6-1D42-BEB6-A9CFEAD6****\n",
"TotalCount": 10,
"NextToken": "f07b150eadfa1d7a",
"Reports": [
{
"Status": "Success",
"ReportId": "report-sag8d****",
"ResourceType": "Disk",
"Severity": "Warn",
"FinishedTime": 1727239295,
"DiagnoseStartTime": 1727229294,
"ResourceId": "d-wz95ycu****",
"Events": [
{
"RecommendParams": "4096",
"Description": "test",
"RecommendAction": "ResizeDisk",
"StartTime": 1755756214000,
"Severity": "Warn",
"EventName": "DiskIOPSExceedDiskMaxLimit"
}
],
"DiagnoseEndTime": 1727239294,
"CreationTime": 1727239294,
"RegionId": "cn-zhangjiakou",
"DiagnoseType": "Performance",
"AliUid": 0
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. | 日文说明 |
| 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. | |
| 403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。