メディアアセットの階層型ストレージの使用量を照会します。
操作説明
Currently, only the following endpoint is supported: China (Shanghai).
When the query time interval is within 7 days, data with hourly granularity is returned. When the query time interval is greater than 7 days, data with daily granularity is returned. The maximum interval is 31 days.
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vod:DescribeVodTieringStorageData |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| StartTime |
string |
任意 |
データ取得の開始時刻。日付形式は ISO8601 表記に従い、協定世界時 (UTC) を使用します。フォーマット: YYYY-MM-DDThh:mmZ。このパラメーターが空の場合、デフォルトで過去 24 時間のデータが取得されます。 |
2023-05-29T01:00:00Z |
| EndTime |
string |
任意 |
データ取得の終了時間。開始時刻より後で、開始時刻から 31 日を超えることはできません。フォーマット: yyyy-MM-ddTHH:mm:ssZ (協定世界時 (UTC))。 |
2023-05-29T02:00:00Z |
| Region |
string |
任意 |
ストレージリージョン。デフォルトでは、すべてのリージョンが返されます。複数のリージョンをカンマ (,) で区切ってクエリできます。 |
cn-beijing |
| StorageClass |
string |
任意 |
ストレージクラス。デフォルトでは、すべてのタイプが返されます。有効な値:
|
IA |
| AppId |
string |
任意 |
アプリケーション ID。 |
app-1000000 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4AF6-D7393642CA58**** |
| StorageData |
array<object> |
The storage usage data. |
|
|
object |
The storage usage data. |
||
| TimeStamp |
string |
The start time of the time slice. Format: yyyy-MM-ddTHH:mm:ssZ (UTC time). |
2023-05-29T01:00:00Z |
| Region |
string |
The storage region. |
cn-beijing |
| StorageClass |
string |
The storage class. |
IA |
| StorageUtilization |
integer |
The storage usage data. Unit: byte. |
1234 |
| LessthanMonthDatasize |
integer |
The data storage less than one month. Unit: byte. |
123 |
例
成功レスポンス
JSONJSON
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****",
"StorageData": [
{
"TimeStamp": "2023-05-29T01:00:00Z",
"Region": "cn-beijing",
"StorageClass": "IA",
"StorageUtilization": 1234,
"LessthanMonthDatasize": 123
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidEndTime.Malformed | Specified EndTime is malformed. | |
| 400 | InvalidParameterType | The specified Type is invalid. | |
| 400 | InvalidTimeSpan | The time span exceeds the limit. | |
| 400 | InvalidParameter | Invalid input parameter. | |
| 400 | InvalidTime.Malformed | The specified Time is malformed. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。