Menambahkan tag ke instans.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /v2/openapi/tagresources HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Badan permintaan. |
|
| ResourceType |
string |
Yes |
The type of the resource. Valid value: instance: instance |
instance |
| ResourceIds |
array |
Yes |
The resource IDs, which are instance names. |
|
|
string |
Yes |
The resource ID, which is the instance name. |
c-74b774f34061e022 |
|
| Tags |
array<object> |
Yes |
The tags. |
|
|
object |
Yes |
The tag. |
||
| Key |
string |
Yes |
The tag key. |
created |
| Value |
string |
Yes |
The tag value. |
job-0007z8j1omiabo5i872l |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned struct. |
||
| RequestId |
string |
The request ID, which can be used to troubleshoot issues. |
44FDC379-4443-560E-B652-9F7476D8854F |
Contoh
Respons sukses
JSONformat
{
"RequestId": "44FDC379-4443-560E-B652-9F7476D8854F"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.