Apache CloudStack 4.22.0.0 Root Admin API Reference

listSnapshotPolicies

Lists snapshot policies.

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
fordisplaylist resources by display flag; only ROOT admin is eligible to pass this parameterfalse
idthe ID of the snapshot policyfalse
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 false. Resources dedicated to a project are listed only if using the projectid parameter.false
pagefalse
pagesizefalse
projectidlist objects by project; if projectid=-1 lists All VMsfalse
volumeidthe ID of the disk volumefalse

Response Tags

Response NameDescription
idthe ID of the snapshot policy
fordisplayis this policy for display to the regular user
intervaltypethe interval type of the snapshot policy
maxsnapsmaximum number of snapshots retained
scheduletime the snapshot is scheduled to be taken.
storageThe list of pools in which snapshot backup is scheduled
timezonethe time zone of the snapshot policy
volumeidthe ID of the disk volume
volumenamethe name of the disk volume
zoneThe list of zones in which snapshot backup is scheduled