Lists tag options.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:ListTagOptions |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Page number. Start value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
Number of data rows displayed per page during paging. Value range: 1 to 100. Start value: 1. Default value: 10. |
10 |
| Filters |
object |
No |
Filter condition. |
|
| Key |
string |
No |
Tag option key. |
k1 |
| Value |
string |
No |
Tag option value. |
v1 |
| Active |
boolean |
No |
Enable or disable. Values:
|
true |
| FullTextSearch |
string |
No |
Full text search. |
k1 |
| SortBy |
string |
No |
Sorting field. Set to CreateTime to indicate the tag option creation time. |
CreateTime |
| SortOrder |
string |
No |
Sorting order. Values:
|
Desc |
| NextToken |
string |
No |
||
| MaxResults |
integer |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Return parameters. |
||
| RequestId |
string |
Request ID. |
37C9C1DF-EFFC-5D8A-80D0-8657B1F3**** |
| TotalCount |
integer |
Total records. |
10 |
| PageNumber |
integer |
Page number. |
1 |
| PageSize |
integer |
Number of data rows displayed per page during paging. Value range: 1 to 100. Start value: 1. Default value: 10. |
10 |
| TagOptionDetails |
array<object> |
List of tag option details. |
|
|
object |
|||
| Active |
boolean |
Enable or disable. Values:
|
true |
| TagOptionId |
string |
Tag option ID. |
tag-bp1r3mxq3t**** |
| Key |
string |
Tag option key. |
k1 |
| Value |
string |
Tag option value. |
v1 |
| Owner |
string |
Alibaba Cloud account ID of the tag option owner. |
133413081827**** |
| NextToken |
string |
Examples
Success response
JSON format
{
"RequestId": "37C9C1DF-EFFC-5D8A-80D0-8657B1F3****",
"TotalCount": 10,
"PageNumber": 1,
"PageSize": 10,
"TagOptionDetails": [
{
"Active": true,
"TagOptionId": "tag-bp1r3mxq3t****",
"Key": "k1",
"Value": "v1",
"Owner": "133413081827****\n"
}
],
"NextToken": ""
}
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.