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",
 *     protocol: "HTTP",
 *     ipAddressType: "IPv4",
 *     projectName: "default",
 *     healthCheck: {
 *         enabled: "on",
 *         interval: 3,
 *         timeout: 3,
 *         method: "GET",
 *         domain: "www.test.com",
 *         uri: "/health",
 *         httpCode: "http_2xx,http_3xx",
 *         protocol: "HTTP",
 *         port: 80,
 *         httpVersion: "HTTP1.1",
 *     },
 *     stickySessionConfig: {
 *         stickySessionEnabled: "on",
 *         stickySessionType: "insert",
 *         cookieTimeout: 1100,
 *     },
 *     tags: [{
 *         key: "key1",
 *         value: "value2",
 *     }],
 * });
 * ```
 *
 * ## 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>;
    /**
     * Whether to enable cross-zone load balancing for the server group. Valid values: `on`, `off`.
     */
    readonly crossZoneEnabled: 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 ip address type of the server group.
     */
    readonly ipAddressType: pulumi.Output<string>;
    /**
     * 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 backend protocol of the Alb server group. Valid values: `HTTP`, `HTTPS`, `gRPC`. Default is `HTTP`.
     */
    readonly protocol: pulumi.Output<string | undefined>;
    /**
     * 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>;
    /**
     * Tags.
     */
    readonly tags: pulumi.Output<outputs.alb.ServerGroupTag[] | undefined>;
    /**
     * 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>;
    /**
     * Whether to enable cross-zone load balancing for the server group. Valid values: `on`, `off`.
     */
    crossZoneEnabled?: 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 ip address type of the server group.
     */
    ipAddressType?: pulumi.Input<string>;
    /**
     * 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 backend protocol of the Alb server group. Valid values: `HTTP`, `HTTPS`, `gRPC`. Default is `HTTP`.
     */
    protocol?: 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>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupTag>[]>;
    /**
     * 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 {
    /**
     * Whether to enable cross-zone load balancing for the server group. Valid values: `on`, `off`.
     */
    crossZoneEnabled?: 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 ip address type of the server group.
     */
    ipAddressType?: pulumi.Input<string>;
    /**
     * The project name of the Alb server group.
     */
    projectName?: pulumi.Input<string>;
    /**
     * The backend protocol of the Alb server group. Valid values: `HTTP`, `HTTPS`, `gRPC`. Default is `HTTP`.
     */
    protocol?: 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>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.alb.ServerGroupTag>[]>;
    /**
     * The vpc id of the Alb server group.
     */
    vpcId: pulumi.Input<string>;
}
