ListCrossRegionReplications
Performs a paging query on cross-region replication tasks that have not executed a primary/secondary switchover. You can filter the results by source project name and backup region. The results are sorted by task ID in ascending order and include the source region, backup region, replicated data volume, and the time of the last security snapshot.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/crossRegionReplications HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| projectName |
string |
No |
The name of the source MaxCompute project. The name is matched exactly. If this parameter is omitted or left empty, the query scope includes all projects that meet the other conditions. |
example_project |
| tenantId |
string |
No |
The tenant ID, which is used to filter the replication tasks of the tenant. If this parameter is omitted or left empty, the tenant ID corresponding to the current request identity is used. |
1000000000000000 |
| backupRegion |
string |
No |
The ID of the backup region. If this parameter is omitted or left empty, the query scope includes all backup regions that meet the other conditions. |
cn-hangzhou |
| pageNumber |
integer |
No |
The page number. Pages start from 1. Default value: 1. |
1 |
| pageSize |
integer |
No |
The maximum number of tasks to return per page. Default value: 10. The value must be greater than 0. If the value exceeds 50, it is processed as 50. |
10 |
| marker |
integer |
No |
A legacy compatibility parameter. You can omit this parameter. Passing a value for this parameter does not change the query start point. Use pageNumber to specify the page number. |
0 |
| maxItem |
integer |
No |
A legacy compatibility parameter. You can omit this parameter. Passing a value for this parameter does not change the number of entries per page. Use pageSize to specify the number of entries per page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult<ListResultDTO<CrossRegionReplicationDTO, DefaultPageInfo>> |
||
| requestId |
string |
The unique identifier of the request. You can provide this value for troubleshooting. |
00000000-0000-4000-8000-000000000001 |
| httpCode |
integer |
The HTTP status code of the request. |
200 |
| errorCode |
string |
The error code returned when the request fails. |
NO_PERMISSION |
| errorMsg |
string |
The error message returned when the request fails. |
Access denied. |
| data |
object |
The paging query results, which include the list of replication tasks on the current page and the paging information. |
|
| crossRegionReplications |
array<object> |
The list of cross-region replication tasks on the current page. An empty list is returned if no matching tasks are found on the current page. |
|
|
object |
|||
| id |
integer |
The ID of the cross-region replication task. |
12345 |
| projectName |
string |
The name of the MaxCompute project that serves as the replication source. |
example_project |
| region |
string |
The ID of the region where the source project resides. |
cn-shanghai |
| backupRegion |
string |
The ID of the backup region for the replication task. |
cn-hangzhou |
| totalDataSize |
integer |
The total amount of data in the source project. |
1048576 |
| replicatedDataSize |
integer |
The amount of data replicated in the backup region. |
524288 |
| repFlowDataSize |
integer |
The cross-region replication traffic of the task on the current day. |
131072 |
| totalRepDataSize |
integer |
The estimated cumulative cross-region replication traffic. Currently, this value is the amount of data replicated in the backup region. |
524288 |
| createTime |
string |
The time when the replication task was created. The time is displayed in UTC+8 in the yyyy-MM-dd HH:mm:ss format. |
2026-12-01 09:30:00 |
| lastBackupTime |
string |
The time when the last security snapshot was backed up. The time is displayed in UTC+8 in the yyyy-MM-dd HH:mm:ss format. |
2026-12-03 16:20:00 |
| totalCount |
integer |
The total number of tasks that meet the filter conditions across all pages. |
1 |
| pageNumber |
integer |
The page number used for the current query. |
1 |
| pageSize |
integer |
The actual maximum number of entries per page used for the current query. |
10 |
Examples
Success response
JSON format
{
"requestId": "00000000-0000-4000-8000-000000000001",
"httpCode": 200,
"errorCode": "NO_PERMISSION",
"errorMsg": "Access denied.",
"data": {
"crossRegionReplications": [
{
"id": 12345,
"projectName": "example_project",
"region": "cn-shanghai",
"backupRegion": "cn-hangzhou",
"totalDataSize": 1048576,
"replicatedDataSize": 524288,
"repFlowDataSize": 131072,
"totalRepDataSize": 524288,
"createTime": "2026-12-01 09:30:00",
"lastBackupTime": "2026-12-03 16:20:00"
}
],
"totalCount": 1,
"pageNumber": 1,
"pageSize": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.