Retrieves the billing module information of Web Application Firewall (WAF).
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
|
ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm***q |
|
PayType |
string |
Yes |
The billing method of the instance. Valid values:
|
POSTPAY |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The result of the request. |
||
|
RequestId |
string |
The ID of the request. |
D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
| ChargeModules |
array<object> |
A list of billing modules for WAF. |
|
|
object |
The information about a billing module for WAF. |
||
|
ModuleCode |
string |
The code of the billing module. Valid values:
|
domainCount |
|
PeriodType |
string |
The billing cycle of the billing module. Valid values:
|
Hour |
|
UsageType |
string |
The usage type of the billing module. Valid values:
|
domain |
|
UsageUnitFactor |
integer |
The billing unit coefficient of the billing module. Note
The usage unit for the module is determined by multiplying the UsageUnitFactor by the UsageType. |
1 |
|
ChargeMode |
string |
The pricing model of the billing module. Valid values:
|
NORMAL_PRICE |
| ChargeModeDetails |
array |
The detailed pricing information for the billing module. |
|
|
string |
The detailed pricing information for the billing module. The information is a string converted from a JSON object. Note
If ChargeMode is set to NORMAL_PRICE, the JSON object contains only the number of CUs for the billing module.
|
{ "cu": 5.0, "range": { "type": "lcrc", "min": "2", "max": "10" } } |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0",
"ChargeModules": [
{
"ModuleCode": "domainCount",
"PeriodType": "Hour",
"UsageType": "domain",
"UsageUnitFactor": 1,
"ChargeMode": "NORMAL_PRICE",
"ChargeModeDetails": [
"{\n\"cu\": 5.0,\n\"range\": {\n\"type\": \"lcrc\", \n \"min\": \"2\",\n \"max\": \"10\"\n }\n}"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.