Create snapshot
Description
Creates a snapshot from a virtual server.
While snapshots can be created even while the virtual server is running, this may impact on virtual server operations.
Therefore, it is recommended that you stop the virtual server before creating a snapshot.
Request
Header
Content-Type: application/x-www-form-urlencoded
Accept: application/xml
X-Auth-Token: Keystone token (*1)
X-VA-Project-Id: ID of the project that owns the resource (*2)
X-VA-Domain-Id: ID of the domain that owns the resource (*2)
*1: The scope specified for the token is ignored when this API is executed by the system administrator.
*2: Mandatory when this API is executed by the system administrator. ignored when executed by other users.
Method
POST
Path
/server_images
Query
n/a
Body
Argument name | Description |
---|---|
type | Specify "snapshot". |
l_server_rid | Specifies the resource ID of the virtual server where the snapshot will be created. |
Response
Status code
202 Accepted
Body
Task information
The resource ID of the virtual server is displayed in <resource id="resourceId"/>.