Queries the versions of the Cloud Controller Manager (CCM) component.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DescribeCCMVersion |
The operation that you want to perform. Set the value to DescribeCCMVersion. |
| ServiceMeshId | String | Yes | c08ba3fd1e6484b0f8cc1ad8fe10d**** |
The ID of the Alibaba Cloud Service Mesh (ASM) instance. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| CCMVersions | Map |
The versions of the CCM component in all clusters on the data plane. |
|
| Object |
The version information about the CCM component. |
||
| QueryState | String | time_out |
The status of the query. Valid values:
|
| Version | String | v2.0.1 |
The version of the CCM component. |
| SLBGracefulDrainSupport | Boolean | true |
Indicates whether the CCM component supports graceful disconnection of the Server Load Balancer (SLB) instance. Valid values:
|
| ClusterId | String | cfbb81b9b51a44b299349xxxxxxxxxxxx |
The ID of the cluster instance on the data plane. |
| Message | String | timeout error |
The additional information that is returned when the query fails. This parameter is empty if the query is successful. |
| RequestId | String | BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeCCMVersion
&ServiceMeshId=c08ba3fd1e6484b0f8cc1ad8fe10d****
&Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeCCMVersionResponse>
<CCMVersions>
<key>
<QueryState>time_out</QueryState>
<Version>v2.0.1</Version>
<SLBGracefulDrainSupport>true</SLBGracefulDrainSupport>
<ClusterId>cfbb81b9b51a44b299349xxxxxxxxxxxx</ClusterId>
<Message>timeout error</Message>
</key>
</CCMVersions>
<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>
</DescribeCCMVersionResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"CCMVersions" : {
"key" : {
"QueryState" : "time_out",
"Version" : "v2.0.1",
"SLBGracefulDrainSupport" : true,
"ClusterId" : "cfbb81b9b51a44b299349xxxxxxxxxxxx",
"Message" : "timeout error"
}
},
"RequestId" : "BD65C0AD-D3C6-48D3-8D93-38D2015C****"
}
Error codes
| Http status code | Error code | Error message | Description |
|---|---|---|---|
| 503 | ERR404 | Not found | The error message returned because no data is found. |
For a list of error codes, visit the API Error Center.