Querying the Billing Option
Function
URI
GET /v1.0/cdn/charge/charge-modes
Parameter | Mandatory | Type | Description |
|---|---|---|---|
product_type | Yes | String | Acceleration type. The value is base (basic acceleration). |
status | No | String | Billing option status. The options are active (effective) and upcoming (to take effect). If this parameter is not passed, the default value active is used. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter | Type | Description |
|---|---|---|
result | Array of Map<String,Object> objects | Result of querying the billing option. |
Status code: 400
Parameter | Type | Description |
|---|---|---|
error | ErrMsg object | Error code and error message. |
Example Requests
Querying the billing option
GET https://cdn.myhuaweicloud.eu/v1.0/cdn/charge/charge-modes?&product_type='base'&status='active'
Example Responses
Status code: 200
Success response
Querying the billing option
{
"result" : {
"charge_mode" : "flux",
"effective_time" : 1666238400000,
"service_area" : "global",
"status" : "active",
"product_type" : "base"
}
} Status Codes
Status Code | Description |
|---|---|
200 | Success response |
400 | Error response |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

