API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (VpcIpam/2023-02-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.

IPAM multi-account management

API

Title

Description

RemoveIpamMembers Remove members managed by the IPAM trusted service Removes members managed by the IPAM trusted service.
ListIpamMembers Query members managed by the IPAM trusted service Queries the members managed by the IPAM trusted service.
AddIpamMembers Add members to be managed by the IPAM trusted service Adds members to be managed by the IPAM trusted service.

IPAM

API

Title

Description

OpenVpcIpamService OpenVpcIpamService Activates the IP Address Management (IPAM) service.
GetVpcIpamServiceStatus Query the activation status of the IPAM feature Queries the activation status of the IPAM feature.
CreateIpam Create an IPAM instance Creates an IPAM instance.
DeleteIpam Delete an IPAM instance Deletes an IPAM instance.
UpdateIpam UpdateIpam Modifies an IP Address Management (IPAM) instance.
ListIpams Query IPAM instances Queries IPAM instances.

IPAM scopes

API

Title

Description

CreateIpamScope Create an IPAM scope Creates private and public IPAM scopes to manage private and public IP addresses, respectively.
DeleteIpamScope Delete an IPAM scope Deletes an IPAM scope.
UpdateIpamScope Update IPAM scope information Updates the basic information of an IPAM scope.
ListIpamScopes Query IPAM scope details Queries the details of IPAM scopes.
ListIpamResourceCidrs Query resources within an IPAM scope Queries resources within an IPAM scope.

IPAM pools

API

Title

Description

CreateIpamPool Create an IPAM pool Creates an IPAM pool.
DeleteIpamPool Delete an IPAM pool instance Deletes an IPAM pool instance.
UpdateIpamPool UpdateIpamPool Updates the basic information of an IPAM pool.
ListIpamPools Query IPAM pool information Queries IPAM pool information.
AddIpamPoolCidr Provision a CIDR block for an IPAM pool Provisions a CIDR block for an IPAM pool.
DeleteIpamPoolCidr Delete a preset CIDR block from an IPAM pool Deletes a preset CIDR block from an IPAM pool.
ListIpamPoolCidrs Query provisioned CIDR blocks of an IPAM pool Queries the provisioned CIDR blocks of an IPAM pool.
CreateIpamPoolAllocation Create a custom reserved CIDR block from an IPAM pool Creates a custom reserved CIDR block from an IPAM pool.
DeleteIpamPoolAllocation DeleteIpamPoolAllocation Releases a CIDR allocation from an IP Address Management (IPAM) address pool. Supported allocation types include virtual private cloud (VPC) and custom allocation.
UpdateIpamPoolAllocation UpdateIpamPoolAllocation Updates a CIDR allocation from an IPAM address pool.
GetIpamPoolAllocation Query the details of a specified IPAM pool CIDR allocation Queries the details of a specified IPAM pool CIDR allocation.
ListIpamPoolAllocations Query CIDR allocations of an IPAM pool Queries the CIDR allocations of an IPAM pool.
GetIpamPoolNextAvailableCidr GetIpamPoolNextAvailableCidr Retrieves an available CIDR block from an IPAM pool.

Resource discovery

API

Title

Description

CreateIpamResourceDiscovery Create a custom resource discovery instance Creates a custom resource discovery instance.
DeleteIpamResourceDiscovery Delete a custom resource discovery instance Deletes a custom resource discovery instance.
UpdateIpamResourceDiscovery UpdateIpamResourceDiscovery Modifies a resource discovery instance.
ListIpamResourceDiscoveries List resource discovery instances Queries IPAM resource discovery instances.
AssociateIpamResourceDiscovery Associate resource discovery with an IPAM instance Associates resource discovery with an IPAM instance.
DissociateIpamResourceDiscovery DissociateIpamResourceDiscovery Disassociates a resource discovery from an IP Address Manager (IPAM) instance.
ListIpamResourceDiscoveryAssociations ListIpamResourceDiscoveryAssociations Lists the associations between resource discoveries and IP Address Managers (IPAMs).
ListIpamDiscoveredResource Query resources in resource discovery Queries the information about resources in resource discovery.
ListIpamDiscoveredIpAddresses ListIpamDiscoveredIpAddresses Lists the IP addresses used by discovered resources in a VPC or vSwitch.

Resource groups

API

Title

Description

ChangeResourceGroup Modify the resource group of an IPAM resource Modifies the resource group to which an IPAM resource belongs.

Tags

API

Title

Description

TagResources TagResources Adds a tag to a resource.
UntagResources UntagResources Removes a tag from a resource.
ListTagResources ListTagResources Queries the tags that are associated with resources.