API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (Vpc/2016-04-28) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.

Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.

Custom signature scenarios

If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.

Account and security preparation

Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.

Elastic IP addresses

API

Title

Description

EIP instances EIP instances
AllocateEipAddress Apply for an EIP Applies for an elastic IP address (EIP).
AllocateEipAddressPro Allocate a specified EIP Allocates a specified elastic IP address (EIP) for specific network configuration requirements.
ReleaseEipAddress Release a specified EIP Releases a specified elastic IP address (EIP).
ModifyEipAddressAttribute Modify EIP attributes Modifies the name, description, and peak bandwidth of a specified elastic IP address (EIP).
DescribeEipAddresses Query eIPs in a specified region Queries elastic IP addresses (EIPs) created in a specified region.
DescribeEipGatewayInfo Query gateway and mask information of an EIP Queries the gateway and subnet mask information of an elastic IP address (EIP) by calling the DescribeEipGatewayInfo operation.
AllocateEipSegmentAddress Apply for contiguous eIPs Contiguous Elastic IP (EIP) addresses are a group of sequentially ordered elastic public IP addresses. When designing your network, you can apply for and use these IP addresses in bulk for cloud resources that require contiguous public IP addresses. You can call the AllocateEipSegmentAddress operation to apply for contiguous EIPs.
DescribeEipSegment Query contiguous EIP groups Queries information about contiguous Elastic IP Address (EIP) groups.
ReleaseEipSegmentAddress Release contiguous eIPs Releases contiguous elastic IP addresses (EIPs) by calling ReleaseEipSegmentAddress.
ModifyEipForwardMode Modify EIP forwarding mode Modifies the forwarding mode of an Elastic IP Address (EIP).
Association and disassociation Association and disassociation
AssociateEipAddress Associate an EIP with a cloud resource instance Associates an elastic IP address (EIP) with a cloud resource instance in the same region.
AssociateEipAddressBatch Associate multiple eIPs with a cloud service instance in a batch Associates multiple Elastic IP Addresses (EIPs) with a cloud service instance in the same region in a batch.
UnassociateEipAddress Disassociate an EIP from a cloud resource Disassociates an elastic IP address (EIP) from the cloud resource to which it is bound.
IP address pools IP address pools
CreatePublicIpAddressPool Create an IP address pool Creates an IP address pool.
OpenPublicIpAddressPoolService Activate the IP address pool feature Activates the IP address pool feature by calling the OpenPublicIpAddressPoolService operation.
AddPublicIpAddressPoolCidrBlock Add a CIDR block to an IP address pool Adds a CIDR block to an IP address pool.
TransformEipSegmentToPublicIpAddressPool Migrate a contiguous EIP group to an IP address pool Migrates a contiguous Elastic IP Address (EIP) group to an IP address pool.
DeletePublicIpAddressPool Delete an IP address pool Deletes an IP address pool.
DeletePublicIpAddressPoolCidrBlock Delete a CIDR block from an IP address pool Deletes a CIDR block from an IP address pool by calling the DeletePublicIpAddressPoolCidrBlock operation.
UpdatePublicIpAddressPoolAttribute Modify IP address pool attributes Modifies the attributes of an IP address pool by calling the UpdatePublicIpAddressPoolAttribute operation.
ListPublicIpAddressPools Query IP address pool information Queries information about available IP address pools.
ListPublicIpAddressPoolCidrBlocks Query CIDR blocks of an IP address pool Queries the CIDR block information in an IP address pool.
GetPublicIpAddressPoolServiceStatus Query the activation status of the IP address pool feature Queries the activation status of the IP address pool feature by calling the GetPublicIpAddressPoolServiceStatus operation.
Monitoring Monitoring
DescribeEipMonitorData Query monitoring data of an EIP Queries the monitoring data of an elastic IP address (EIP). You can query data for up to 31 days and retrieve a maximum of 400 data points per request.
SetHighDefinitionMonitorLogStatus Configure high-definition second-level monitoring for an EIP Configures high-definition second-level monitoring for an EIP.
DescribeHighDefinitionMonitorLogAttribute Query SLS log information for EIP second-level monitoring Queries the configuration information of high-precision second-level monitoring for an EIP.
Others Others
DescribePublicIpAddress Query the range of public IP addresses in a VPC Queries the range of public IP addresses in a virtual private cloud (VPC) in a specified region.