Memberi tag pada instans Sumber daya ARMS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:TagResources |
update |
*Prometheus
*RetcodeApp
*TraceApp
*Environment
*GrafanaWorkspace
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
array |
Yes |
ID proses (PID) atau ID instans aplikasi. Anda dapat menentukan hingga 50 ID. |
|
|
string |
No |
ID instans. |
uxqcr8b*** |
|
| Tag |
array<object> |
Yes |
Daftar tag. Anda dapat menentukan hingga 20 tag. |
|
|
object |
No |
Tag. |
||
| Key |
string |
No |
Kunci tag. |
Key1 |
| Value |
string |
No |
Nilai tag. |
Test1 |
| ResourceType |
string |
Yes |
Jenis Sumber daya ARMS yang ingin Anda ubah tag-nya.
|
APPLICATION |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
05919CF2-B8A1-588D-B3DB-89B3******** |
| Data |
string |
Apakah permintaan berhasil. |
success |
Contoh
Respons sukses
JSONformat
{
"RequestId": "05919CF2-B8A1-588D-B3DB-89B3********",
"Data": "success"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DuplicateTagKey | Param tagKey is duplicate. | |
| 400 | NoPermissionKeyOperator | user is no permission for operating param tagKey. | |
| 400 | ResourceIdAndTagIsNull | resourceId or tag param must have one | |
| 400 | TagISNull | param tag must be not null. | |
| 400 | TagNumOUT | the number of tag is out . | |
| 400 | ResourceIdIsNull | param resourceId must be not null. | |
| 400 | ResourceTypeIllegal | The ResourceType parameter is invalid. | |
| 400 | NoPermissionUSER | user no permission | |
| 400 | ScopeDisAgreement | Param scope is different from before. | |
| 400 | ParameterNextTokenIllegal | param nextToken is invalid. | |
| 400 | InvalidParameterTagKey | The specified TagKey is invalid. | |
| 400 | InvalidParameterTagValue | The specified TagValue is invalid. | |
| 400 | TagKeyIsIllegal | The specified TagKey is invalid. | |
| 400 | TagValueIsIllegal | The specified TagValue is invalid. | |
| 400 | ResourceIDOUT | The specified resourceId number is out of range. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.