Apache CloudStack 4.22.0.0 Root Admin API Reference
quotaValidateActivationRule
Validates if the given activation rule is valid for the informed usage type.
Request parameters
| Parameter Name | Description | Required |
| activationrule | Quota 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 |
| usagetype | The Quota usage type used to validate the activation rule. | true |
Response Tags
| Response Name | Description |
| activationrule | The validated activation rule. |
| isvalid | Whether the activation rule is valid. |
| message | The reason whether the activation rule is valid or not. |
| quotatype | The Quota usage type used to validate the activation rule. |