import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of alb server groups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooServerGroup: volcengine.alb.ServerGroup[] = [];
 * for (const range = {value: 0}; range.value < 3; range.value++) {
 *     fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
 *         vpcId: fooVpc.id,
 *         serverGroupName: `acc-test-server-group-${range.value}`,
 *         description: "acc-test",
 *         serverGroupType: "instance",
 *         scheduler: "sh",
 *         projectName: "default",
 *         healthCheck: {
 *             enabled: "on",
 *             interval: 3,
 *             timeout: 3,
 *             method: "GET",
 *         },
 *         stickySessionConfig: {
 *             stickySessionEnabled: "on",
 *             stickySessionType: "insert",
 *             cookieTimeout: 1100,
 *         },
 *     }));
 * }
 * const fooServerGroups = volcengine.alb.getServerGroupsOutput({
 *     ids: fooServerGroup.map(__item => __item.id),
 * });
 * ```
 */
export declare function getServerGroups(args?: GetServerGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetServerGroupsResult>;
/**
 * A collection of arguments for invoking getServerGroups.
 */
export interface GetServerGroupsArgs {
    /**
     * A list of Alb server group IDs.
     */
    ids?: string[];
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The project name of Alb server group.
     */
    projectName?: string;
    /**
     * A list of Alb server group name.
     */
    serverGroupNames?: string[];
    /**
     * The type of Alb server group. Valid values: `instance`, `ip`.
     */
    serverGroupType?: string;
}
/**
 * A collection of values returned by getServerGroups.
 */
export interface GetServerGroupsResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly ids?: string[];
    readonly nameRegex?: string;
    readonly outputFile?: string;
    /**
     * The project name of the Alb server group.
     */
    readonly projectName?: string;
    readonly serverGroupNames?: string[];
    /**
     * The type of the Alb server group.
     */
    readonly serverGroupType?: string;
    /**
     * The collection of query.
     */
    readonly serverGroups: outputs.alb.GetServerGroupsServerGroup[];
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of alb server groups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooServerGroup: volcengine.alb.ServerGroup[] = [];
 * for (const range = {value: 0}; range.value < 3; range.value++) {
 *     fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
 *         vpcId: fooVpc.id,
 *         serverGroupName: `acc-test-server-group-${range.value}`,
 *         description: "acc-test",
 *         serverGroupType: "instance",
 *         scheduler: "sh",
 *         projectName: "default",
 *         healthCheck: {
 *             enabled: "on",
 *             interval: 3,
 *             timeout: 3,
 *             method: "GET",
 *         },
 *         stickySessionConfig: {
 *             stickySessionEnabled: "on",
 *             stickySessionType: "insert",
 *             cookieTimeout: 1100,
 *         },
 *     }));
 * }
 * const fooServerGroups = volcengine.alb.getServerGroupsOutput({
 *     ids: fooServerGroup.map(__item => __item.id),
 * });
 * ```
 */
export declare function getServerGroupsOutput(args?: GetServerGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServerGroupsResult>;
/**
 * A collection of arguments for invoking getServerGroups.
 */
export interface GetServerGroupsOutputArgs {
    /**
     * A list of Alb server group IDs.
     */
    ids?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The project name of Alb server group.
     */
    projectName?: pulumi.Input<string>;
    /**
     * A list of Alb server group name.
     */
    serverGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The type of Alb server group. Valid values: `instance`, `ip`.
     */
    serverGroupType?: pulumi.Input<string>;
}
