tencent cloud

Cloud Load Balancer

릴리스 정보 및 공지 사항
릴리스 노트
제품 공지
제품 소개
제품 개요
제품 장점
시나리오
기술 원리
Product Comparison
사용 제한
Service Regions and Service Providers
구매 가이드
과금 개요
비용 계산 항목
구매 방식
연체 안내
제품 속성 선택
시작하기
도메인 이름 기반 CLB 시작하기
CLB 시작하기
CentOS에서 Nginx 배포하기
CentOS에서 Java Web 배포하기
운영 가이드
CLB 인스턴스
CLB 리스너
리얼 서버
상태 확인
인증서 관리
로그 관리
모니터링 및 알람
액세스 관리
사례 튜토리얼
CLB에 인증서 배치(양방향 인증)
HTTPS 포워딩 구성
리얼 클라이언트 IP 가져오기
로드 밸런싱 구성 모니터링 및 알람에 대한 모범 사례
다중 가용존에서 HA 구현
로드 밸런싱 알고리즘 선택 및 가중치 구성 예시
CLB 수신 도메인 이름에 대한 WAF 보호 구성하기
OPS 가이드
과도한 TIME_WAIT 상태의 클라이언트에 대한 솔루션
CLB HTTPS 서비스 성능 테스트
스트레스 테스트 FAQ
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
FAQ
과금 관련
CLB 구성
헬스체크 이상 점검
HTTPS
WS/WSS 프로토콜 지원
HTTP/2 프로토콜 지원
연락처
용어집
문서Cloud Load BalancerAPI 참조Other APIsInquiryPriceCreateLoadBalancer

InquiryPriceCreateLoadBalancer

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-11-25 10:11:04

1. API Description

Domain name for API request: clb.intl.tencentcloudapi.com.

