Update Vm Snapshot
API can be leveraged to change snapshot name or revert to the specified snapshot by setting isCurrent to true.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/vm/{vmUrn}/snapshots/{snapshotId}
COPY
Path Parameters
string
vmUrn
Required
vmUrn
string
snapshotId
Required
snapshotId.
string
vmUrn
Required
vmUrn
string
snapshotId
Required
snapshotId.
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"
}
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
Availability
Added in 39.0
On This Page
Vm Snapshots Operations
POST
Create Vm Snapshot
GET
Get Vm Snapshot
GET
Get Vm Snapshots
DELETE
Remove Vm Snapshot
PUT
Update Vm Snapshot