History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
lb.api.qcloud.comAction field for this API is InquiryLBPriceAll.Parameter | Required | Type | Description |
loadBalancerType | Yes | Int | CLB type. 2: public network CLB 3: private network CLB |
lbChargeType | Yes | String | Billing mode of the CLB instance. POSTPAID_BY_HOUR: pay-as-you-go on an hourly basis. Keep the default value. |
goodsNum | No | Int | Number of instances. Default value: 1 |
internetAccessible | No | Array | Network billing mode of the CLB instance, such as maximum bandwidth. This field is required for public network CLB. |
loadBalancerId | No | String | This field is required only when you renew an instance or modify its configuration. |
internetAccessible typeParameter | Required | Type | Description |
internetChargeType | Yes | String | Network billing mode. TRAFFIC_POSTPAID_BY_HOUR: bill-by-traffic on an hourly pay-as-you-go basis BANDWIDTH_POSTPAID_BY_HOUR: bill-by-bandwidth on an hourly pay-as-you-go basis BANDWIDTH_PACKAGE: bill by bandwidth package (only for specified ISPs currently) |
internetMaxBandwidthOut | Yes | Int | Maximum outbound bandwidth, in Mbps. Valid ranges: 0-2048 Mbps. This field is only effective for public network CLB instances. |
Parameter | Type | Description |
code | Int | |
message | String | API-related module error message description. |
codeDesc | String | Error code. For a successful operation, "Success" is returned. For a failed operation, a message describing the failure is returned. |
price | Array | Prices of the CLB instances, in USD. |
https://lb.api.qcloud.com/v2/index.php?Action=InquiryLBPriceAll&<Common request parameters>&loadBalancerType=2&lbChargeType=PREPAID&goodsNum=1&inquiryType=2&internetAccessible.internetChargeType=BANDWIDTH_PREPAID&internetAccessible.internetMaxBandwidthOut=1&lbChargePrepaid.period=1
{"code": 0,"message": "","codeDesc": "Success","price": {"lbIdPrice": {"originalPrice": 37.4,"discountPrice": 11.22}}}
文档反馈