This API is used to query the price of creating a CLB instance.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: InquiryPriceCreateLoadBalancer.
Version Yes String Common Params. The value used for this API: 2018-03-17.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
LoadBalancerType Yes String Network type of the CLB to query. OPEN: Public network; INTERNAL: Private network is intranet type
LoadBalancerChargeType Yes String The billing mode to query. POSTPAID:Pay as you go
LoadBalancerChargePrepaid No LBChargePrepaid Reserved field
InternetAccessible No InternetAccessible The network billing mode to query
GoodsNum No Integer Number of CLB instances to query. Default value: 1.
ZoneId No String Availability zone in the format of "ap-guangzhou-1"
SlaType No String Specification of the LCU-supported instance, which is input to query the monthly subscription price. Valid values:
  • clb.c2.medium: Standard
  • clb.c3.small: Advanced 1
  • clb.c3.medium: Advanced 2
  • clb.c4.small: Super Large 1
  • clb.c4.medium: Super Large 2
  • clb.c4.large: Super Large 3
  • clb.c4.xlarge: Super Large 4
  • SLA is input to query the pay-as-you-go price.
    AddressIPVersion No String IP version. Valid values: IPV4 (default), IPV6 (IPV6 NAT64 version) or IPv6FullChain (IPv6 version).
    VipIsp No String It only applies to public CLB. Currently, the static single-line IP type is supported only for the regions of Guangzhou, Shanghai, Nanjing, Jinan, Hangzhou, Fuzhou, Beijing, Shijiazhuang, Wuhan, Changsha, Chengdu, and Chongqing. If you need to experience it, contact your business manager. After approval, you can select the ISP type as China Mobile (CMCC), China Unicom (CUCC), or China Telecom (CTCC). The network billing mode should be selected as billing by bandwidth package (BANDWIDTH_PACKAGE). If this parameter is not specified, BGP is used by default. You can use the DescribeResources API to query ISPs supported for a region.

    3. Output Parameters

    Parameter Name Type Description
    Price Price Price of the instance with the specified configurations.
    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Querying the Price for Creating a Prepaid CLB Instance

    This example shows you how to query the price for creating a prepaid CLB instance.

    Input Example

    https://clb.intl.tencentcloudapi.com/?Action=InquiryPriceCreateLoadBalancer
    &LoadBalancerType=OPEN
    &LoadBalancerChargeType=PREPAID
    &GoodsNum=1
    &InternetAccessible.InternetChargeType=BANDWIDTH_PREPAID
    &InternetAccessible.InternetMaxBandwidthOut=1
    &LoadBalancerChargePrepaid.Period=1
    &<Common request parameters>

    Output Example

    {
        "Response": {
            "Price": {
                "BandwidthPrice": {
                    "ChargeUnit": null,
                    "Discount": 34.7841,
                    "DiscountPrice": 8,
                    "OriginalPrice": 23,
                    "UnitPrice": null,
                    "UnitPriceDiscount": null
                },
                "InstancePrice": {
                    "ChargeUnit": null,
                    "Discount": 28.9198,
                    "DiscountPrice": 41.64,
                    "OriginalPrice": 144,
                    "UnitPrice": null,
                    "UnitPriceDiscount": null
                },
                "LcuPrice": null
            },
            "RequestId": "52f22ea7-3592-4ff0-9d63-a5cc14b79859"
        }
    }

    Example2 Querying the Price for Creating a Pay-as-You-Go CLB Instance in the Pay-as-You-Go Network Billing Mode

    This example shows you how to query the price for creating a pay-as-you-go CLB instance in the pay-as-you-go network billing mode.

    Input Example

    https://clb.intl.tencentcloudapi.com/?Action=InquiryPriceCreateLoadBalancer
    &LoadBalancerType=OPEN
    &LoadBalancerChargeType=POSTPAID
    &InternetAccessible.InternetChargeType=TRAFFIC_POSTPAID_BY_HOUR
    &InternetAccessible.InternetMaxBandwidthOut=1
    &<Common request parameters>

    Output Example

    {
        "Response": {
            "Price": {
                "InstancePrice": {
                    "UnitPrice": 0.2,
                    "UnitPriceDiscount": 0.0574,
                    "ChargeUnit": "HOUR",
                    "OriginalPrice": null,
                    "DiscountPrice": null,
                    "Discount": 28.6951
                },
                "BandwidthPrice": {
                    "UnitPrice": 0,
                    "UnitPriceDiscount": 0,
                    "ChargeUnit": "0",
                    "OriginalPrice": null,
                    "DiscountPrice": null,
                    "Discount": 100
                },
                "LcuPrice": null
            },
            "RequestId": "8abe5fc0-690d-458a-a15e-7f7467968f5d"
        }
    }

    Example3 Querying the Price for Creating a Pay-as-You-Go CLB Instance in the Network Billing Mode by Bandwidth Package

    This example shows you how to query the price for creating a pay-as-you-go CLB instance in the network billing mode by bandwidth package.

    Input Example

    https://clb.intl.tencentcloudapi.com/?Action=InquiryPriceCreateLoadBalancer
    &LoadBalancerType=OPEN
    &LoadBalancerChargeType=POSTPAID
    &GoodsNum=1
    &InternetAccessible.InternetChargeType=BANDWIDTH_PACKAGE
    &InternetAccessible.BandwidthpkgSubType=SINGLEISP
    &<Common request parameters>

    Output Example

    {
        "Response": {
            "Price": {
                "InstancePrice": {
                    "UnitPrice": 0.2,
                    "UnitPriceDiscount": 0.0574,
                    "ChargeUnit": "HOUR",
                    "OriginalPrice": null,
                    "DiscountPrice": null,
                    "Discount": 28.6951
                },
                "BandwidthPrice": {
                    "UnitPrice": 0,
                    "UnitPriceDiscount": 0,
                    "ChargeUnit": "0",
                    "OriginalPrice": null,
                    "DiscountPrice": null,
                    "Discount": 100
                },
                "LcuPrice": null
            },
            "RequestId": "4233547b-4201-4b65-a9f4-304dfcf2a6f0"
        }
    }

    Example4 Querying the Price for Creating a Pay-as-You-Go CLB Instance in the Network Billing Mode by Bandwidth

    This example shows you how to query the price for creating a pay-as-you-go CLB instance in the network billing mode by bandwidth.

    Input Example

    https://clb.intl.tencentcloudapi.com/?Action=InquiryPriceCreateLoadBalancer
    &LoadBalancerType=OPEN
    &LoadBalancerChargeType=POSTPAID
    &InternetAccessible.InternetChargeType=BANDWIDTH_POSTPAID_BY_HOUR
    &InternetAccessible.InternetMaxBandwidthOut=1
    &<Common request parameters>

    Output Example

    {
        "Response": {
            "Price": {
                "InstancePrice": {
                    "UnitPrice": 0.2,
                    "UnitPriceDiscount": 0.0574,
                    "ChargeUnit": "HOUR",
                    "OriginalPrice": null,
                    "DiscountPrice": null,
                    "Discount": 28.6951
                },
                "BandwidthPrice": {
                    "UnitPrice": 0.04,
                    "UnitPriceDiscount": 0.0137,
                    "ChargeUnit": "HOUR",
                    "OriginalPrice": null,
                    "DiscountPrice": null,
                    "Discount": 34.2927
                },
                "LcuPrice": null
            },
            "RequestId": "2c77d1f1-7cdb-49e8-b91c-da9aa1becb27"
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    FailedOperation Operation failed.
    InternalError Internal error.
    InvalidParameter Parameter error.
    InvalidParameterValue Incorrect parameter value.
    UnauthorizedOperation Unauthorized operation.

    도움말 및 지원

    문제 해결에 도움이 되었나요?

    피드백