CVMs

Create a replica of the CVM on a target node. If request body is omitted, it replicates to the source node and reuses existing env.

post/api/v1/cvms/{cvm_id}/replicas

Request

Path parameters

cvm_idstring required

Headers

X-Prepare-Onlystring nullable

Request body

nodestring nullable

Physical node name

os_imagestring nullable

Target OS image name or slug

encrypted_envstring nullable

New encrypted env blob (hex). Required when the source CVM has managed_env enabled.

compose_hashstring nullable

Explicit compose hash to replicate. Required when the source app has multiple live instances.

Response

Replica CVM created

unknown required

Changes

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /