Updates a CIDR allocation from an IPAM address pool.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:UpdateIpamPoolAllocation |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the CIDR allocation is located. To obtain a region ID, call the DescribeRegions operation. |
cn-hangzhou |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value from your client for each request. ClientToken supports only ASCII characters. Note
If you do not specify this parameter, the system uses the request ID as the client token. The request ID is different for each request. |
123e4567-e89b-12d3-a456-426655440000 |
| IpamPoolAllocationDescription |
string |
No |
The description of the CIDR allocation. The description must be 1 to 256 characters long and must start with a letter or a Chinese character. It cannot start with |
test description |
| IpamPoolAllocationName |
string |
No |
The name of the CIDR allocation. The name must be 1 to 128 characters long. It cannot start with |
test name |
| IpamPoolAllocationId |
string |
Yes |
The ID of the CIDR allocation. |
ipam-pool-alloc-112za33e4**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
F4650E33-895C-53F0-9CD5-D1338F322DE8 |
Examples
Success response
JSON format
{
"RequestId": "F4650E33-895C-53F0-9CD5-D1338F322DE8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | OperationDenied.Unauthorized | The operation is denied because the user is not authorized. | The operation is denied because the user is not authorized. |
| 400 | OperationDenied.RequestRegionInvalid | The operation is not allowed because the request is not invoked in the region of the IPAM pool. | The operation is not called in the region of the pool. |
| 404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. | The IPAM pool does not exist. |
| 404 | ResourceNotFound.IpamPoolAllocation | The specified resource of IPAM pool allocation is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.