Update Metering Policy Using PUT
Update the specified pricing policy
The pricing policy identifier
Show optional properties
{
"chargeModel": "string",
"name": "string"
}
{
"chargeModel": "string",
"createdBy": "string",
"description": "string",
"id": "string",
"lastUpdateTimestamp": 0,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"meterings": [
{
"itemName": "string",
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"conditionalBaseRates": [
{
"baseRate": "number",
"usageLowerBound": "number"
}
],
"fixedPrice": "number",
"overage": false,
"overageRate": "number",
"unit": "string"
}
}
],
"name": "string",
"namedMeterings": [
{
"itemName": "string",
"meterings": [
{
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"conditionalBaseRates": [
{
"baseRate": "number",
"usageLowerBound": "number"
}
],
"fixedPrice": "number",
"overage": false,
"overageRate": "number",
"unit": "string"
},
"name": "string"
}
]
}
],
"oneTimeMeterings": [
{
"itemName": "string",
"oneTimeMetering": {
"oneTimeFixedPrice": "number"
}
}
],
"tagBasedMeterings": [
{
"itemName": "string",
"meterings": [
{
"key": "string",
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"conditionalBaseRates": [
{
"baseRate": "number",
"usageLowerBound": "number"
}
],
"fixedPrice": "number",
"overage": false,
"overageRate": "number",
"unit": "string"
},
"value": "string"
}
]
}
],
"tagBasedOneTimeMeterings": [
{
"itemName": "string",
"oneTimeMeterings": [
{
"key": "string",
"oneTimeMetering": {
"oneTimeFixedPrice": "number"
},
"value": "string"
}
]
}
],
"tagBasedPolicyRefs": [
{
"itemName": "string",
"policyRefs": [
{
"key": "string",
"policyRef": {
"policyId": "string",
"priority": 0
},
"value": "string"
}
]
}
],
"tagBasedRateFactors": [
{
"itemName": "string",
"rateFactors": [
{
"key": "string",
"rateFactor": {
"contextMeteringItem": "string",
"rateFactor": "number"
},
"value": "string"
}
]
}
],
"unconditionalMeterings": [
{
"itemName": "string",
"unconditionalMetering": {
"chargePeriod": "string",
"rate": "number"
}
}
]
}
The charge model of the pricing policy
The policy creator
description
The UUID of the policy.
Note: It is required during update.
The last update timestamp of the policy
The pricing policy name
Collection of unconditional metering items
The pricing policy was updated successfully in the system
{
"chargeModel": "string",
"createdBy": "string",
"description": "string",
"id": "string",
"lastUpdateTimestamp": 0,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"meterings": [
{
"itemName": "string",
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"conditionalBaseRates": [
{
"baseRate": "number",
"usageLowerBound": "number"
}
],
"fixedPrice": "number",
"overage": false,
"overageRate": "number",
"unit": "string"
}
}
],
"name": "string",
"namedMeterings": [
{
"itemName": "string",
"meterings": [
{
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"conditionalBaseRates": [
{
"baseRate": "number",
"usageLowerBound": "number"
}
],
"fixedPrice": "number",
"overage": false,
"overageRate": "number",
"unit": "string"
},
"name": "string"
}
]
}
],
"oneTimeMeterings": [
{
"itemName": "string",
"oneTimeMetering": {
"oneTimeFixedPrice": "number"
}
}
],
"tagBasedMeterings": [
{
"itemName": "string",
"meterings": [
{
"key": "string",
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"conditionalBaseRates": [
{
"baseRate": "number",
"usageLowerBound": "number"
}
],
"fixedPrice": "number",
"overage": false,
"overageRate": "number",
"unit": "string"
},
"value": "string"
}
]
}
],
"tagBasedOneTimeMeterings": [
{
"itemName": "string",
"oneTimeMeterings": [
{
"key": "string",
"oneTimeMetering": {
"oneTimeFixedPrice": "number"
},
"value": "string"
}
]
}
],
"tagBasedPolicyRefs": [
{
"itemName": "string",
"policyRefs": [
{
"key": "string",
"policyRef": {
"policyId": "string",
"priority": 0
},
"value": "string"
}
]
}
],
"tagBasedRateFactors": [
{
"itemName": "string",
"rateFactors": [
{
"key": "string",
"rateFactor": {
"contextMeteringItem": "string",
"rateFactor": "number"
},
"value": "string"
}
]
}
],
"unconditionalMeterings": [
{
"itemName": "string",
"unconditionalMetering": {
"chargePeriod": "string",
"rate": "number"
}
}
]
}
The charge model of the pricing policy
The policy creator
description
The UUID of the policy.
Note: It is required during update.
The last update timestamp of the policy
The pricing policy name
Collection of unconditional metering items
An invalid request body was specified or any constraints were violated
There was an error during the update of the pricing policy