Updated on 2024-05-11 GMT+08:00

Tenant Migration

Function

This API is used to migrate CSBS or VBS resources to CBR.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

URI

POST /v3/migrates

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

all_regions

Yes

Boolean

Whether to trigger migration in other regions

Default: true

reservation

Yes

Float

Default capacity expansion ratio of the vault. The value ranges from 0 to 1.

Minimum: 0

Maximum: 1

Default: 0.2

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

{User defined key}

Map<String,String>

OK

Example Requests

This API is used to migrate CSBS or VBS resources to CBR.

POST https://{endpoint}/v3/migrates

{
  "all_regions" : true,
  "reservation" : 0.2
}

Example Responses

Status code: 200

OK

{
  "cn-north-7" : "running"
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.