Queries an upgrade or migration verification report.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeUpgradeReport |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query available regions. |
cn-hangzhou |
| SourceDBClusterId |
string |
No |
The source instance ID. |
rm-2zen5pe5vi56447d0 |
| DBType |
string |
No |
The database type. Valid values:
|
MySQL |
| DBVersion |
string |
No |
The compatible database version. |
8.0 |
| TaskId |
string |
No |
The task ID. |
2321321 |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
30 |
| Status |
string |
No |
The task status. |
Running |
| Type |
string |
No |
The special metric. Currently, only tair (PolarTair architecture) is supported. |
orca |
| CreationCategory |
string |
No |
The edition. Valid values:
For more information about editions, see Product editions. |
Normal |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
2FED790E-FB61-4721-8C1C-07C627****** |
| SourceDBClusterId |
string |
The source instance ID. |
rm-2zen5pe5vi56447d0 |
| TotalSize |
integer |
The total number of entries in the query result. |
137 |
| UpgradeReportList |
array<object> |
The list of assessment reports. |
|
|
object |
|||
| TaskId |
string |
The ID of the target task. |
275948 |
| CheckTime |
string |
The check time. The time is in the ISO 8601 standard in the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ). |
2024-03-15T06:48:44Z |
| DstVersion |
string |
The version of the target instance. |
8.0 |
| SrcInsName |
string |
The name of the source instance. |
pc-2ze54671qoz830za9 |
| SrcVersion |
string |
The version of the source instance. |
5.7 |
| UpgradeMode |
string |
The upgrade mode. |
rds2polar_pengine_with_dts |
| Result |
string |
The status of the assessment task. |
running |
| EffectiveTime |
string |
The effective period of the assessment. The time is in the ISO 8601 standard in the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ). |
2024-03-08T06:48:44Z |
| StartTime |
string |
The start time of the assessment. The time is in the ISO 8601 standard in the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ). |
2025-07-05T01:56:00Z |
| EndTime |
string |
The end time of the assessment. The time is in the ISO 8601 standard in the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ). |
2024-03-08T06:48:44Z |
| ItemsSize |
integer |
The length of the Oracle compatibility assessment details list. |
10 |
| Items |
array<object> |
The Oracle compatibility assessment details list. Note
Only Oracle instances are supported. |
|
|
object |
The list. |
||
| Schema |
string |
The schema to which the assessed object belongs. |
ny_openapi |
| Type |
string |
The object type of the assessed object. |
orca |
| Name |
string |
The name of the assessed object. |
testName |
| Status |
string |
The compatibility assessment result. Valid values:
|
1 |
| DDL |
string |
The DDL statement for object synchronization. |
CREATE XXXX |
| Details |
string |
The details. |
[] |
| SrcDBType |
string |
The database type of the source instance. Valid values:
|
MySQL |
| DstDBType |
string |
The database type of the target instance. Valid values:
|
MySQL |
| SrcDeleted |
string |
The deletion status of the source instance. Valid values:
|
1 |
| Type |
string |
The special metric. Currently, only tair (PolarTair architecture) is supported. |
tair |
Examples
Success response
JSON format
{
"RequestId": "2FED790E-FB61-4721-8C1C-07C627******",
"SourceDBClusterId": "rm-2zen5pe5vi56447d0",
"TotalSize": 137,
"UpgradeReportList": [
{
"TaskId": "275948",
"CheckTime": "2024-03-15T06:48:44Z",
"DstVersion": "8.0",
"SrcInsName": "pc-2ze54671qoz830za9",
"SrcVersion": "5.7",
"UpgradeMode": "rds2polar_pengine_with_dts",
"Result": "running",
"EffectiveTime": "2024-03-08T06:48:44Z",
"StartTime": "2025-07-05T01:56:00Z",
"EndTime": "2024-03-08T06:48:44Z"
}
],
"ItemsSize": 10,
"Items": [
{
"Schema": "ny_openapi",
"Type": "orca",
"Name": "testName",
"Status": "1",
"DDL": "CREATE XXXX"
}
],
"Details": "[]",
"SrcDBType": "MySQL",
"DstDBType": "MySQL",
"SrcDeleted": "1",
"Type": "tair"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.