InquiryPriceCreateLoadBalancer

1. API Description

This API (InquiryPriceCreateLoadBalancer) is used to query the price for creating a load balancer.

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter Name
Required
Type
Description

regionId

Yes

String

Region ID.

internetChargeType

No

IP network billing model.

ipNetworkType [Deprecated]

No

IP network type.

Deprecated. Please use networkLineType instead.

networkLineType

No

IP network type.

bandwidthMbps

No

Integer

Maximum outbound bandwidth of the elastic IP.

Unit: Mbps.

The maximum limit is usually 10000 Mbps. If you have additional requirements, please contact Support.

Available range: [1, +).

Value range: [1, +)

trafficPackageSize

No

Float

Data transfer package size.

The parameter is only required when internetChargeType is ByTrafficPackage.

Available range: [0.0, 999999.0].

Value range: [0.0, 999999.0]

bandwidthClusterId

No

String

ID of bandwidth cluster.

The parameter is only required when internetChargeType is BandwidthCluster.

3. Output Parameters

Parameter Name
Type
Description

requestId

String

The unique request ID, which is returned for each request.

RequestId is required for locating a problem.

loadBalancerInstancePrice

The price of the load balancer instance.

eipPrice

The price of the elastic IP.

eipNetworkPrice

The price of network billing for the elastic IP.

lcuPrice

The price of LCU for the load balance instance.

4. Code Example

Query the price for creating a public network load balance instance.

5. Developer Resources

Zenlayer Cloud API 2.0 integrates SDKs,to make it easier for you to call APIs. More programming languages will be supported.

6. Error Codes

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

HTTP Status Code

Error Code

Description

Last updated