import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage alb server group
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * 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 = new volcengine.alb.ServerGroup("fooServerGroup", {
 *     vpcId: fooVpc.id,
 *     serverGroupName: "acc-test-server-group",
 *     description: "acc-test",
 *     serverGroupType: "instance",
 *     scheduler: "wlc",
 *     projectName: "default",
 *     healthCheck: {
 *         enabled: "on",
 *         interval: 3,
 *         timeout: 3,
 *         method: "GET",
 *     },
 *     stickySessionConfig: {
 *         stickySessionEnabled: "on",
 *         stickySessionType: "insert",
 *         cookieTimeout: 1100,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * AlbServerGroup can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:alb/serverGroup:ServerGroup default resource_id
 * ```
 */
export declare class ServerGroup extends pulumi.CustomResource {
    /**
     * Get an existing ServerGroup 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?: ServerGroupState, opts?: pulumi.CustomResourceOptions): ServerGroup;
    /**
     * Returns true if the given object is an instance of ServerGroup.  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 ServerGroup;
    /**
     * The create time of the Alb server group.
     */
    readonly createTime: pulumi.Output<string>;
    /**
     * The description of the Alb server group.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The health check config of the Alb server group. The enable status of health check function defaults to `on`.
     */
    readonly healthCheck: pulumi.Output<outputs.alb.ServerGroupHealthCheck>;
    /**
     * The listener information of the Alb server group.
     */
    readonly listeners: pulumi.Output<string[]>;
    /**
     * The project name of the Alb server group.
     */
    readonly projectName: pulumi.Output<string>;
    /**
     * The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
     */
    readonly scheduler: pulumi.Output<string | undefined>;
    /**
     * The server count of the Alb server group.
     */
    readonly serverCount: pulumi.Output<number>;
    /**
     * The name of the Alb server group.
     */
    readonly serverGroupName: pulumi.Output<string>;
    /**
     * The type of the Alb server group. Valid values: `instance`, `ip`. Default is `instance`.
     */
    readonly serverGroupType: pulumi.Output<string | undefined>;
    /**
     * The status of the Alb server group.
     */
    readonly status: pulumi.Output<string>;
    /**
     * The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
     */
    readonly stickySessionConfig: pulumi.Output<outputs.alb.ServerGroupStickySessionConfig>;
    /**
     * The update time of the Alb server group.
     */
    readonly updateTime: pulumi.Output<string>;
    /**
     * The vpc id of the Alb server group.
     */
    readonly vpcId: pulumi.Output<string>;
    /**
     * Create a ServerGroup 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: ServerGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ServerGroup resources.
 */
export interface ServerGroupState {
    /**
     * The create time of the Alb server group.
     */
    createTime?: pulumi.Input<string>;
    /**
     * The description of the Alb server group.
     */
    description?: pulumi.Input<string>;
    /**
     * The health check config of the Alb server group. The enable status of health check function defaults to `on`.
     */
    healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
    /**
     * The listener information of the Alb server group.
     */
    listeners?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The project name of the Alb server group.
     */
    projectName?: pulumi.Input<string>;
    /**
     * The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
     */
    scheduler?: pulumi.Input<string>;
    /**
     * The server count of the Alb server group.
     */
    serverCount?: pulumi.Input<number>;
    /**
     * The name of the Alb server group.
     */
    serverGroupName?: pulumi.Input<string>;
    /**
     * The type of the Alb server group. Valid values: `instance`, `ip`. Default is `instance`.
     */
    serverGroupType?: pulumi.Input<string>;
    /**
     * The status of the Alb server group.
     */
    status?: pulumi.Input<string>;
    /**
     * The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
     */
    stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
    /**
     * The update time of the Alb server group.
     */
    updateTime?: pulumi.Input<string>;
    /**
     * The vpc id of the Alb server group.
     */
    vpcId?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a ServerGroup resource.
 */
export interface ServerGroupArgs {
    /**
     * The description of the Alb server group.
     */
    description?: pulumi.Input<string>;
    /**
     * The health check config of the Alb server group. The enable status of health check function defaults to `on`.
     */
    healthCheck?: pulumi.Input<inputs.alb.ServerGroupHealthCheck>;
    /**
     * The project name of the Alb server group.
     */
    projectName?: pulumi.Input<string>;
    /**
     * The scheduling algorithm of the Alb server group. Valid values: `wrr`, `wlc`, `sh`.
     */
    scheduler?: pulumi.Input<string>;
    /**
     * The name of the Alb server group.
     */
    serverGroupName?: pulumi.Input<string>;
    /**
     * The type of the Alb server group. Valid values: `instance`, `ip`. Default is `instance`.
     */
    serverGroupType?: pulumi.Input<string>;
    /**
     * The sticky session config of the Alb server group. The enable status of sticky session function defaults to `off`.
     */
    stickySessionConfig?: pulumi.Input<inputs.alb.ServerGroupStickySessionConfig>;
    /**
     * The vpc id of the Alb server group.
     */
    vpcId: pulumi.Input<string>;
}
