Calls the TagResources operation to add tags to resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:TagResources |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The resource type. The value must be PolarDBXInstance. |
PolarDBXInstance |
| ResourceId |
array |
Yes |
The resource IDs. You can specify up to 50 subkeys. |
|
|
string |
No |
The instance ID. |
pxc-xxxxx |
|
| Tag |
array<object> |
Yes |
The list of labels. You can specify up to 20 subkeys. |
|
|
object |
No |
The label. |
||
| Key |
string |
No |
The label key. |
12 |
| Value |
string |
No |
The label value. |
22 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
requestId |
xxxx-xxxx |
Examples
Success response
JSON format
{
"RequestId": "xxxx-xxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.