Menambahkan tag ke resource.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:TagResources |
create |
LoadBalancer
ServerGroup
Acl
SecurityPolicy
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Jenis resource. Nilai yang valid:
|
loadbalancer |
| ResourceId |
array |
Yes |
ID resource. |
acl-123 |
|
string |
No |
ID resource. |
alb-gws76zi****** |
|
| Tag |
array<object> |
Yes |
Tag. |
test |
|
object |
No |
Tag. |
||
| Key |
string |
No |
Kunci tag. Panjang kunci tag dapat mencapai 128 karakter dan tidak boleh diawali dengan |
env |
| Value |
string |
No |
Nilai tag. Panjang nilai tag dapat mencapai 128 karakter dan tidak boleh diawali dengan |
product |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Operasi untuk menambahkan tag ke resource. |
||
| RequestId |
string |
ID permintaan. |
593B0448-D13E-4C56-AC0D-FDF****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "593B0448-D13E-4C56-AC0D-FDF******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotFound.Acl | The specified resource %s is not found. | |
| 404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. | |
| 404 | ResourceNotFound.SecurityPolicy | The specified resource %s is not found. | |
| 404 | ResourceNotFound.ServerGroup | The specified resource %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.