import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * API request parameter - Create RDS SQL Server allowlist (CreateAllowList) * * ## Import * * ```sh * $ pulumi import volcenginecc:rdsmssql/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 (,). No duplicates allowed */ readonly allowList: pulumi.Output; /** * Allowlist category */ readonly allowListCategory: pulumi.Output; /** * Allowlist description */ readonly allowListDesc: pulumi.Output; /** * Allowlist ID */ readonly allowListId: pulumi.Output; /** * Allowlist IP count */ readonly allowListIpNum: pulumi.Output; /** * Allowlist name */ readonly allowListName: pulumi.Output; /** * IP address type in the allowlist. Only IPv4 is supported */ readonly allowListType: pulumi.Output; /** * Number of bound instances. Required when unbinding an instance from the allowlist */ readonly associatedInstanceNum: pulumi.Output; readonly associatedInstances: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Project name */ readonly projectName: pulumi.Output; /** * IP addresses outside the security group that need to be added to the allowlist. Enter IP addresses or CIDR-formatted IP ranges. If both this field and AllowList are specified, AllowList takes precedence */ readonly userAllowList: 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 (,). No duplicates allowed */ allowList?: pulumi.Input; /** * Allowlist category */ allowListCategory?: pulumi.Input; /** * Allowlist description */ allowListDesc?: pulumi.Input; /** * Allowlist ID */ allowListId?: pulumi.Input; /** * Allowlist IP count */ allowListIpNum?: pulumi.Input; /** * Allowlist name */ allowListName?: pulumi.Input; /** * IP address type in the allowlist. Only IPv4 is supported */ allowListType?: pulumi.Input; /** * Number of bound instances. Required when unbinding an instance from the allowlist */ associatedInstanceNum?: pulumi.Input; associatedInstances?: pulumi.Input[]>; /** * Instance ID */ instanceId?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * IP addresses outside the security group that need to be added to the allowlist. Enter IP addresses or CIDR-formatted IP ranges. If both this field and AllowList are specified, AllowList takes precedence */ userAllowList?: pulumi.Input; } /** * The set of arguments for constructing a AllowList resource. */ export interface AllowListArgs { /** * IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed */ allowList?: pulumi.Input; /** * Allowlist category */ allowListCategory?: pulumi.Input; /** * Allowlist description */ allowListDesc?: pulumi.Input; /** * Allowlist name */ allowListName: pulumi.Input; /** * IP address type in the allowlist. Only IPv4 is supported */ allowListType?: pulumi.Input; /** * Number of bound instances. Required when unbinding an instance from the allowlist */ associatedInstanceNum?: pulumi.Input; associatedInstances?: pulumi.Input[]>; /** * Instance ID */ instanceId?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * IP addresses outside the security group that need to be added to the allowlist. Enter IP addresses or CIDR-formatted IP ranges. If both this field and AllowList are specified, AllowList takes precedence */ userAllowList?: pulumi.Input; }