Cosmic User API Reference

listVMSnapshot

List virtual machine snapshot by conditions

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is falsefalse
namelists snapshot by snapshot name or display namefalse
pagefalse
pagesizefalse
projectidlist objects by projectfalse
statestate of the virtual machine snapshotfalse
tagsList resources by tags (key/value pairs)false
virtualmachineidthe ID of the vmfalse
vmsnapshotidThe ID of the VM snapshotfalse

Response Tags

Response NameDescription
idthe ID of the vm snapshot
accountthe account associated with the disk volume
createdthe create date of the vm snapshot
currentindiates if this is current snapshot
descriptionthe description of the vm snapshot
displaynamethe display name of the vm snapshot
domainthe domain associated with the disk volume
domainidthe ID of the domain associated with the disk volume
namethe name of the vm snapshot
parentthe parent ID of the vm snapshot
parentNamethe parent displayName of the vm snapshot
projectthe project name of the vpn
projectidthe project id of the vpn
statethe state of the vm snapshot
typeVM Snapshot type
virtualmachineidthe vm ID of the vm snapshot
zoneidthe Zone ID of the vm snapshot