tencent cloud

Feedback

CompleteMigrateJob

Last updated: 2018-09-18 17:00:23
The documentation is not available now.

    1. API Description

    Domain name for API request: dts.tencentcloudapi.com

    This API is used to complete a data migration task. For an incremental migration task, when the migration is ready to complete, call this API to complete the migration of incremental data. This API is called only to complete an ongoing migration task that is ready to complete.

    A maximum of 20 requests can be initiated per second for this API.

    Note: This API supports Finance regions. If the common parameter Region is a Finance region, a domain name with the Finance region needs to be specified, for example: dts.ap-shanghai-fsi.tencentcloudapi.com

    2. Input Parameters

    The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

    Parameter Name Required Type Description
    Action Yes String Common parameter. The value used for this API: CompleteMigrateJob
    Version Yes String Common parameter. The value used for this API: 2018-03-30
    Region Yes String Common parameter. For more information, please see the list of regions supported by the product.
    JobId Yes String ID of a data migration task

    3. Output Parameters

    Parameter Name Type Description
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Error Codes

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    FailedOperation.NotAllowOperation Prohibits the operation.
    InternalError.DatabaseError Access to the database on the migration platform failed.
    InternalError.DuplicateJob Migration task conflict.
    InternalError.ProtocolError Communication protocol error.
    InvalidParameter Parameter error
    ResourceNotFound.JobNotExist The migration task does not exist.

    5. Example

    Example 1 Complete a data migration task

    Input example

    https://dts.tencentcloudapi.com/?Action=CompleteMigrateJob
    &JobId=dts-1kl0iy0v
    &<Common request parameters>

    Output example

    {
      "Response": {
        "RequestId": "5268ea15-6636-44d1-89f9-e989d1c82e7d"
      }
    }

    6. Other Resources

    Cloud API 3.0 comes with the following development tools to make it easier to call the API.