Queries available Alibaba Cloud Service Mesh (ASM) versions when you create an ASM instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeVersions |
The operation that you want to perform. Set the value to DescribeVersions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
The ID of the request. |
VersionInfo | Array of VersionInfo |
The available ASM versions. |
|
Edition | String | Default |
The edition of the ASM instance. Valid values:
|
Versions | Array of String | v1.10.5.40-g2adf45be-aliyun |
The ASM versions available for the ASM instance of the current edition. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeVersions
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeVersionsResponse>
<RequestId>BD65C0AD-D3C6-48D3-8D93-38D2015C****</RequestId>
<VersionInfo>
<Edition>Default</Edition>
<Versions>v1.10.5.40-g2adf45be-aliyun</Versions>
</VersionInfo>
</DescribeVersionsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"VersionInfo" : {
"Edition" : "Default",
"Versions" : "v1.10.5.40-g2adf45be-aliyun"
}
}
Error codes
For a list of error codes, visit the API Error Center.