Apache CloudStack v4.4.1 User API Reference

createCondition

Creates a condition

Request parameters

Parameter NameDescriptionRequired
counteridID of the Counter.true
relationaloperatorRelational Operator to be used with threshold.true
thresholdThreshold value.true
accountthe account of the condition. Must be used with the domainId parameter.false
domainidthe domain ID of the account.false

Response Tags

Response NameDescription
idthe id of the Condition
accountthe owner of the Condition.
counterDetails of the Counter.
domainthe domain name of the owner.
domainidthe domain id of the Condition owner
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