Cosmic Admin API Reference
createSnapshotFromVMSnapshot
Creates an instant snapshot of a volume from existing vm snapshot.
Request parameters
Parameter Name | Description | Required |
vmsnapshotid | The ID of the VM snapshot | true |
volumeid | The ID of the disk volume | true |
name | the name of the snapshot | false |
Response Tags
Response Name | Description |
id | ID of the snapshot |
account | the account associated with the snapshot |
created | the date the snapshot was created |
domain | the domain name of the snapshot's account |
domainid | the domain ID of the snapshot's account |
intervaltype | valid types are hourly, daily, weekly, monthy, template, and none. |
name | name of the snapshot |
physicalsize | physical size of backedup snapshot on image store |
project | the project name of the snapshot |
projectid | the project id of the snapshot |
revertable | indicates whether the underlying storage supports reverting the volume to this snapshot |
snapshottype | the type of the snapshot |
state | the state of the snapshot. BackedUp means that snapshot is ready to be used; Creating - the snapshot is being allocated on the primary storage; BackingUp - the snapshot is being backed up on secondary storage |
volumeid | ID of the disk volume |
volumename | name of the disk volume |
volumetype | type of the disk volume |
zoneid | id of the availability zone |
tags(*) | the list of resource tags associated with snapshot |
account | the account associated with the tag |
customer | customer associated with the tag |
domain | the domain associated with the tag |
domainid | the ID of the domain associated with the tag |
key | tag key name |
project | the project name where tag belongs to |
projectid | the project id the tag belongs to |
resourceid | id of the resource |
resourcetype | resource type |
value | tag value |
jobid | the ID of the latest async job acting on this object |
jobstatus | the current status of the latest async job acting on this object |