Apache CloudStack 4.21.0.0 Root Admin API Reference

quotaValidateActivationRule

Validates if the given activation rule is valid for the informed usage type.

Request parameters

Parameter NameDescriptionRequired
activationruleQuota tariff's activation rule to validate. The activation rule is valid if it has no syntax errors and all variables are compatible with the given usage type.true
usagetypeThe Quota usage type used to validate the activation rule.true

Response Tags

Response NameDescription
activationruleThe validated activation rule.
isvalidWhether the activation rule is valid.
messageThe reason whether the activation rule is valid or not.
quotatypeThe Quota usage type used to validate the activation rule.