一元管理ロール:reportId を使用してユーザー利用状況レポートを取得します
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:GetReport |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ReportId |
string |
任意 |
ReportType が history の場合、ReportId に基づいて履歴レポートをクエリするには ReportId が必須です。 |
report-74fbea80e802xxxx |
| RegionId |
string |
任意 |
リージョン名。 |
cn-hangzhou |
| ReportType |
string |
任意 |
選択可能な値:history/present。 |
history |
| AppName |
string |
任意 |
任意。AppName は ReportType が present の場合にのみ有効です。 |
App1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
GetReportResponse。 |
||
| Datas |
array<object> |
データ詳細。 |
|
|
array<object> |
|||
| Title |
string |
データタイトル。 |
disk_count_percent_by_category |
| Data |
array<object> |
データ。 |
|
|
array<object> |
|||
| Labels |
object |
データラベル。 |
{ "category": "cloud" } |
| DataPoints |
object |
データポイント。 |
{ "1726416000": 0.44, "1726502400": 0.44, "1726588800": 0.44, "1726675200": 0.44, "1726761600": 0.43, "1726848000": 0.43, "1726934400": 0.43, "1727020800": 0.43 } |
| RequestId |
string |
リクエスト ID。 |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
例
成功レスポンス
JSONJSON
{
"Datas": [
{
"Title": "disk_count_percent_by_category",
"Data": [
{
"Labels": {
"category": "cloud"
},
"DataPoints": {
"1726416000": 0.44,
"1726502400": 0.44,
"1726588800": 0.44,
"1726675200": 0.44,
"1726761600": 0.43,
"1726848000": 0.43,
"1726934400": 0.43,
"1727020800": 0.43
}
}
]
}
],
"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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。