Queries the Kubernetes clusters that are deployed in different virtual private clouds (VPCs) and are not connected by using a Cloud Enterprise Network (CEN) instance among all the Kubernetes clusters that are added to an Alibaba Cloud Service Mesh (ASM) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeCens |
The operation that you want to perform. Set the value to DescribeCens. |
ServiceMeshId | String | No | ce134b0727aa2492db69f6c3880e1**** |
The ID of the ASM instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
The ID of the request. |
Clusters | Array of String | c584d805c7bd442b8bac421f9849f***** |
The IDs of the queried Kubernetes clusters. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeCens
&ServiceMeshId=ce134b0727aa2492db69f6c3880e1****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeCensResponse>
<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>
<Clusters>c584d805c7bd442b8bac421f9849f*****</Clusters>
</DescribeCensResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"Clusters" : "c584d805c7bd442b8bac421f9849f*****"
}
Error codes
For a list of error codes, visit the API Error Center.