Creates a tag.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:CreateTag |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TagName |
string |
Yes |
The name of the tag. The name must be 1 to 128 characters long and can contain letters, digits, and underscores (_). |
test |
| TagDescription |
string |
No |
The description of the tag. |
test description |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TagId |
string |
The ID of the tag. |
91141 |
| RequestId |
string |
The ID of the request. |
10A1AD70-E48E-476D-98D9-39BD92193837 |
Examples
Success response
JSON format
{
"TagId": "91141",
"RequestId": "10A1AD70-E48E-476D-98D9-39BD92193837"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.