Menambahkan atau memodifikasi tag untuk sumber daya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:TagResources |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa permintaan dan respons. Nilai default: zh. Nilai yang valid:
|
en |
| ResourceType |
string |
Yes |
Jenis sumber daya. Nilai yang valid:
|
DOMAIN |
| Tag |
array<object> |
Yes |
Array pasangan kunci-nilai tag. |
|
|
object |
No |
|||
| Key |
string |
No |
Kunci tag. Kunci tidak boleh dimulai dengan |
abcd |
| Value |
string |
No |
Nilai tag. Nilai tidak boleh lebih panjang dari 20 byte. |
abcd |
| ResourceId |
array |
Yes |
ID sumber daya. |
dns-example.com |
|
string |
No |
Nama domain. |
example.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan yang unik. |
635B0CCD-15A7-48C9-B4D6-628FF57FF4B8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "635B0CCD-15A7-48C9-B4D6-628FF57FF4B8"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.