Skip to content

/AWS1/CL_EC2=>DELETEIPAMPOOL()

About DeleteIpamPool

Delete an IPAM pool.

You cannot delete an IPAM pool if there are allocations in it or CIDRs provisioned to it. To release allocations, see ReleaseIpamPoolAllocation. To deprovision pool CIDRs, see DeprovisionIpamPoolCidr.

For more information, see Delete a pool in the Amazon VPC IPAM User Guide.

Method Signature

IMPORTING

Required arguments:

IV_IPAMPOOLID TYPE /AWS1/EC2IPAMPOOLID /AWS1/EC2IPAMPOOLID

The ID of the pool to delete.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IV_CASCADE TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Enables you to quickly delete an IPAM pool and all resources within that pool, including provisioned CIDRs, allocations, and other pools.

You can only use this option to delete pools in the private scope or pools in the public scope with a source resource. A source resource is a resource used to provision CIDRs to a resource planning pool.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DELETEIPAMPOOLRSLT /AWS1/CL_EC2DELETEIPAMPOOLRSLT