import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A prefix list is a collection of CIDR blocks used to simplify the configuration of security group rules and route table entries. When the prefix list is modified, all associated resources are updated synchronously. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const prefixlistDemo = new volcenginecc.vpc.PrefixList("PrefixlistDemo", { * description: "PrefixlistDemo Example", * ipVersion: "IPv4", * maxEntries: 20, * prefixListName: "my-prefix-list", * projectName: "default", * prefixListEntries: [{ * cidr: "192.168.0.0/*", * description: "privite description", * }], * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:vpc/prefixList:PrefixList example "prefix_list_id" * ``` */ export declare class PrefixList extends pulumi.CustomResource { /** * Get an existing PrefixList 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?: PrefixListState, opts?: pulumi.CustomResourceOptions): PrefixList; /** * Returns true if the given object is an instance of PrefixList. 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 PrefixList; /** * Number of resources associated with the prefix list. */ readonly associationCount: pulumi.Output; readonly associationsRouteTables: pulumi.Output; readonly associationsSecurityGroups: pulumi.Output; /** * Creation time of the prefix list. */ readonly createdTime: pulumi.Output; /** * Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). */ readonly description: pulumi.Output; /** * IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type. */ readonly ipVersion: pulumi.Output; /** * Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200. */ readonly maxEntries: pulumi.Output; readonly prefixListEntries: pulumi.Output; /** * Prefix list ID. */ readonly prefixListId: pulumi.Output; /** * Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). */ readonly prefixListName: pulumi.Output; /** * Name of the project to which the prefix list belongs. If not specified, it is added to the default project. */ readonly projectName: pulumi.Output; /** * Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Last modification time of the prefix list. */ readonly updatedTime: pulumi.Output; /** * Create a PrefixList 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: PrefixListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PrefixList resources. */ export interface PrefixListState { /** * Number of resources associated with the prefix list. */ associationCount?: pulumi.Input; associationsRouteTables?: pulumi.Input[]>; associationsSecurityGroups?: pulumi.Input[]>; /** * Creation time of the prefix list. */ createdTime?: pulumi.Input; /** * Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). */ description?: pulumi.Input; /** * IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type. */ ipVersion?: pulumi.Input; /** * Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200. */ maxEntries?: pulumi.Input; prefixListEntries?: pulumi.Input[]>; /** * Prefix list ID. */ prefixListId?: pulumi.Input; /** * Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). */ prefixListName?: pulumi.Input; /** * Name of the project to which the prefix list belongs. If not specified, it is added to the default project. */ projectName?: pulumi.Input; /** * Status of the prefix list. Values: Available: available; Creating: creating; Deleting: deleting; Pending: modifying. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Last modification time of the prefix list. */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a PrefixList resource. */ export interface PrefixListArgs { /** * Description of the prefix list. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). */ description?: pulumi.Input; /** * IP version type. Values: IPv4 (default): IPv4 type. IPv6: IPv6 type. */ ipVersion?: pulumi.Input; /** * Maximum number of entries, that is, the maximum number of entries that can be added to the prefix list. Value range: 1–200. */ maxEntries: pulumi.Input; prefixListEntries?: pulumi.Input[]>; /** * Name of the prefix list. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). */ prefixListName?: pulumi.Input; /** * Name of the project to which the prefix list belongs. If not specified, it is added to the default project. */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; }