tencent cloud

Cloud Load Balancer

動向とお知らせ
製品アップデート情報
製品に関するお知らせ
製品の説明
製品概要
製品の優位性
ユースケース
技術原理
Product Comparison
使用上の制約
Service Regions and Service Providers
購入ガイド
課金概要
課金項目
購入方法
支払い延滞の説明
製品属性の選択
クイックスタート
ドメイン名型CLBクイックスタート
CLBクイックスタート
IPv6 CLBクイックスタート
CentOSにおけるNginxのデプロイ
CentOSにおけるJava Webのデプロイ
操作ガイド
CLBインスタンス
CLBリスナー
バックエンドサーバー
ヘルスチェック
証明書管理
ログ管理
監視アラート
Cloud Access Management
従来型CLB
プラクティスチュートリアル
証明書をCLBに配置(双方向認証)
CLBのGzip有効化設定およびチェック方法の説明
HTTPS転送設定スタートガイド
クライアントリアルIPの取得方法
ロードバランサーのモニタリングアラート設定のベストプラクティス
マルチアベイラビリティーゾーンの高可用性設定の説明
バランシングアルゴリズムの選択と重みの設定の例
CLBのリスニングドメイン名に対してWebセキュリティ保護を実行するようにWAFを設定する
メンテナンスガイド
クライアントのtimewaitが多すぎる場合の対処方法
CLBのHTTPSサービスパフォーマンステスト
ストレステストに関するよくあるご質問
CLB証明書の操作権限に関するご質問
障害処理
UDPヘルスチェックの異常
API リファレンス
History
Introduction
API Category
Instance APIs
Listener APIs
Backend Service APIs
Target Group APIs
Redirection APIs
Other APIs
Classic CLB APIs
Load Balancing APIs
Making API Requests
Data Types
Error Codes
CLB API 2017
よくあるご質問
課金関連
CLB設定関連
ヘルスチェック異常調査
HTTPS関連
WS/WSSプロトコルサポート関連
HTTP/2プロトコルサポート関連
連絡先
用語集

InquiryLBPriceAll

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-11-20 15:17:49

API Description

This API is used to query the price of CLB instances. For more information about the prices, see Billing Description.
Domain name for API calls: lb.api.qcloud.com

Request Parameters

The list below contains only the API request parameters. Common parameters should be added when you call the API. For more information, see Common Request Parameters. The Action 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 type
Parameter
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.

Response Parameters

Parameter
Type
Description
code
Int
Common error code. 0: success; other values: failure. For more information, see Common Error Codes.
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.

Example

Querying the price of a public network CLB instance.
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
Successful response:
{
"code": 0,
"message": "",
"codeDesc": "Success",
"price": {
"lbIdPrice": {
"originalPrice": 37.4,
"discountPrice": 11.22
}
}
}


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック