ユーザーのディスクとスナップショットのタグキーを照会します。
操作説明
API の説明
ユーザーのクラウドディスクとスナップショットのタグのキーと値のペアを照会します。`filterTagKey` を使用して検索範囲を絞り込むことができます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:DescribeUserTagKeys |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| NextToken |
string |
任意 |
この呼び出しによって返されるクエリトークン (トークン) です。 |
f07b150eadfa1d7a |
| MaxResults |
integer |
任意 |
ページ分割されたクエリにおける、1ページあたりのエントリ数です。最大値は 100 です。 デフォルト値:
|
10 |
| TagFilterKey |
string |
任意 |
クエリをフィルターするためのタグキーです。 |
tagKey |
| RegionId |
string |
任意 |
リソースが属するリージョンの ID です。DescribeRegions を呼び出して、Alibaba Cloud リージョンの最新リストを表示できます。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
DescribeLensUserTagKeyResponse |
||
| TagKeys |
array |
一致するタグキーのリストです。 |
|
|
string |
一致するタグキーのリストです。 |
{'TagKey': []} |
|
| NextToken |
string |
次のクエリのトークンです。`NextToken` が空の場合、結果はこれ以上ないことを示します。 |
f07b150eadfa1d7a |
| RequestId |
string |
リクエスト ID です。 |
C123F94F-4E38-19AE-942A-A8D6F44F**** |
| MaxResults |
integer |
ページ分割されたクエリにおける、1ページあたりのエントリ数です。最大値は 100 です。 デフォルト値:
|
10 |
例
成功レスポンス
JSONJSON
{
"TagKeys": [
"{'TagKey': []}"
],
"NextToken": "f07b150eadfa1d7a",
"RequestId": "C123F94F-4E38-19AE-942A-A8D6F44F****",
"MaxResults": 10
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。