Queries the version of a DRDS instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeDrdsInstanceVersion |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drdshbga1138**** |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
2F7F8080-9132-4279-85D0-B7E5C4305162 |
| Data |
object |
The instance version details. |
|
| NewestVersion |
string |
The latest instance version. |
5.4.12-16315258 |
| InstanceVersion |
string |
The current instance version. |
5.3.12-15682777 |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "2F7F8080-9132-4279-85D0-B7E5C4305162",
"Data": {
"NewestVersion": "5.4.12-16315258",
"InstanceVersion": "5.3.12-15682777"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ActionUnauthorized | The specified action is not available for you | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidDRDSInstanceId.NotFound | The DrdsInstanceId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.