ListTags
処理概要
タグの情報一覧を取得します。
1回のリクエストで複数のタグ情報を取得できます。
リクエストURL
GET /v1/tags
指定するパラメーター
クエリパラメーター
パラメーター |
型 |
説明 |
必須 |
nrn |
string |
タグ取得対象のNRN
|
|
応答フィールド
フィールド (項目) |
型 |
説明 |
tags[] |
object[] |
|
␣id |
string |
タグID
|
␣nrn |
string |
タグが付与されているリソースのNRN
|
␣key |
string |
キー
|
␣value |
string |
値
|
リクエストサンプル
curl https://jp-east-1.hatoba.api.nifcloud.com/v1/tags
-H "X-Amz-Date: 20190724T000000Z"
-H "Authorization: AWS4-HMAC-SHA256 ..."
応答サンプル
{
"tags": [
{
"id": "3f0d76e1-ba42-4099-8452-0ede1e074f23",
"key": "key01",
"nrn": "nrn:nifcloud:hatoba:jp-east-1:xxxxxxxx:firewall-group:3c896258-c296-433f-bfa2-97e97ffec0ff",
"value": "value01"
},
{
"id": "f9a82261-21cf-4f33-8753-584efc2c7e7b",
"key": "key02",
"nrn": "nrn:nifcloud:hatoba:jp-east-1:xxxxxxxx:cluster:da1543af-1cc3-469d-963b-760969a7a75f",
"value": "value02"
}
]
}