Mengkueri tag yang ditambahkan ke Sumber daya tertentu.
Deskripsi operasi
The maximum number of times that each user can call this operation per second is 10.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeTagResources |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Tipe Sumber daya. Tetapkan nilai ke DOMAIN. |
DOMAIN |
| ResourceId |
array |
Yes |
ID Sumber daya. Anda dapat menentukan hingga 50 ID di setiap permintaan. |
1 |
|
string |
No |
The ID of the resource. The value is an accelerated domain name. |
example.com |
|
| Tag |
array<object> |
No |
Tag. Anda dapat menentukan hingga 20 tag di setiap permintaan. |
|
|
object |
No |
|||
| Key |
string |
No |
The key of the tag. Valid values of N: 1 to 20. |
key |
| Value |
string |
No |
The value of the tag. Valid values of N: 1 to 20. |
value |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
34AB41F1-04A5-496F-8C8D-634BDBE6A9FB |
| TagResources |
array<object> |
The tags that are attached to the specified resource. |
|
|
array<object> |
|||
| ResourceId |
string |
The ID of the resource. |
example.com |
| Tag |
array<object> |
The key-value pair of the tag. |
|
|
object |
|||
| Key |
string |
The key of the tag. |
env |
| Value |
string |
The value of the 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.