Retrieves the supported search criteria for the container list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeContainerCriteria |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupField |
string |
No |
The search field. Valid values:
|
clusterId |
| Value |
string |
No |
The value of the search field. Fuzzy match is supported for application names, node names, namespaces, cluster names, public IP addresses, pod addresses, regions, pods, instance IDs, cluster IDs, and container IDs. |
cfb41a869c71e4678a97021582dd8a**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting. |
A4EB8B1C-1DEC-5E18-BCD0-D1BBB3936FA7 |
| CriteriaList |
array<object> |
The list of supported search criteria. |
|
|
object |
The supported search criteria. |
||
| Type |
string |
The type of the query condition. Valid values:
|
input |
| Name |
string |
The name of the query condition.
|
clusterId |
| Values |
string |
The available options when Type (the type of the query condition) is select. Note
When Type (the type of the query condition) is input, this parameter returns an empty value. |
ManagedKubernetes,NotManagedKubernetes,PrivateKubernetes |
Examples
Success response
JSON format
{
"RequestId": "A4EB8B1C-1DEC-5E18-BCD0-D1BBB3936FA7",
"CriteriaList": [
{
"Type": "input",
"Name": "clusterId",
"Values": "ManagedKubernetes,NotManagedKubernetes,PrivateKubernetes"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.