Panggil operasi DescribeDcdnTagResources untuk mengkueri tag yang terkait dengan resource.
Deskripsi operasi
Setiap pengguna dapat memanggil operasi ini hingga 10 kali per detik.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnTagResources |
get |
domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Tipe resource. Tetapkan nilainya ke DOMAIN. |
DOMAIN |
| ResourceId |
array |
Yes |
Daftar ID resource. Anda dapat menentukan hingga 50 ID resource. |
example.com |
|
string |
No |
ID resource. |
example.com |
|
| Tag |
array<object> |
No |
Daftar tag. Anda dapat menentukan hingga 20 tag. |
|
|
object |
No |
|||
| Key |
string |
No |
kunci tag. |
env |
| Value |
string |
No |
nilai tag. |
product |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
34AB41F1-04A5-496F-8C8D-634BDBE6A9FB |
| TagResources |
array<object> |
tag resource. |
|
|
array<object> |
|||
| ResourceId |
string |
ID resource. |
example.com |
| Tag |
array<object> |
tag. |
|
|
object |
|||
| Key |
string |
kunci tag. |
env |
| Value |
string |
nilai tag. |
product |
Contoh
Respons sukses
JSONformat
{
"RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB",
"TagResources": [
{
"ResourceId": "example.com",
"Tag": [
{
"Key": "env",
"Value": "product"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.