Adds a custom tag to assets by UUID.
Operation description
Security Center supports asset importance tags and custom tags. This operation adds only custom tags to assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:AddTagWithUuid |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TagName |
string |
Yes |
The name of the tag. |
InternetIp |
| UuidList |
string |
No |
The UUIDs of the servers. Separate multiple UUIDs with commas (,). Note
You can call the DescribeCloudCenterInstances operation to query server UUIDs. |
71f5313e-4355-4c59-86d1-557dda7b****,71f5313e-4355-4c59-86d1-557dda7b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID, used to locate and troubleshoot issues. |
7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1 |
Examples
Success response
JSON format
{
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.