Mengkueri tag yang dilampirkan ke sumber daya di Wilayah tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ListTagResourcesForRegion |
get |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah. |
cn-hangzhou |
| NextToken |
string |
No |
Token yang digunakan untuk mengambil halaman hasil berikutnya. Opsional untuk permintaan pertama. Jika kueri tidak mengembalikan semua hasil, tanggapan berisi token. Anda dapat menggunakan token ini di permintaan berikutnya untuk melanjutkan kueri. |
212db86sca4384811e0b5e8707e****** |
| ResourceType |
string |
No |
Tipe sumber daya. Nilai valid:
|
cluster |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
If the response does not return all results, this parameter is returned. You can use this token in the next request to continue the query. |
212db86sca4384811e0b5e8707e****** |
| RequestId |
string |
The request ID. |
688C04E4-23F8-409F-8A38-B954D5****** |
| TagResources |
object |
||
| TagResource |
array<object> |
The information about the clusters and tags. |
|
|
object |
The tagged resource. |
||
| ResourceType |
string |
The resource type. Valid values:
|
cluster |
| TagValue |
string |
The tag value. |
test |
| ResourceId |
string |
The cluster ID. |
pc-**************** |
| TagKey |
string |
The tag key. |
type |
Contoh
Respons sukses
JSONformat
{
"NextToken": "212db86sca4384811e0b5e8707e******",
"RequestId": "688C04E4-23F8-409F-8A38-B954D5******",
"TagResources": {
"TagResource": [
{
"ResourceType": "cluster",
"TagValue": "test",
"ResourceId": "pc-****************",
"TagKey": "type"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.