import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A backend server group is a collection of backend servers. * * ## Import * * ```sh * $ pulumi import volcenginecc:clb/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; /** * IP address type of the backend server group. ipv4: The backend server group is of IPv4 type. ipv6: The backend server group is of IPv6 type. */ readonly addressIpVersion: pulumi.Output; /** * Whether to enable all-port forwarding. on: enable all-port forwarding. off: disable all-port forwarding. */ readonly anyPortEnabled: pulumi.Output; /** * Creation time of the backend server group. */ readonly createTime: pulumi.Output; /** * Description of the backend server group. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string. */ readonly description: pulumi.Output; readonly listeners: pulumi.Output; /** * CLB instance ID to which the backend server group belongs. */ readonly loadBalancerId: pulumi.Output; /** * Backend server group ID. */ readonly serverGroupId: pulumi.Output; /** * Name of the backend server group. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Limit: 1–128 characters. If not specified, defaults to the backend server group ID. */ readonly serverGroupName: pulumi.Output; readonly servers: pulumi.Output; readonly tags: pulumi.Output; /** * Type of the backend server group. instance: This backend server group can only add the primary or auxiliary network card of a cloud server as backend servers. ip: This backend server group can only add IP addresses as backend servers. */ readonly type: pulumi.Output; /** * Last operation time of the backend server group. */ readonly updateTime: 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 { /** * IP address type of the backend server group. ipv4: The backend server group is of IPv4 type. ipv6: The backend server group is of IPv6 type. */ addressIpVersion?: pulumi.Input; /** * Whether to enable all-port forwarding. on: enable all-port forwarding. off: disable all-port forwarding. */ anyPortEnabled?: pulumi.Input; /** * Creation time of the backend server group. */ createTime?: pulumi.Input; /** * Description of the backend server group. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string. */ description?: pulumi.Input; listeners?: pulumi.Input[]>; /** * CLB instance ID to which the backend server group belongs. */ loadBalancerId?: pulumi.Input; /** * Backend server group ID. */ serverGroupId?: pulumi.Input; /** * Name of the backend server group. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Limit: 1–128 characters. If not specified, defaults to the backend server group ID. */ serverGroupName?: pulumi.Input; servers?: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * Type of the backend server group. instance: This backend server group can only add the primary or auxiliary network card of a cloud server as backend servers. ip: This backend server group can only add IP addresses as backend servers. */ type?: pulumi.Input; /** * Last operation time of the backend server group. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a ServerGroup resource. */ export interface ServerGroupArgs { /** * IP address type of the backend server group. ipv4: The backend server group is of IPv4 type. ipv6: The backend server group is of IPv6 type. */ addressIpVersion?: pulumi.Input; /** * Whether to enable all-port forwarding. on: enable all-port forwarding. off: disable all-port forwarding. */ anyPortEnabled?: pulumi.Input; /** * Description of the backend server group. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters. If not specified, defaults to an empty string. */ description?: pulumi.Input; /** * CLB instance ID to which the backend server group belongs. */ loadBalancerId: pulumi.Input; /** * Name of the backend server group. Must start with a letter, number, or Chinese character, and can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Limit: 1–128 characters. If not specified, defaults to the backend server group ID. */ serverGroupName?: pulumi.Input; servers?: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * Type of the backend server group. instance: This backend server group can only add the primary or auxiliary network card of a cloud server as backend servers. ip: This backend server group can only add IP addresses as backend servers. */ type?: pulumi.Input; }