Create Machine Snapshot

Create Machine Snapshot

Second day create snapshot operation for machine

Request
URI
POST
https://api.mgmt.cloud.vmware.com//iaas/api/machines/{id}/operations/snapshots
COPY
Path Parameters
string
id
Required

The id of the Machine.

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body

Snapshot Specification details

SnapshotSpecification of type(s) application/json
Required
{
    "owner": "[email protected]",
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "snapshotMemory": false,
    "name": "my-name",
    "description": "my-description",
    "id": "9e49",
    "orgId": "9e49",
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

string
organizationId
Optional

This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.

string
createdAt
Optional

Date when the entity was created. The date is in ISO 8601 and UTC.

boolean
snapshotMemory
Optional

Captures the full state of a running virtual machine, including the memory.

object
customProperties
Optional

Additional custom properties that may be used to extend the snapshot.

object
_links
Required

HATEOAS of the entity

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
description
Optional

A human-friendly description.

string
id
Required

The id of this resource instance

string
orgId
Optional

The id of the organization this entity belongs to.

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.

Responses
202

successful operation

Returns RequestTracker of type(s) application/json
{
    "name": "Power-off",
    "progress": 90,
    "resources": [
        "string"
    ],
    "id": "we655aew4e8e",
    "message": "In Progress",
    "status": "FINISHED",
    "selfLink": "/.../request-tracker/we655aew4e8e"
}
string
name
Optional

Name of the operation.

integer As int32 As int32
progress
Required

Progress of the request as percentage.

array of string
resources
Optional

Collection of resources.

string
id
Required

ID of this request.

string
message
Optional

Status message of the request.

string
status
Required

Status of the request.

Possible values are : FINISHED, INPROGRESS, FAILED,
string
selfLink
Required

Self link of this request.


403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure