Updated on 2024-08-23 GMT+08:00

DRS Actions

The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.

Table 1 Service function

Permission

API

Action

IAM Project

Enterprise Project

Creating tasks in batches

POST /v3/{project_id}/jobs/batch-creation

drs:migrationJobs:create (To create an instance, you need to configure the RDS ReadOnlyAccess, VPC FullAccess, and SMN FullAccess permissions in the project.)

Stopping and deleting tasks in batches

DELETE /v3/{project_id}/jobs/batch-jobs

drs:migrationJobs:delete (To stop or delete an instance, you need to configure the RDS ReadOnlyAccess, VPC FullAccess, and SMN FullAccess permissions in the project.)

Testing connections in batches

POST /v3/{project_id}/jobs/batch-connection

drs:migrationJobs:connect (To test the connection, you need to configure the VPC FullAccess permission in the project.)

Querying objects selected in batches

PUT /v3/{project_id}/jobs/batch-select-objects

drs:migrationJobs:select (To obtain object selection information, you need to configure the RDS FullAccess and DAS FullAccess permissions in the project.)

Querying RPO and RTO information in batches

POST /v3/{project_id}/jobs/batch-rpo-and-rto

drs:dataGuardJob:list

Performing primary/standby switchovers in batches

POST /v3/{project_id}/jobs/batch-switchover

drs:disasterRecoveryJob:switchover

Testing connections in batches (cluster mode)

POST /v3/{project_id}/jobs/cluster/batch-connection

drs:migrationJobs:connect (To test the connection, you need to configure the VPC FullAccess permission in the project.)

Performing a batch pre-check

POST

/v3/{project_id}/jobs/batch-precheck

drs:migrationJob:action

Querying pre-check results in batches

POST /v3/{project_id}/jobs/batch-precheck-result

drs:migrationJob:get

Setting flow control for tasks

PUT

/v3/{project_id}/jobs/batch-limit-speed

drs:migrationJobs:update

Obtaining database parameters in batches

POST /v3/{project_id}/jobs/batch-get-params

drs:databaseParameters:get

Resuming or retrying tasks in batches

POST /v3/{project_id}/jobs/batch-retry-task

drs:migrationJob:action

Pausing tasks in batches

POST /v3/{project_id}/jobs/batch-starting

drs:migrationJob:action

Modifying tasks in batches

PUT /v3/{project_id}/jobs/batch-modification

drs:migrationJob:modify

Changing the passwords of the source and destination databases in batches

PUT /v3/{project_id}/jobs/batch-modify-pwd

drs:migrationJobs:update

Setting definers in batches

POST /v3/{project_id}/jobs/batch-replace-definer

drs:migrationJob:updateJobConfig

Creating comparison tasks in batches

POST /v3/{project_id}/jobs/batch-create-compar

drs:migrationCompareJob:create

Querying comparison results in batches

POST /v3/{project_id}/jobs/batch-compare-result

drs:CompareJob:getResult

Querying task progress in batches

POST /v3/{project_id}/jobs/batch-progress

drs:migrationJobs:getProgress

Querying tasks of a tenant

POST /v3/{project_id}/jobs

DRS ReadOnlyAccess

Querying DR monitoring data

POST /v3/{project_id}/jobs/disaster-recovery-monitoring-data

drs:disasterRecoveryJob:get

Querying the DR initialization progress in batches

POST /v3/{project_id}/jobs/batch-struct-process

drs:disasterRecoveryJob:get

Querying DR initialization object details in batches

POST /v3/{project_id}/jobs/{type}/batch-struct-detail

drs:disasterRecoveryJob:get

Updating migrated user information in batches

PUT /v3/{project_id}/jobs/batch-update-user

drs:migrationJob:modifyUserInfo

Modifying database parameters

POST /v1.0/{projectId}/jobs/{jobId}/params

drs:dataBaseParams:modify (Configure the RDS ReadOnlyAccess, VPC FullAccess, SMN FullAccess and DAS FullAccess permissions.)

Processing data in batches

POST /v3/{project_id}/jobs/batch-transformation

drs:migrationJob:action

Starting tasks in batches

POST /v3/{project_id}/jobs/batch-starting

drs:migrationJob:action

Querying task details in batches

POST /v3/{project_id}/jobs/batch-detail

drs:migrationJob:get

Querying task statuses in batches

POST /v3/{project_id}/jobs/batch-status

drs:migrationJob:get