Queries information about clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeClusterInfoList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
The type of the feature. Valid values:
|
containerNetwork |
| TargetType |
string |
Yes |
The dimension by which to configure the feature. Valid values:
|
Cluster |
| Target |
string |
No |
The ID of the cluster. |
c23551de6149343e8a54e69fbefe6**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| ClusterList |
array<object> |
The cluster information. |
|
|
object |
The information about the cluster. |
||
| State |
string |
The status of the cluster. Valid values:
|
Available |
| ClusterType |
string |
The type of the cluster. Valid values:
|
ManagedKubernetes |
| ClusterName |
string |
The name of the container cluster. |
test111 |
| ClusterId |
string |
The ID of the container cluster. |
cfeb7a9f99ce740e98c5595d0fe37**** |
| RegionId |
string |
The region in which the cluster resides. |
cn-hangzhou |
| TargetResult |
boolean |
Whether container network topology is enabled. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"ClusterList": [
{
"State": "Available",
"ClusterType": "ManagedKubernetes",
"ClusterName": "test111",
"ClusterId": "cfeb7a9f99ce740e98c5595d0fe37****",
"RegionId": "cn-hangzhou",
"TargetResult": true
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.