Adds or modifies user tags on a resource.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the Service Mesh (ASM) instance. | cn-hangzhou |
ResourceType | string | Yes | The resource type. Set the value to | servicemesh |
ResourceId | array | Yes | The IDs of the ASM instances. | |
string | Yes | The ID of the tagged ASM instance. | c418807cb4e5840eab018da7d8f5daa11 | |
Tag | object [] | Yes | The tags. | |
Key | string | Yes | The tag keys. The following limits apply:
| test |
Value | string | Yes | The tag values. The following limits apply:
| yahaha |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}
Error codes
For a list of error codes, visit the Service error codes.