Queries the version of a specified instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDrdsInstanceVersion

The operation that you want to perform. Set the value to DescribeDrdsInstanceVersion.

DrdsInstanceId String Yes drds********

The instance ID.

Response parameters

Parameter Type Example Description
Data Struct

The details about the instance version.

InstanceVersion String 5.3.12-15682777

The current version of the instance.

NewestVersion String 5.3.12-15682777

The latest version of the instance.

RequestId String 2F7F8080-9132-4279-85D0-B7E5C4305162

The ID of the request.

Success Boolean true

Indicates whether the request is successful.

Examples

Sample requests

http(s)://drds.aliyuncs.com/? Action=DescribeDrdsInstanceVersion
&DrdsInstanceId=drds********
&<Common request parameters>

Sample success responses

XML format

<DescribeDrdsInstanceVersion>
	  <RequestId>88AFEF28-DF04-4E21-9CE9-277D3C19E3CD</RequestId>
	  <Data>
		    <InstanceVersion>5.3.12-15682777</InstanceVersion>
		    <NewestVersion>5.3.12-15682777</NewestVersion>
	  </Data>
	  <Success>true</Success>
</DescribeDrdsInstanceVersion>

JSON format

{
    "RequestId": "88AFEF28-DF04-4E21-9CE9-277D3C19E3CD",
    "Data": {
        "InstanceVersion": "5.3.12-15682777",
        "NewestVersion": "5.3.12-15682777"
    },
    "Success": true
}

Error codes

HttpCode Error code Error message Description
400 ActionUnauthorized The specified action is not available for you The error message returned because you are not authorized to perform this action. Perform Resource Access Management (RAM) authorization first.

For a list of error codes, visit the API Error Center.