DescribeEipPrice

1. API Description

This API (DescribeEipPrice) is used to query the price of elastic IPs.

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter Name
Required
Type
Description

regionId

Yes

String

Region ID

internetChargeType

Yes

Network billing methods.

amount

No

Integer

Quantity.

Value range: [1, +)

Default value: 1

eipV4Type [Deprecated]

No

Network types of public IPv4.

Deprecated. Please use networkLineType instead.

networkLineType

No

Network types of public IPv4.

bandwidth

No

Integer

Bandwidth

Value range: [1, +)

flowPackage

No

Float

Data transfer package.

Value range: [0.0, +)

cidrId

No

String

CIDR ID.

clusterId

No

String

Bandwidth cluster ID.

If the value of internetChargeType is Bandwidth , clusterld is required.

peerRegionId

No

String

Remote region ID.

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.

eipPrice

Price of elastic IP.

bandwidthPrice

Price of bandwidth.

remoteBandwidthPrice

Price of remote ipt.

4. Code Example

Query the price of elastic IPs.

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