Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AllocateIpamPoolCidrRequest

import type { AllocateIpamPoolCidrRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";
interface AllocateIpamPoolCidrRequest {
Cidr?: string | null;
ClientToken?: string | null;
Description?: string | null;
DisallowedCidrs?: string[] | null;
DryRun?: boolean | null;
IpamPoolId: string;
NetmaskLength?: number | null;
PreviewNextCidr?: boolean | null;
}

§Properties

§
Cidr?: string | null
[src]

The CIDR you would like to allocate from the IPAM pool. Note the following:

  • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
  • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

Possible values: Any available IPv4 or IPv6 CIDR.

§
ClientToken?: string | null
[src]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

§
Description?: string | null
[src]

A description for the allocation.

§
DisallowedCidrs?: string[] | null
[src]

Exclude a particular CIDR range from being returned by the pool.

§
DryRun?: boolean | null
[src]

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.

§
IpamPoolId: string
[src]

The ID of the IPAM pool from which you would like to allocate a CIDR.

§
NetmaskLength?: number | null
[src]

The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:

  • If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
  • If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.

Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

§
PreviewNextCidr?: boolean | null
[src]

A preview of the next available CIDR in a pool.