Adds tags to cloud resources which are Resource Access Management (RAM) roles and policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:TagResources |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The resource type. Enumerated values:
Valid values:
|
role |
| ResourceNames |
array |
No |
The names of the resources. You can specify up to 50 resource names. |
|
|
string |
Yes |
The name of the resource. |
role1 |
|
| Tag |
array<object> |
Yes |
The tags. You can specify up to 20 tags. |
|
|
object |
Yes |
The tag. |
||
| Key |
string |
Yes |
The key of the tag. The tag key can be up to 128 characters in length. |
k1 |
| Value |
string |
Yes |
The value of the tag. The tag value can be up to 256 characters in length. |
v1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
697852FB-50D7-44D9-9774-530C31EAC572 |
Examples
Success response
JSON format
{
"RequestId": "697852FB-50D7-44D9-9774-530C31EAC572"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.