import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage mongodb allow list
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.mongodb.MongoAllowList("foo", {
 *     allowList: "10.1.1.3,10.2.3.0/24,10.1.1.1",
 *     allowListDesc: "acc-test",
 *     allowListName: "acc-test-allow-list",
 *     allowListType: "IPv4",
 *     projectName: "default",
 * });
 * ```
 *
 * ## Import
 *
 * mongodb allow list can be imported using the allowListId, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:mongodb/mongoAllowList:MongoAllowList default acl-d1fd76693bd54e658912e7337d5b****
 * ```
 */
export declare class MongoAllowList extends pulumi.CustomResource {
    /**
     * Get an existing MongoAllowList 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<pulumi.ID>, state?: MongoAllowListState, opts?: pulumi.CustomResourceOptions): MongoAllowList;
    /**
     * Returns true if the given object is an instance of MongoAllowList.  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 MongoAllowList;
    /**
     * IP address or IP address segment in CIDR format. Duplicate addresses are not allowed, multiple addresses should be separated by commas (,) in English.
     */
    readonly allowList: pulumi.Output<string>;
    /**
     * The description of allow list.
     */
    readonly allowListDesc: pulumi.Output<string>;
    /**
     * The number of allow list IPs.
     */
    readonly allowListIpNum: pulumi.Output<number>;
    /**
     * The name of allow list.
     */
    readonly allowListName: pulumi.Output<string>;
    /**
     * The IP address type of allow list, valid value contains `IPv4`.
     */
    readonly allowListType: pulumi.Output<string | undefined>;
    /**
     * The total number of instances bound under the allow list.
     */
    readonly associatedInstanceNum: pulumi.Output<number>;
    /**
     * The list of associated instances.
     */
    readonly associatedInstances: pulumi.Output<outputs.mongodb.MongoAllowListAssociatedInstance[]>;
    /**
     * The project name of the allow list.
     */
    readonly projectName: pulumi.Output<string>;
    /**
     * Create a MongoAllowList 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: MongoAllowListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering MongoAllowList resources.
 */
export interface MongoAllowListState {
    /**
     * IP address or IP address segment in CIDR format. Duplicate addresses are not allowed, multiple addresses should be separated by commas (,) in English.
     */
    allowList?: pulumi.Input<string>;
    /**
     * The description of allow list.
     */
    allowListDesc?: pulumi.Input<string>;
    /**
     * The number of allow list IPs.
     */
    allowListIpNum?: pulumi.Input<number>;
    /**
     * The name of allow list.
     */
    allowListName?: pulumi.Input<string>;
    /**
     * The IP address type of allow list, valid value contains `IPv4`.
     */
    allowListType?: pulumi.Input<string>;
    /**
     * The total number of instances bound under the allow list.
     */
    associatedInstanceNum?: pulumi.Input<number>;
    /**
     * The list of associated instances.
     */
    associatedInstances?: pulumi.Input<pulumi.Input<inputs.mongodb.MongoAllowListAssociatedInstance>[]>;
    /**
     * The project name of the allow list.
     */
    projectName?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a MongoAllowList resource.
 */
export interface MongoAllowListArgs {
    /**
     * IP address or IP address segment in CIDR format. Duplicate addresses are not allowed, multiple addresses should be separated by commas (,) in English.
     */
    allowList: pulumi.Input<string>;
    /**
     * The description of allow list.
     */
    allowListDesc?: pulumi.Input<string>;
    /**
     * The name of allow list.
     */
    allowListName: pulumi.Input<string>;
    /**
     * The IP address type of allow list, valid value contains `IPv4`.
     */
    allowListType?: pulumi.Input<string>;
    /**
     * The project name of the allow list.
     */
    projectName?: pulumi.Input<string>;
}
