Apache CloudStack 4.18.0.0 Root Admin API Reference

quotaTariffUpdate

Update the tariff plan for a resource

Request parameters

Parameter NameDescriptionRequired
nameQuota tariff's nametrue
activationruleQuota tariff's activation rule. It can receive a JS script that results in either a boolean or a numeric value: if it results in a boolean value, the tariff value will be applied according to the result; if it results in a numeric value, the numeric value will be applied; if the result is neither a boolean nor a numeric value, the tariff will not be applied. If the rule is not informed, the tariff value will be applied. Inform empty to remove the activation rule.false
descriptionQuota tariff's description. Inform empty to remove the description.false
enddateThe end date of the quota tariff. Use yyyy-MM-dd as the date format, e.g. endDate=2009-06-03.false
startdateDEPRECATED. The effective start date on/after which the quota tariff is effective. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-03.false
usagetypeDEPRECATED. Integer value for the usage type of the resourcefalse
valueThe quota tariff value of the resource as per the default unit.false

Response Tags

Response NameDescription
activationRuleactivation rule of the quota tariff
currencycurrency
descriptiondescription
effectiveDatethe start date of the quota tariff
endDatethe end date of the quota tariff
namename
removedwhen the quota tariff was removed
tariffValuetariffValue
usageDiscriminatorusageDiscriminator
usageNameusageName
usageTypeusageType
usageTypeDescriptionusage type description
usageUnitusageUnit
uuiduuid