All Products
Search
Document Center

Enterprise Distributed Application Service:MigrateApplication

Last Updated:Oct 08, 2026

Migrates an application.

Operation description

Note

For application deployment in a container service Kubernetes cluster imported to Enterprise Distributed Application Service (EDAS), use the DeployK8sApplication operation provided by EDAS. For more information, see DeployK8sApplication.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /pop/v5/k8s/migrateK8sApp HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

regionId

string

No

regionId

cn-shenzhen

cmd

string

No

The operation command. Valid values:

  • export: Export.

  • import: Import.

export

rawData

string

No

The raw data for the application to be imported, which is sourced from the JSON file of the exported application.

{"job_id":"b72c0ed4-a69f-4872-b4c6-def5555bfd3e","app_info":"xxxx"

config

string

No

Specifies whether to export the application binary. Default value: false.

{withBinary:true}

appIds

array

No

The list of application IDs.

string

No

appId

b72c0ed4-a69f-4872-b4c6-def5555bfd3e

Response elements

Element

Type

Description

Example

object

Schema of Response

Code

integer

The status code.

200

Message

string

The additional information.

success

data

object

The API information.

migrationId

string

The migration ID.

a3de82d7-83a4-4cca-8d1e-63f87651ce78

Examples

Success response

JSON format

{
  "Code": 200,
  "Message": "success",
  "data": {
    "migrationId": "a3de82d7-83a4-4cca-8d1e-63f87651ce78"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.