import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A server group is a logical collection of backend servers. The ALB instance determines which server group to forward client requests to based on your forwarding rules. Then, the ALB instance distributes requests to backend servers within the server group according to your load balancing policy. Backend servers receive and process the requests. * * ## Import * * ```sh * $ pulumi import volcenginecc:alb/serverGroup:ServerGroup example "server_group_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, 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; /** * Creation time of the backend server group. */ readonly createTime: pulumi.Output; /** * Enable cross-availability zone load balancing for the server group. Options: on (default): enabled; off: disabled. */ readonly crossZoneEnabled: pulumi.Output; /** * Description of the backend server group. */ readonly description: pulumi.Output; /** * Health check configuration information for the server group. */ readonly healthCheck: pulumi.Output; /** * IP address type of the server group. Currently, only IPv4 is supported. */ readonly ipAddressType: pulumi.Output; readonly listeners: pulumi.Output; /** * Name of the project to which the backend server group belongs. */ readonly projectName: pulumi.Output; /** * Backend protocol: HTTP, HTTPS. */ readonly protocol: pulumi.Output; /** * Scheduling algorithm. Options: wrr: weighted round robin; wlc: weighted least connection; sh: source address hash. */ readonly scheduler: pulumi.Output; /** * Number of backend servers in the server group. */ readonly serverCount: pulumi.Output; /** * Backend server group ID. */ readonly serverGroupId: pulumi.Output; /** * Backend server group name. */ readonly serverGroupName: pulumi.Output; /** * Type of backend server group. instance: server type, supports adding ECS and ENI instances as backend servers. ip: IP type, supports adding IP addresses as backend servers. */ readonly serverGroupType: pulumi.Output; readonly servers: pulumi.Output; /** * Server group status. Creating: Being created. Active: Running. Configuring: Being configured. Deleting: Being deleted. */ readonly status: pulumi.Output; /** * Session persistence parameter information. */ readonly stickySessionConfig: pulumi.Output; readonly tags: pulumi.Output; /** * Last operation time of the backend server group. */ readonly updateTime: pulumi.Output; /** * ID of the VPC to which the backend server group belongs. */ readonly vpcId: pulumi.Output; /** * 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 { /** * Creation time of the backend server group. */ createTime?: pulumi.Input; /** * Enable cross-availability zone load balancing for the server group. Options: on (default): enabled; off: disabled. */ crossZoneEnabled?: pulumi.Input; /** * Description of the backend server group. */ description?: pulumi.Input; /** * Health check configuration information for the server group. */ healthCheck?: pulumi.Input; /** * IP address type of the server group. Currently, only IPv4 is supported. */ ipAddressType?: pulumi.Input; listeners?: pulumi.Input[]>; /** * Name of the project to which the backend server group belongs. */ projectName?: pulumi.Input; /** * Backend protocol: HTTP, HTTPS. */ protocol?: pulumi.Input; /** * Scheduling algorithm. Options: wrr: weighted round robin; wlc: weighted least connection; sh: source address hash. */ scheduler?: pulumi.Input; /** * Number of backend servers in the server group. */ serverCount?: pulumi.Input; /** * Backend server group ID. */ serverGroupId?: pulumi.Input; /** * Backend server group name. */ serverGroupName?: pulumi.Input; /** * Type of backend server group. instance: server type, supports adding ECS and ENI instances as backend servers. ip: IP type, supports adding IP addresses as backend servers. */ serverGroupType?: pulumi.Input; servers?: pulumi.Input[]>; /** * Server group status. Creating: Being created. Active: Running. Configuring: Being configured. Deleting: Being deleted. */ status?: pulumi.Input; /** * Session persistence parameter information. */ stickySessionConfig?: pulumi.Input; tags?: pulumi.Input[]>; /** * Last operation time of the backend server group. */ updateTime?: pulumi.Input; /** * ID of the VPC to which the backend server group belongs. */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a ServerGroup resource. */ export interface ServerGroupArgs { /** * Enable cross-availability zone load balancing for the server group. Options: on (default): enabled; off: disabled. */ crossZoneEnabled?: pulumi.Input; /** * Description of the backend server group. */ description?: pulumi.Input; /** * Health check configuration information for the server group. */ healthCheck?: pulumi.Input; /** * IP address type of the server group. Currently, only IPv4 is supported. */ ipAddressType?: pulumi.Input; /** * Name of the project to which the backend server group belongs. */ projectName?: pulumi.Input; /** * Backend protocol: HTTP, HTTPS. */ protocol?: pulumi.Input; /** * Scheduling algorithm. Options: wrr: weighted round robin; wlc: weighted least connection; sh: source address hash. */ scheduler?: pulumi.Input; /** * Backend server group name. */ serverGroupName?: pulumi.Input; /** * Type of backend server group. instance: server type, supports adding ECS and ENI instances as backend servers. ip: IP type, supports adding IP addresses as backend servers. */ serverGroupType?: pulumi.Input; servers?: pulumi.Input[]>; /** * Server group status. Creating: Being created. Active: Running. Configuring: Being configured. Deleting: Being deleted. */ status?: pulumi.Input; /** * Session persistence parameter information. */ stickySessionConfig?: pulumi.Input; tags?: pulumi.Input[]>; /** * ID of the VPC to which the backend server group belongs. */ vpcId: pulumi.Input; }