集中ロールを使用して、指定されたアプリケーションの履歴レポートリストを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:ListReports |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| NextToken |
string |
任意 |
ページネーショントークン。このパラメーターには、前の API 呼び出しで返された NextToken の値を設定します。 |
a6792e832ff0XXXXX |
| MaxResults |
integer |
任意 |
トークンベースのページネーションを使用する場合に返すエントリの最大値。 |
10 |
| PageSize |
integer |
任意 |
ページングクエリにおける 1 ページあたりのエントリ数。 |
100 |
| PageNumber |
integer |
任意 |
ページングクエリにおけるページ番号。 |
1 |
| RegionId |
string |
任意 |
リージョン ID。 DescribeRegions を呼び出して、EBS レンズがサポートするリージョンをクエリできます。 |
cn-hangzhou |
| AppId |
string |
任意 |
アプリケーションの ID。 |
app-xxx |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
DescribeAppHistoryReportsResponse。 |
||
| HistoryReports |
array<object> |
historyReports。 |
|
|
object |
|||
| AppName |
string |
アプリケーション名。 |
default |
| ReportId |
string |
レポートの ID。 |
report-e19c7b597f5fXX |
| ReportTime |
string |
レポートが生成された時間 (協定世界時 (UTC))。 |
2024-10-07T02:09:17Z |
| SubscribePeriod |
string |
レポートのサブスクリプション期間。 |
Weekly |
| ReportName |
string |
レポート名。 |
default-2024-09-30~2024-10-07-Usage Report |
| NextToken |
string |
ページネーショントークン。このパラメーターには、前の API 呼び出しで返された NextToken の値を設定します。 |
a6792e832ff0XXXX |
| PageNumber |
integer |
ページングクエリにおけるページ番号。 |
1 |
| PageSize |
integer |
ページングクエリにおける 1 ページあたりのエントリ数。 |
10 |
| TotalCount |
integer |
エントリの総数。 |
1 |
| RequestId |
string |
このリクエストに対して Alibaba Cloud によって生成されたリクエスト ID。 |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
例
成功レスポンス
JSONJSON
{
"HistoryReports": [
{
"AppName": "default",
"ReportId": "report-e19c7b597f5fXX",
"ReportTime": "2024-10-07T02:09:17Z",
"SubscribePeriod": "Weekly",
"ReportName": "default-2024-09-30~2024-10-07-Usage Report"
}
],
"NextToken": "a6792e832ff0XXXX",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****"
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。