import * as pulumi from "@pulumi/pulumi"; /** * This resource is used to manage the `cidrBlocks` of Public Ip Pool resource in Oracle Cloud Infrastructure Core service. * Adds a Cidr from the named Byoip Range prefix to the referenced Public IP Pool. The cidr must be a subset of the Byoip Range in question. The cidr must not overlap with any other cidr already added to this or any other Public Ip Pool. * * **Note:** When a new `oci.Core.PublicIpPoolCapacity` resource is created or removed, terraform needs to be refreshed to update the `cidrBlocks` of `oci.Core.PublicIpPool` resource in state file. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPublicIpPoolCapacity = new oci.core.PublicIpPoolCapacity("test_public_ip_pool_capacity", { * publicIpPoolId: publicIpPoolId, * byoipId: byoipId, * cidrBlock: cidrBlock, * }); * ``` * * ## Import * * PublicIpPoolCapacity can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Core/publicIpPoolCapacity:PublicIpPoolCapacity test_public_ip_pool_capacity "publicIpPoolId/{publicIpPoolId}/byoipId/{byoipId}/cidrBlock/{cidrBlock}" * ``` */ export declare class PublicIpPoolCapacity extends pulumi.CustomResource { /** * Get an existing PublicIpPoolCapacity resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PublicIpPoolCapacityState, opts?: pulumi.CustomResourceOptions): PublicIpPoolCapacity; /** * Returns true if the given object is an instance of PublicIpPoolCapacity. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PublicIpPoolCapacity; /** * The OCID of the Byoip Range Id object to which the cidr block belongs. */ readonly byoipId: pulumi.Output; /** * The CIDR IP address range to be added to the Public Ip Pool. Example: `10.0.1.0/24` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly cidrBlock: pulumi.Output; /** * The OCID of the pool object created by the current tenancy */ readonly publicIpPoolId: pulumi.Output; /** * Create a PublicIpPoolCapacity resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PublicIpPoolCapacityArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PublicIpPoolCapacity resources. */ export interface PublicIpPoolCapacityState { /** * The OCID of the Byoip Range Id object to which the cidr block belongs. */ byoipId?: pulumi.Input; /** * The CIDR IP address range to be added to the Public Ip Pool. Example: `10.0.1.0/24` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ cidrBlock?: pulumi.Input; /** * The OCID of the pool object created by the current tenancy */ publicIpPoolId?: pulumi.Input; } /** * The set of arguments for constructing a PublicIpPoolCapacity resource. */ export interface PublicIpPoolCapacityArgs { /** * The OCID of the Byoip Range Id object to which the cidr block belongs. */ byoipId: pulumi.Input; /** * The CIDR IP address range to be added to the Public Ip Pool. Example: `10.0.1.0/24` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ cidrBlock: pulumi.Input; /** * The OCID of the pool object created by the current tenancy */ publicIpPoolId: pulumi.Input; } //# sourceMappingURL=publicIpPoolCapacity.d.ts.map