import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
 * Use this data source to get the list of the compute server groups.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const config = new pulumi.Config();
 * const name = config.requireObject("name");
 * const test = huaweicloud.Ecs.getServergroups({
 *     name: name,
 * });
 * ```
 */
export declare function getServergroups(args?: GetServergroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetServergroupsResult>;
/**
 * A collection of arguments for invoking getServergroups.
 */
export interface GetServergroupsArgs {
    /**
     * Specifies the server group name.
     */
    name?: string;
    /**
     * Specifies the region in which to obtain the server groups.
     * If omitted, the provider-level region will be used.
     */
    region?: string;
}
/**
 * A collection of values returned by getServergroups.
 */
export interface GetServergroupsResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The server group name.
     */
    readonly name?: string;
    readonly region?: string;
    /**
     * List of ECS server groups details. The object structure of each server group is documented below.
     */
    readonly servergroups: outputs.Ecs.GetServergroupsServergroup[];
}
export declare function getServergroupsOutput(args?: GetServergroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServergroupsResult>;
/**
 * A collection of arguments for invoking getServergroups.
 */
export interface GetServergroupsOutputArgs {
    /**
     * Specifies the server group name.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the region in which to obtain the server groups.
     * If omitted, the provider-level region will be used.
     */
    region?: pulumi.Input<string>;
}
