Adds or modifies tags for one or more resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:TagResources |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Service Mesh instance. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The resource type. Set the value to |
servicemesh |
| ResourceId |
array |
Yes |
The IDs of the Service Mesh instances. |
|
|
string |
Yes |
The ID of a Service Mesh instance. |
c418807cb4e5840eab018da7d8f5daa11 |
|
| Tag |
array<object> |
Yes |
The list of tags. |
|
|
object |
Yes |
A tag. A resource can have a maximum of 20 tags. |
||
| Key |
string |
Yes |
The tag key. Limits:
|
test |
| Value |
string |
Yes |
The tag value. Limits:
|
yahaha |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
Examples
Success response
JSON format
{
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.