All Products
Search
Document Center

ApsaraMQ for RocketMQ:ListDisasterRecoveryItems

Last Updated:Jul 31, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Queries the Global Replicator tasks of an instance.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
rocketmq:ListDisasterRecoveryItemsget
*Instance
acs:rocketmq:{#regionId}:{#accountId}:instance/{#InstanceId}
    none
none

Request syntax

GET /disaster_recovery/{planId}/items HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
planIdlongYes

The ID of the Global Replicator task.

1234
topicNamestringNo

The topic name.

topic-test920
filterstringNo

The filter condition. Topics are filtered by topic name.

topic_test
pageNumberintegerNo

The page number.

1
pageSizeintegerNo

The number of entries per page.

10

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

requestIdstring

The request ID.

C115601B-8736-5BBF-AC99-7FEAE12xxxx
successboolean

Indicates whether the request was successful.

true
dataobject

The returned data.

scrollIdstring

The scroll ID of the request. The ID is automatically generated by the system. The result can be paginated only if this parameter is included in the pagination request.

B13D0B07-F24B-4790-88D8-D47A38063D00
pageNumberlong

The page number.

1
pageSizelong

The number of entries per page.

10
totalCountlong

The total number of entries returned.

49
listarray<object>

The Global Replicator tasks.

listobject

The Global Replicator task.

itemIdlong

The ID of the Global Replicator task.

100070284
planIdlong

The ID of the topic mapping.

1300000016
itemStatusstring

The status of the topic mapping. Valid values:

  • CREATING
  • CHANGING
  • RUNNING
  • MANUAL_STOPPED
  • OVERDUE_STOPPED
RUNNING
topicsarray<object>

The topics involved in the topic mapping.

topicobject

The topic involved in the topic mapping.

regionIdstring

regionId

cn-hangzhou
instanceTypestring

The instance type.

ALIYUN_ROCKETMQ
instanceIdstring

The instance ID.

rmq-cn-kh43w0olz0c
topicNamestring

The topic name.

topic-test
consumerGroupIddeprecatedstring

The ID of the consumer group.

group-test
deliveryOrderTypestring

The method used to deliver messages to the destination instance.

Valid values:

  • Concurrently: concurrent delivery
  • Orderly: ordered delivery
Concurrently
extInfoobject

The extended information.

string

The extended information.

{}
createTimestring

The time when the query task was created.

2024-09-20 03:38:28
updateTimestring

The time when the query task was last modified.

2024-10-04 02:19:44
codestring

The error code.

200
messagestring

The error message.

xxx
httpStatusCodeinteger

The response code.

200
dynamicCodestring

The dynamic error code.

InstanceId
dynamicMessagestring

The dynamic error message.

instanceId
accessDeniedDetailstring

The details about the access denial. This parameter is returned only if the access is denied because the Resource Access Management (RAM) user does not have the required permissions.

xxx

Examples

Sample success responses

JSONformat

{
  "requestId": "C115601B-8736-5BBF-AC99-7FEAE12xxxx",
  "success": true,
  "data": {
    "scrollId": "B13D0B07-F24B-4790-88D8-D47A38063D00\n",
    "pageNumber": 1,
    "pageSize": 10,
    "totalCount": 49,
    "list": [
      {
        "itemId": 100070284,
        "planId": 1300000016,
        "itemStatus": "RUNNING",
        "topics": [
          {
            "regionId": "cn-hangzhou",
            "instanceType": "ALIYUN_ROCKETMQ",
            "instanceId": "rmq-cn-kh43w0olz0c",
            "topicName": "topic-test",
            "consumerGroupId": "group-test",
            "deliveryOrderType": "Concurrently"
          }
        ],
        "extInfo": {
          "key": {}
        },
        "createTime": "2024-09-20 03:38:28",
        "updateTime": "2024-10-04 02:19:44"
      }
    ]
  },
  "code": 200,
  "message": "xxx",
  "httpStatusCode": 200,
  "dynamicCode": "InstanceId",
  "dynamicMessage": "instanceId",
  "accessDeniedDetail": "xxx"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history