import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of rds mysql allowlists
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooAllowlist: volcengine.rds_mysql.Allowlist[] = [];
 * for (const range = {value: 0}; range.value < 3; range.value++) {
 *     fooAllowlist.push(new volcengine.rds_mysql.Allowlist(`fooAllowlist-${range.value}`, {
 *         allowListName: `acc-test-allowlist-${range.value}`,
 *         allowListDesc: "acc-test",
 *         allowListType: "IPv4",
 *         allowLists: [
 *             "192.168.0.0/24",
 *             "192.168.1.0/24",
 *         ],
 *     }));
 * }
 * const fooInstance = new volcengine.rds_mysql.Instance("fooInstance", {
 *     instanceName: "acc-test-rds-mysql",
 *     dbEngineVersion: "MySQL_5_7",
 *     nodeSpec: "rds.mysql.1c2g",
 *     primaryZoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     secondaryZoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     storageSpace: 80,
 *     subnetId: fooSubnet.id,
 *     lowerCaseTableNames: "1",
 *     chargeInfo: {
 *         chargeType: "PostPaid",
 *     },
 *     parameters: [
 *         {
 *             parameterName: "auto_increment_increment",
 *             parameterValue: "2",
 *         },
 *         {
 *             parameterName: "auto_increment_offset",
 *             parameterValue: "4",
 *         },
 *     ],
 *     allowListIds: fooAllowlist.map(__item => __item.id),
 * });
 * const fooAllowlists = volcengine.rds_mysql.getAllowlistsOutput({
 *     instanceId: fooInstance.id,
 *     regionId: "cn-beijing",
 * });
 * ```
 */
/** @deprecated volcengine.rds_mysql.Allowlists has been deprecated in favor of volcengine.rds_mysql.getAllowlists */
export declare function allowlists(args: AllowlistsArgs, opts?: pulumi.InvokeOptions): Promise<AllowlistsResult>;
/**
 * A collection of arguments for invoking Allowlists.
 */
export interface AllowlistsArgs {
    /**
     * Instance ID. When an InstanceId is specified, the DescribeAllowLists interface will return the whitelist bound to the specified instance.
     */
    instanceId?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The region of the allow lists.
     */
    regionId: string;
}
/**
 * A collection of values returned by Allowlists.
 */
export interface AllowlistsResult {
    /**
     * The list of allowed list.
     */
    readonly allowLists: outputs.rds_mysql.AllowlistsAllowList[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The id of the instance.
     */
    readonly instanceId?: string;
    readonly outputFile?: string;
    readonly regionId: string;
    /**
     * The total count of Scaling Activity query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of rds mysql allowlists
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooAllowlist: volcengine.rds_mysql.Allowlist[] = [];
 * for (const range = {value: 0}; range.value < 3; range.value++) {
 *     fooAllowlist.push(new volcengine.rds_mysql.Allowlist(`fooAllowlist-${range.value}`, {
 *         allowListName: `acc-test-allowlist-${range.value}`,
 *         allowListDesc: "acc-test",
 *         allowListType: "IPv4",
 *         allowLists: [
 *             "192.168.0.0/24",
 *             "192.168.1.0/24",
 *         ],
 *     }));
 * }
 * const fooInstance = new volcengine.rds_mysql.Instance("fooInstance", {
 *     instanceName: "acc-test-rds-mysql",
 *     dbEngineVersion: "MySQL_5_7",
 *     nodeSpec: "rds.mysql.1c2g",
 *     primaryZoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     secondaryZoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     storageSpace: 80,
 *     subnetId: fooSubnet.id,
 *     lowerCaseTableNames: "1",
 *     chargeInfo: {
 *         chargeType: "PostPaid",
 *     },
 *     parameters: [
 *         {
 *             parameterName: "auto_increment_increment",
 *             parameterValue: "2",
 *         },
 *         {
 *             parameterName: "auto_increment_offset",
 *             parameterValue: "4",
 *         },
 *     ],
 *     allowListIds: fooAllowlist.map(__item => __item.id),
 * });
 * const fooAllowlists = volcengine.rds_mysql.getAllowlistsOutput({
 *     instanceId: fooInstance.id,
 *     regionId: "cn-beijing",
 * });
 * ```
 */
/** @deprecated volcengine.rds_mysql.Allowlists has been deprecated in favor of volcengine.rds_mysql.getAllowlists */
export declare function allowlistsOutput(args: AllowlistsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AllowlistsResult>;
/**
 * A collection of arguments for invoking Allowlists.
 */
export interface AllowlistsOutputArgs {
    /**
     * Instance ID. When an InstanceId is specified, the DescribeAllowLists interface will return the whitelist bound to the specified instance.
     */
    instanceId?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The region of the allow lists.
     */
    regionId: pulumi.Input<string>;
}
