import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * vedbm access allowlist. * * ## Import * * ```sh * $ pulumi import volcenginecc:vedbm/allowList:AllowList example "allow_list_id" * ``` */ export declare class AllowList extends pulumi.CustomResource { /** * Get an existing AllowList 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?: AllowListState, opts?: pulumi.CustomResourceOptions): AllowList; /** * Returns true if the given object is an instance of AllowList. 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 AllowList; /** * IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed. */ readonly allowList: pulumi.Output; /** * Allowlist description. */ readonly allowListDesc: pulumi.Output; /** * Allowlist ID. */ readonly allowListId: pulumi.Output; /** * Total number of IP addresses (or address ranges) in the allowlist. */ readonly allowListIpNum: pulumi.Output; /** * Allowlist name. */ readonly allowListName: pulumi.Output; /** * IP address type in the allowlist. Only IPv4 is currently supported. */ readonly allowListType: pulumi.Output; /** * Total number of instances bound to the allowlist. */ readonly associatedInstanceNum: pulumi.Output; readonly associatedInstances: pulumi.Output; /** * How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain. */ readonly modifyMode: pulumi.Output; /** * Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project. */ readonly projectName: pulumi.Output; /** * Create a AllowList 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: AllowListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AllowList resources. */ export interface AllowListState { /** * IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed. */ allowList?: pulumi.Input; /** * Allowlist description. */ allowListDesc?: pulumi.Input; /** * Allowlist ID. */ allowListId?: pulumi.Input; /** * Total number of IP addresses (or address ranges) in the allowlist. */ allowListIpNum?: pulumi.Input; /** * Allowlist name. */ allowListName?: pulumi.Input; /** * IP address type in the allowlist. Only IPv4 is currently supported. */ allowListType?: pulumi.Input; /** * Total number of instances bound to the allowlist. */ associatedInstanceNum?: pulumi.Input; associatedInstances?: pulumi.Input[]>; /** * How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain. */ modifyMode?: pulumi.Input; /** * Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project. */ projectName?: pulumi.Input; } /** * The set of arguments for constructing a AllowList resource. */ export interface AllowListArgs { /** * IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed. */ allowList?: pulumi.Input; /** * Allowlist description. */ allowListDesc?: pulumi.Input; /** * Allowlist name. */ allowListName: pulumi.Input; /** * IP address type in the allowlist. Only IPv4 is currently supported. */ allowListType?: pulumi.Input; associatedInstances?: pulumi.Input[]>; /** * How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain. */ modifyMode?: pulumi.Input; /** * Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project. */ projectName?: pulumi.Input; }