Queries the details of a tag option.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:GetTagOption |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TagOptionId |
string |
Yes |
The ID of the tag option. |
tag-bp1r3mxq3t**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TagOptionDetail |
object |
The details of the tag option. |
|
| Active |
boolean |
Indicates whether the tag option is enabled. Valid values:
|
true |
| TagOptionId |
string |
The ID of the tag option. |
tag-bp15qmwz3r**** |
| Key |
string |
The key of the tag option. |
k1 |
| Value |
string |
The value of the tag option. |
v1 |
| Owner |
string |
The ID of the Alibaba Cloud account to which the tag option belongs. |
133413081827**** |
| RequestId |
string |
The ID of the request. |
C1509725-055D-5C7B-9420-8B737DBD**** |
Examples
Success response
JSON format
{
"TagOptionDetail": {
"Active": true,
"TagOptionId": "tag-bp15qmwz3r****",
"Key": "k1",
"Value": "v1",
"Owner": "133413081827****"
},
"RequestId": "C1509725-055D-5C7B-9420-8B737DBD****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.