AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the AllocateIpamPoolCidr operation. Allocate a CIDR from an IPAM pool. The Region you use should be the IPAM pool locale. The locale is the Amazon Web Services Region where this IPAM pool is available for allocations.
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.
This action creates an allocation with strong consistency. The returned CIDR will not overlap with any other allocations from the same pool.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class AllocateIpamPoolCidrRequest : AmazonEC2Request IAmazonWebServiceRequest
The AllocateIpamPoolCidrRequest type exposes the following members
Name | Description | |
---|---|---|
AllocateIpamPoolCidrRequest() |
Name | Type | Description | |
---|---|---|---|
AllowedCidrs | System.Collections.Generic.List<System.String> |
Gets and sets the property AllowedCidrs. Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation. |
|
Cidr | System.String |
Gets and sets the property Cidr. The CIDR you would like to allocate from the IPAM pool. Note the following:
Possible values: Any available IPv4 or IPv6 CIDR. |
|
ClientToken | System.String |
Gets and sets the property ClientToken. A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency. |
|
Description | System.String |
Gets and sets the property Description. A description for the allocation. |
|
DisallowedCidrs | System.Collections.Generic.List<System.String> |
Gets and sets the property DisallowedCidrs. Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation. |
|
IpamPoolId | System.String |
Gets and sets the property IpamPoolId. The ID of the IPAM pool from which you would like to allocate a CIDR. |
|
NetmaskLength | System.Int32 |
Gets and sets the property NetmaskLength. The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. |
|
PreviewNextCidr | System.Boolean |
Gets and sets the property PreviewNextCidr. A preview of the next available CIDR in a pool. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5