DescribeEipAddresses
1. API Description
This API is used to query the list of elastic IPs. You can query information on elastic IPs according to ID or IP of the elastic IP, and the pricing model.
2. Input Parameters
The following request parameter list only provides API request parameters.
eipChargeType
No
String
PREPAID: subscription
POSTPAID: pay-as-you-go
eipIds
No
Array of String
ID list of elastic IPs.
The maximum number of elastic IPs in each request is 100.
eipStatus
No
String
instanceId
No
String
Instance ID.
instanceName
No
String
Instance name.
ipAddress
No
String
IP address.
zoneId
No
String
Zone ID to which the elastic IPs belong.
resourceGroupId
No
String
Resource group ID.
If this parameter is not passed in, all the elastic IPs in authorized resource group return.
pageNum
No
Integer
Number of pages returned.
Default value: 1
pageSize
No
Integer
Number of items in the current page result.
Default value: 20
Maximum value: 1000
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
dataSet
List of elastic IPs.
totalCount
Integer
The total number of elastic IPs.
4. Code Example
Query the list of elastic IPs according to eipChargeType
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
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated