Create Vm Snapshot

Create Vm Snapshot

Create a new VM snapshot.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/vm/{vmUrn}/snapshots
COPY
Path Parameters
string
vmUrn
Required

vmUrn


Request Body
VmSnapshot of type(s) application/json
Optional
{
    "id": "string",
    "name": "Snapshot Sample Name",
    "isCurrent": false,
    "state": "string",
    "storageConsumedMb": 0,
    "dateCreated": "string",
    "memory": false,
    "quiesce": false,
    "vappSnapshotId": "string",
    "parentSnapshotId": "string",
    "vm": {
        "name": "string",
        "id": "string"
    },
    "type": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/vm/{vmUrn}/snapshots