Apache CloudStack 4.20.0.0 Root Admin API Reference

listConditions

List Conditions for VM auto scaling

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
counteridCounter-id of the condition.false
domainidlist only resources belonging to the domain specifiedfalse
idID of the Condition.false
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
policyidthe ID of the policyfalse
projectidlist objects by project; if projectid=-1 lists All VMsfalse

Response Tags

Response NameDescription
idthe id of the Condition
accountthe owner of the Condition.
counterDetails of the Counter.
counteridthe Id of the Counter.
counternamethe Name of the Counter.
domainthe domain name of the owner.
domainidthe domain id of the Condition owner
domainpathpath of the domain to which the Condition owner belongs
projectthe project name of the Condition
projectidthe project id of the Condition.
relationaloperatorRelational Operator to be used with threshold.
thresholdThreshold Value for the counter.
zoneidzone id of counter