import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::CLB::NLBServerGroup */ export declare function getNlbServerGroup(args: GetNlbServerGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNlbServerGroup. */ export interface GetNlbServerGroupArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getNlbServerGroup. */ export interface GetNlbServerGroupResult { /** * Account ID */ readonly accountId: string; /** * Enable all-port forwarding */ readonly anyPortEnabled: boolean; /** * Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'. */ readonly bypassSecurityGroupEnabled: boolean; /** * Enable graceful connection termination. */ readonly connectionDrainEnabled: boolean; /** * Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required. */ readonly connectionDrainTimeout: number; /** * Backend server group creation time */ readonly createdTime: string; /** * Description of the backend server group, description of the server group. Must start with a letter, number, or Chinese character, and can include the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period(。). Length limit: 0–255 characters. If this parameter is not provided, the default is an empty string. */ readonly description: string; /** * Health check parameters */ readonly healthCheck: outputs.clb.GetNlbServerGroupHealthCheck; /** * Uniquely identifies the resource. */ readonly id: string; /** * IP address type of the server group. Options: ipv4 (default): The server group only supports adding IPv4 type backend servers. ipv6: The server group only supports adding IPv6 type backend servers. */ readonly ipAddressVersion: string; /** * Enable source address persistence */ readonly preserveClientIpEnabled: boolean; /** * Project name */ readonly projectName: string; /** * Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP. */ readonly protocol: string; /** * Enable Proxy-Protocol. Available values: off (default): disabled. standard: enabled. NLB forwards the client source IP address to the backend server via Proxy-Protocol. Proxy-Protocol must also be configured on the backend server. */ readonly proxyProtocolType: string; /** * NLB instance associated with the server group. */ readonly relatedLoadBalancerIds: string[]; /** * Rules followed by NLB when forwarding traffic. Options: wrr (default): Weighted round robin. Backend servers with higher weights are selected more frequently (higher probability). wlc: Weighted least connections. Based on the least number of connections, assigns different weights to backend servers according to their processing capabilities, allowing each server to handle a corresponding number of service requests. sh: Source address hash. Uses consistent hashing based on the source IP address; requests from the same source address are routed to the same backend server. */ readonly scheduler: string; /** * Number of backend servers in the server group. */ readonly serverCount: number; /** * Server group ID */ readonly serverGroupId: string; /** * Server group name. Must start with a letter, number, or Chinese character, and can include the following special characters: period (.), underscore (_), and hyphen (-). Limit: 1–128 characters. If not specified, defaults to the server group ID */ readonly serverGroupName: string; /** * Information about backend servers to be added to the server group */ readonly servers: outputs.clb.GetNlbServerGroupServer[]; /** * Enable session persistence. */ readonly sessionPersistenceEnabled: boolean; /** * Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds */ readonly sessionPersistenceTimeout: number; /** * Server group status */ readonly status: string; /** * Tag */ readonly tags: outputs.clb.GetNlbServerGroupTag[]; /** * Enable removal of TCP/HTTP/HTTPS packet timestamps */ readonly timestampRemoveEnabled: boolean; /** * Server group type. Available values: instance (default): server type. Supports adding cloud server instances and auxiliary network interfaces bound to cloud server instances as backend servers. ip: IP address type. Supports adding any network-accessible server in a VPC or IDC as a backend server. */ readonly type: string; /** * Last update time of the backend server group. */ readonly updatedTime: string; /** * ID of the private network to which the server group belongs */ readonly vpcId: string; } /** * Data Source schema for Volcengine::CLB::NLBServerGroup */ export declare function getNlbServerGroupOutput(args: GetNlbServerGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNlbServerGroup. */ export interface GetNlbServerGroupOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }