published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
A server group is a set of backend servers.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
nLBServerGroupDemo:
type: volcenginecc:clb:NlbServerGroup
name: NLBServerGroupDemo
properties:
bypassSecurityGroupEnabled: false
healthCheck:
enabled: false
vpcId: vpc-13f8k4dwdsydc3n6nu5rxxxxx
projectName: default
serverGroupName: NLBServerGroupDemo.Aa1xxxxx
type: instance
protocol: UDP
description: test.IPV4.UDP.WLC_=
scheduler: wlc
ipAddressVersion: ipv4
anyPortEnabled: false
connectionDrainEnabled: false
preserveClientIpEnabled: false
sessionPersistenceEnabled: false
proxyProtocolType: off
servers:
- instance_id: i-ye2fvd0qo0bw80ctxxxxx
type: ecs
ip: 192.168.xx.76
port: 10
weight: 50
- instance_id: eni-mirt64nt1xq85smt1a3xxxxx
type: eni
ip: 192.168.xx.77
port: 20
weight: 50
tags:
- key: env
value: test
Create NlbServerGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NlbServerGroup(name: string, args: NlbServerGroupArgs, opts?: CustomResourceOptions);@overload
def NlbServerGroup(resource_name: str,
args: NlbServerGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NlbServerGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
protocol: Optional[str] = None,
vpc_id: Optional[str] = None,
proxy_protocol_type: Optional[str] = None,
scheduler: Optional[str] = None,
description: Optional[str] = None,
health_check: Optional[NlbServerGroupHealthCheckArgs] = None,
ip_address_version: Optional[str] = None,
preserve_client_ip_enabled: Optional[bool] = None,
project_name: Optional[str] = None,
connection_drain_enabled: Optional[bool] = None,
any_port_enabled: Optional[bool] = None,
connection_drain_timeout: Optional[int] = None,
server_group_name: Optional[str] = None,
servers: Optional[Sequence[NlbServerGroupServerArgs]] = None,
session_persistence_enabled: Optional[bool] = None,
session_persistence_timeout: Optional[int] = None,
tags: Optional[Sequence[NlbServerGroupTagArgs]] = None,
timestamp_remove_enabled: Optional[bool] = None,
type: Optional[str] = None,
bypass_security_group_enabled: Optional[bool] = None)func NewNlbServerGroup(ctx *Context, name string, args NlbServerGroupArgs, opts ...ResourceOption) (*NlbServerGroup, error)public NlbServerGroup(string name, NlbServerGroupArgs args, CustomResourceOptions? opts = null)
public NlbServerGroup(String name, NlbServerGroupArgs args)
public NlbServerGroup(String name, NlbServerGroupArgs args, CustomResourceOptions options)
type: volcenginecc:clb:NlbServerGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NlbServerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NlbServerGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NlbServerGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NlbServerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NlbServerGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NlbServerGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NlbServerGroup resource accepts the following input properties:
- Protocol string
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- Vpc
Id string - ID of the private network to which the server group belongs
- Any
Port boolEnabled - Enable all-port forwarding
- Bypass
Security boolGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- Connection
Drain boolEnabled - Enable graceful connection termination.
- Connection
Drain intTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- Description 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.
- Health
Check Volcengine.Nlb Server Group Health Check - Health check parameters
- Ip
Address stringVersion - 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.
- Preserve
Client boolIp Enabled - Enable source address persistence
- Project
Name string - Project name
- Proxy
Protocol stringType - 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.
- Scheduler 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.
- Server
Group stringName - 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
- Servers
List<Volcengine.
Nlb Server Group Server> - Session
Persistence boolEnabled - Enable session persistence.
- Session
Persistence intTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
-
List<Volcengine.
Nlb Server Group Tag> - Timestamp
Remove boolEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- Type string
- 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.
- Protocol string
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- Vpc
Id string - ID of the private network to which the server group belongs
- Any
Port boolEnabled - Enable all-port forwarding
- Bypass
Security boolGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- Connection
Drain boolEnabled - Enable graceful connection termination.
- Connection
Drain intTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- Description 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.
- Health
Check NlbServer Group Health Check Args - Health check parameters
- Ip
Address stringVersion - 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.
- Preserve
Client boolIp Enabled - Enable source address persistence
- Project
Name string - Project name
- Proxy
Protocol stringType - 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.
- Scheduler 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.
- Server
Group stringName - 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
- Servers
[]Nlb
Server Group Server Args - Session
Persistence boolEnabled - Enable session persistence.
- Session
Persistence intTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
-
[]Nlb
Server Group Tag Args - Timestamp
Remove boolEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- Type string
- 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.
- protocol String
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- vpc
Id String - ID of the private network to which the server group belongs
- any
Port BooleanEnabled - Enable all-port forwarding
- bypass
Security BooleanGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection
Drain BooleanEnabled - Enable graceful connection termination.
- connection
Drain IntegerTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- description 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.
- health
Check NlbServer Group Health Check - Health check parameters
- ip
Address StringVersion - 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.
- preserve
Client BooleanIp Enabled - Enable source address persistence
- project
Name String - Project name
- proxy
Protocol StringType - 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.
- scheduler 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.
- server
Group StringName - 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
- servers
List<Nlb
Server Group Server> - session
Persistence BooleanEnabled - Enable session persistence.
- session
Persistence IntegerTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
-
List<Nlb
Server Group Tag> - timestamp
Remove BooleanEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type String
- 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.
- protocol string
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- vpc
Id string - ID of the private network to which the server group belongs
- any
Port booleanEnabled - Enable all-port forwarding
- bypass
Security booleanGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection
Drain booleanEnabled - Enable graceful connection termination.
- connection
Drain numberTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- description 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.
- health
Check NlbServer Group Health Check - Health check parameters
- ip
Address stringVersion - 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.
- preserve
Client booleanIp Enabled - Enable source address persistence
- project
Name string - Project name
- proxy
Protocol stringType - 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.
- scheduler 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.
- server
Group stringName - 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
- servers
Nlb
Server Group Server[] - session
Persistence booleanEnabled - Enable session persistence.
- session
Persistence numberTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
-
Nlb
Server Group Tag[] - timestamp
Remove booleanEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type string
- 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.
- protocol str
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- vpc_
id str - ID of the private network to which the server group belongs
- any_
port_ boolenabled - Enable all-port forwarding
- bypass_
security_ boolgroup_ enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection_
drain_ boolenabled - Enable graceful connection termination.
- connection_
drain_ inttimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- description str
- 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.
- health_
check NlbServer Group Health Check Args - Health check parameters
- ip_
address_ strversion - 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.
- preserve_
client_ boolip_ enabled - Enable source address persistence
- project_
name str - Project name
- proxy_
protocol_ strtype - 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.
- scheduler str
- 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.
- server_
group_ strname - 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
- servers
Sequence[Nlb
Server Group Server Args] - session_
persistence_ boolenabled - Enable session persistence.
- session_
persistence_ inttimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
-
Sequence[Nlb
Server Group Tag Args] - timestamp_
remove_ boolenabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type str
- 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.
- protocol String
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- vpc
Id String - ID of the private network to which the server group belongs
- any
Port BooleanEnabled - Enable all-port forwarding
- bypass
Security BooleanGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection
Drain BooleanEnabled - Enable graceful connection termination.
- connection
Drain NumberTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- description 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.
- health
Check Property Map - Health check parameters
- ip
Address StringVersion - 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.
- preserve
Client BooleanIp Enabled - Enable source address persistence
- project
Name String - Project name
- proxy
Protocol StringType - 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.
- scheduler 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.
- server
Group StringName - 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
- servers List<Property Map>
- session
Persistence BooleanEnabled - Enable session persistence.
- session
Persistence NumberTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- List<Property Map>
- timestamp
Remove BooleanEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type String
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the NlbServerGroup resource produces the following output properties:
- Account
Id string - Account ID
- Created
Time string - Backend server group creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- List<string>
- NLB instance associated with the server group.
- Server
Count int - Number of backend servers in the server group.
- Server
Group stringId - Server group ID
- Status string
- Server group status
- Updated
Time string - Last update time of the backend server group.
- Account
Id string - Account ID
- Created
Time string - Backend server group creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- []string
- NLB instance associated with the server group.
- Server
Count int - Number of backend servers in the server group.
- Server
Group stringId - Server group ID
- Status string
- Server group status
- Updated
Time string - Last update time of the backend server group.
- account
Id String - Account ID
- created
Time String - Backend server group creation time
- id String
- The provider-assigned unique ID for this managed resource.
- List<String>
- NLB instance associated with the server group.
- server
Count Integer - Number of backend servers in the server group.
- server
Group StringId - Server group ID
- status String
- Server group status
- updated
Time String - Last update time of the backend server group.
- account
Id string - Account ID
- created
Time string - Backend server group creation time
- id string
- The provider-assigned unique ID for this managed resource.
- string[]
- NLB instance associated with the server group.
- server
Count number - Number of backend servers in the server group.
- server
Group stringId - Server group ID
- status string
- Server group status
- updated
Time string - Last update time of the backend server group.
- account_
id str - Account ID
- created_
time str - Backend server group creation time
- id str
- The provider-assigned unique ID for this managed resource.
- Sequence[str]
- NLB instance associated with the server group.
- server_
count int - Number of backend servers in the server group.
- server_
group_ strid - Server group ID
- status str
- Server group status
- updated_
time str - Last update time of the backend server group.
- account
Id String - Account ID
- created
Time String - Backend server group creation time
- id String
- The provider-assigned unique ID for this managed resource.
- List<String>
- NLB instance associated with the server group.
- server
Count Number - Number of backend servers in the server group.
- server
Group StringId - Server group ID
- status String
- Server group status
- updated
Time String - Last update time of the backend server group.
Look up Existing NlbServerGroup Resource
Get an existing NlbServerGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NlbServerGroupState, opts?: CustomResourceOptions): NlbServerGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
any_port_enabled: Optional[bool] = None,
bypass_security_group_enabled: Optional[bool] = None,
connection_drain_enabled: Optional[bool] = None,
connection_drain_timeout: Optional[int] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
health_check: Optional[NlbServerGroupHealthCheckArgs] = None,
ip_address_version: Optional[str] = None,
preserve_client_ip_enabled: Optional[bool] = None,
project_name: Optional[str] = None,
protocol: Optional[str] = None,
proxy_protocol_type: Optional[str] = None,
related_load_balancer_ids: Optional[Sequence[str]] = None,
scheduler: Optional[str] = None,
server_count: Optional[int] = None,
server_group_id: Optional[str] = None,
server_group_name: Optional[str] = None,
servers: Optional[Sequence[NlbServerGroupServerArgs]] = None,
session_persistence_enabled: Optional[bool] = None,
session_persistence_timeout: Optional[int] = None,
status: Optional[str] = None,
tags: Optional[Sequence[NlbServerGroupTagArgs]] = None,
timestamp_remove_enabled: Optional[bool] = None,
type: Optional[str] = None,
updated_time: Optional[str] = None,
vpc_id: Optional[str] = None) -> NlbServerGroupfunc GetNlbServerGroup(ctx *Context, name string, id IDInput, state *NlbServerGroupState, opts ...ResourceOption) (*NlbServerGroup, error)public static NlbServerGroup Get(string name, Input<string> id, NlbServerGroupState? state, CustomResourceOptions? opts = null)public static NlbServerGroup get(String name, Output<String> id, NlbServerGroupState state, CustomResourceOptions options)resources: _: type: volcenginecc:clb:NlbServerGroup get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account ID
- Any
Port boolEnabled - Enable all-port forwarding
- Bypass
Security boolGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- Connection
Drain boolEnabled - Enable graceful connection termination.
- Connection
Drain intTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- Created
Time string - Backend server group creation time
- Description 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.
- Health
Check Volcengine.Nlb Server Group Health Check - Health check parameters
- Ip
Address stringVersion - 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.
- Preserve
Client boolIp Enabled - Enable source address persistence
- Project
Name string - Project name
- Protocol string
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- Proxy
Protocol stringType - 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.
- List<string>
- NLB instance associated with the server group.
- Scheduler 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.
- Server
Count int - Number of backend servers in the server group.
- Server
Group stringId - Server group ID
- Server
Group stringName - 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
- Servers
List<Volcengine.
Nlb Server Group Server> - Session
Persistence boolEnabled - Enable session persistence.
- Session
Persistence intTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- Status string
- Server group status
-
List<Volcengine.
Nlb Server Group Tag> - Timestamp
Remove boolEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- Type string
- 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.
- Updated
Time string - Last update time of the backend server group.
- Vpc
Id string - ID of the private network to which the server group belongs
- Account
Id string - Account ID
- Any
Port boolEnabled - Enable all-port forwarding
- Bypass
Security boolGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- Connection
Drain boolEnabled - Enable graceful connection termination.
- Connection
Drain intTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- Created
Time string - Backend server group creation time
- Description 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.
- Health
Check NlbServer Group Health Check Args - Health check parameters
- Ip
Address stringVersion - 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.
- Preserve
Client boolIp Enabled - Enable source address persistence
- Project
Name string - Project name
- Protocol string
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- Proxy
Protocol stringType - 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.
- []string
- NLB instance associated with the server group.
- Scheduler 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.
- Server
Count int - Number of backend servers in the server group.
- Server
Group stringId - Server group ID
- Server
Group stringName - 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
- Servers
[]Nlb
Server Group Server Args - Session
Persistence boolEnabled - Enable session persistence.
- Session
Persistence intTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- Status string
- Server group status
-
[]Nlb
Server Group Tag Args - Timestamp
Remove boolEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- Type string
- 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.
- Updated
Time string - Last update time of the backend server group.
- Vpc
Id string - ID of the private network to which the server group belongs
- account
Id String - Account ID
- any
Port BooleanEnabled - Enable all-port forwarding
- bypass
Security BooleanGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection
Drain BooleanEnabled - Enable graceful connection termination.
- connection
Drain IntegerTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- created
Time String - Backend server group creation time
- description 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.
- health
Check NlbServer Group Health Check - Health check parameters
- ip
Address StringVersion - 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.
- preserve
Client BooleanIp Enabled - Enable source address persistence
- project
Name String - Project name
- protocol String
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- proxy
Protocol StringType - 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.
- List<String>
- NLB instance associated with the server group.
- scheduler 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.
- server
Count Integer - Number of backend servers in the server group.
- server
Group StringId - Server group ID
- server
Group StringName - 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
- servers
List<Nlb
Server Group Server> - session
Persistence BooleanEnabled - Enable session persistence.
- session
Persistence IntegerTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- status String
- Server group status
-
List<Nlb
Server Group Tag> - timestamp
Remove BooleanEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type String
- 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.
- updated
Time String - Last update time of the backend server group.
- vpc
Id String - ID of the private network to which the server group belongs
- account
Id string - Account ID
- any
Port booleanEnabled - Enable all-port forwarding
- bypass
Security booleanGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection
Drain booleanEnabled - Enable graceful connection termination.
- connection
Drain numberTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- created
Time string - Backend server group creation time
- description 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.
- health
Check NlbServer Group Health Check - Health check parameters
- ip
Address stringVersion - 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.
- preserve
Client booleanIp Enabled - Enable source address persistence
- project
Name string - Project name
- protocol string
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- proxy
Protocol stringType - 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.
- string[]
- NLB instance associated with the server group.
- scheduler 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.
- server
Count number - Number of backend servers in the server group.
- server
Group stringId - Server group ID
- server
Group stringName - 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
- servers
Nlb
Server Group Server[] - session
Persistence booleanEnabled - Enable session persistence.
- session
Persistence numberTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- status string
- Server group status
-
Nlb
Server Group Tag[] - timestamp
Remove booleanEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type string
- 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.
- updated
Time string - Last update time of the backend server group.
- vpc
Id string - ID of the private network to which the server group belongs
- account_
id str - Account ID
- any_
port_ boolenabled - Enable all-port forwarding
- bypass_
security_ boolgroup_ enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection_
drain_ boolenabled - Enable graceful connection termination.
- connection_
drain_ inttimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- created_
time str - Backend server group creation time
- description str
- 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.
- health_
check NlbServer Group Health Check Args - Health check parameters
- ip_
address_ strversion - 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.
- preserve_
client_ boolip_ enabled - Enable source address persistence
- project_
name str - Project name
- protocol str
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- proxy_
protocol_ strtype - 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.
- Sequence[str]
- NLB instance associated with the server group.
- scheduler str
- 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.
- server_
count int - Number of backend servers in the server group.
- server_
group_ strid - Server group ID
- server_
group_ strname - 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
- servers
Sequence[Nlb
Server Group Server Args] - session_
persistence_ boolenabled - Enable session persistence.
- session_
persistence_ inttimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- status str
- Server group status
-
Sequence[Nlb
Server Group Tag Args] - timestamp_
remove_ boolenabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type str
- 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.
- updated_
time str - Last update time of the backend server group.
- vpc_
id str - ID of the private network to which the server group belongs
- account
Id String - Account ID
- any
Port BooleanEnabled - Enable all-port forwarding
- bypass
Security BooleanGroup Enabled - Enable backend security group pass-through. This parameter can only be configured when Type is 'instance'.
- connection
Drain BooleanEnabled - Enable graceful connection termination.
- connection
Drain NumberTimeout - Connection graceful shutdown timeout, range: 0–900 seconds. If ConnectionDrainEnabled is 'true', this parameter is required.
- created
Time String - Backend server group creation time
- description 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.
- health
Check Property Map - Health check parameters
- ip
Address StringVersion - 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.
- preserve
Client BooleanIp Enabled - Enable source address persistence
- project
Name String - Project name
- protocol String
- Communication protocol used by NLB to forward traffic to backend servers. Options: TCP. UDP.
- proxy
Protocol StringType - 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.
- List<String>
- NLB instance associated with the server group.
- scheduler 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.
- server
Count Number - Number of backend servers in the server group.
- server
Group StringId - Server group ID
- server
Group StringName - 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
- servers List<Property Map>
- session
Persistence BooleanEnabled - Enable session persistence.
- session
Persistence NumberTimeout - Session persistence timeout. Range: 1–3600 seconds, default: 1000 seconds
- status String
- Server group status
- List<Property Map>
- timestamp
Remove BooleanEnabled - Enable removal of TCP/HTTP/HTTPS packet timestamps
- type String
- 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.
- updated
Time String - Last update time of the backend server group.
- vpc
Id String - ID of the private network to which the server group belongs
Supporting Types
NlbServerGroupHealthCheck, NlbServerGroupHealthCheckArgs
- Domain string
- Health check domain name
- Enabled bool
- Enable health check
- Healthy
Threshold int - Health check healthy threshold. Range: 2–10 times, default: 3 times. If the backend server passes the specified number of consecutive health checks with 'normal' results, it is considered health check 'normal'
- Http
Code string - HTTP status codes indicating a healthy health check.
- Interval int
- Health check interval, range: 1–300 seconds, default: 10 seconds.
- Method string
- Health check request method
- Port int
- Health check port. Range: 1–65535. If full port forwarding is not enabled for the server group, this parameter defaults to 0, meaning the backend server's port is used for health checks. If full port forwarding is enabled, this parameter must be specified
- Timeout int
- Health check response timeout. Range: 1–60 seconds, default: 3 seconds. If the backend server does not respond correctly within the specified time, it is considered health check 'abnormal'
- Type string
- Health check protocol type. Options: TCP (default), HTTP, UDP
- Udp
Expect string - UDP health check request string. Only letters and numbers are allowed, with a maximum length of 64 characters.
- Udp
Request string - Expected response string for UDP health check
- Unhealthy
Threshold int - Health check unhealthy threshold. Range: 2–10 times, default: 3 times. If the backend server fails the specified number of consecutive health checks with 'abnormal' results, it is considered health check abnormal
- Uri string
- Health check path
- Domain string
- Health check domain name
- Enabled bool
- Enable health check
- Healthy
Threshold int - Health check healthy threshold. Range: 2–10 times, default: 3 times. If the backend server passes the specified number of consecutive health checks with 'normal' results, it is considered health check 'normal'
- Http
Code string - HTTP status codes indicating a healthy health check.
- Interval int
- Health check interval, range: 1–300 seconds, default: 10 seconds.
- Method string
- Health check request method
- Port int
- Health check port. Range: 1–65535. If full port forwarding is not enabled for the server group, this parameter defaults to 0, meaning the backend server's port is used for health checks. If full port forwarding is enabled, this parameter must be specified
- Timeout int
- Health check response timeout. Range: 1–60 seconds, default: 3 seconds. If the backend server does not respond correctly within the specified time, it is considered health check 'abnormal'
- Type string
- Health check protocol type. Options: TCP (default), HTTP, UDP
- Udp
Expect string - UDP health check request string. Only letters and numbers are allowed, with a maximum length of 64 characters.
- Udp
Request string - Expected response string for UDP health check
- Unhealthy
Threshold int - Health check unhealthy threshold. Range: 2–10 times, default: 3 times. If the backend server fails the specified number of consecutive health checks with 'abnormal' results, it is considered health check abnormal
- Uri string
- Health check path
- domain String
- Health check domain name
- enabled Boolean
- Enable health check
- healthy
Threshold Integer - Health check healthy threshold. Range: 2–10 times, default: 3 times. If the backend server passes the specified number of consecutive health checks with 'normal' results, it is considered health check 'normal'
- http
Code String - HTTP status codes indicating a healthy health check.
- interval Integer
- Health check interval, range: 1–300 seconds, default: 10 seconds.
- method String
- Health check request method
- port Integer
- Health check port. Range: 1–65535. If full port forwarding is not enabled for the server group, this parameter defaults to 0, meaning the backend server's port is used for health checks. If full port forwarding is enabled, this parameter must be specified
- timeout Integer
- Health check response timeout. Range: 1–60 seconds, default: 3 seconds. If the backend server does not respond correctly within the specified time, it is considered health check 'abnormal'
- type String
- Health check protocol type. Options: TCP (default), HTTP, UDP
- udp
Expect String - UDP health check request string. Only letters and numbers are allowed, with a maximum length of 64 characters.
- udp
Request String - Expected response string for UDP health check
- unhealthy
Threshold Integer - Health check unhealthy threshold. Range: 2–10 times, default: 3 times. If the backend server fails the specified number of consecutive health checks with 'abnormal' results, it is considered health check abnormal
- uri String
- Health check path
- domain string
- Health check domain name
- enabled boolean
- Enable health check
- healthy
Threshold number - Health check healthy threshold. Range: 2–10 times, default: 3 times. If the backend server passes the specified number of consecutive health checks with 'normal' results, it is considered health check 'normal'
- http
Code string - HTTP status codes indicating a healthy health check.
- interval number
- Health check interval, range: 1–300 seconds, default: 10 seconds.
- method string
- Health check request method
- port number
- Health check port. Range: 1–65535. If full port forwarding is not enabled for the server group, this parameter defaults to 0, meaning the backend server's port is used for health checks. If full port forwarding is enabled, this parameter must be specified
- timeout number
- Health check response timeout. Range: 1–60 seconds, default: 3 seconds. If the backend server does not respond correctly within the specified time, it is considered health check 'abnormal'
- type string
- Health check protocol type. Options: TCP (default), HTTP, UDP
- udp
Expect string - UDP health check request string. Only letters and numbers are allowed, with a maximum length of 64 characters.
- udp
Request string - Expected response string for UDP health check
- unhealthy
Threshold number - Health check unhealthy threshold. Range: 2–10 times, default: 3 times. If the backend server fails the specified number of consecutive health checks with 'abnormal' results, it is considered health check abnormal
- uri string
- Health check path
- domain str
- Health check domain name
- enabled bool
- Enable health check
- healthy_
threshold int - Health check healthy threshold. Range: 2–10 times, default: 3 times. If the backend server passes the specified number of consecutive health checks with 'normal' results, it is considered health check 'normal'
- http_
code str - HTTP status codes indicating a healthy health check.
- interval int
- Health check interval, range: 1–300 seconds, default: 10 seconds.
- method str
- Health check request method
- port int
- Health check port. Range: 1–65535. If full port forwarding is not enabled for the server group, this parameter defaults to 0, meaning the backend server's port is used for health checks. If full port forwarding is enabled, this parameter must be specified
- timeout int
- Health check response timeout. Range: 1–60 seconds, default: 3 seconds. If the backend server does not respond correctly within the specified time, it is considered health check 'abnormal'
- type str
- Health check protocol type. Options: TCP (default), HTTP, UDP
- udp_
expect str - UDP health check request string. Only letters and numbers are allowed, with a maximum length of 64 characters.
- udp_
request str - Expected response string for UDP health check
- unhealthy_
threshold int - Health check unhealthy threshold. Range: 2–10 times, default: 3 times. If the backend server fails the specified number of consecutive health checks with 'abnormal' results, it is considered health check abnormal
- uri str
- Health check path
- domain String
- Health check domain name
- enabled Boolean
- Enable health check
- healthy
Threshold Number - Health check healthy threshold. Range: 2–10 times, default: 3 times. If the backend server passes the specified number of consecutive health checks with 'normal' results, it is considered health check 'normal'
- http
Code String - HTTP status codes indicating a healthy health check.
- interval Number
- Health check interval, range: 1–300 seconds, default: 10 seconds.
- method String
- Health check request method
- port Number
- Health check port. Range: 1–65535. If full port forwarding is not enabled for the server group, this parameter defaults to 0, meaning the backend server's port is used for health checks. If full port forwarding is enabled, this parameter must be specified
- timeout Number
- Health check response timeout. Range: 1–60 seconds, default: 3 seconds. If the backend server does not respond correctly within the specified time, it is considered health check 'abnormal'
- type String
- Health check protocol type. Options: TCP (default), HTTP, UDP
- udp
Expect String - UDP health check request string. Only letters and numbers are allowed, with a maximum length of 64 characters.
- udp
Request String - Expected response string for UDP health check
- unhealthy
Threshold Number - Health check unhealthy threshold. Range: 2–10 times, default: 3 times. If the backend server fails the specified number of consecutive health checks with 'abnormal' results, it is considered health check abnormal
- uri String
- Health check path
NlbServerGroupServer, NlbServerGroupServerArgs
- Description string
- Description of the backend server, default is an empty string.
- Instance
Id string - Server instance ID or IP address. If the server type is 'ecs', enter the cloud server instance ID. You can call the DescribeInstances API to obtain the cloud server instance ID. If the server type is 'eni', enter the network interface card ID bound to the cloud server instance. You can call the DescribeNetworkInterfaces API to obtain the network interface card ID. If the server type is 'ip', enter the backend server's IP address.
- Ip string
- Private IP address of the backend server. You can call the DescribeInstances API to obtain the private IP address of an 'ecs' type backend server. You can call the DescribeNetworkInterfaces API to obtain the private IP address of an 'eni' type backend server.
- Port int
- Port number on which the backend server receives requests, range: 1–65535. If AnyPortEnabled is 'false' (all-port forwarding is disabled), this parameter is required. If AnyPortEnabled is 'true' (all-port forwarding is enabled), the default value is 0.
- Server
Id string - Backend server ID
- Type string
- Backend server type. Available values: ecs: cloud server instance (primary network interface). eni: auxiliary network interface. ip: IP address.
- Weight int
- Backend server weight, range: 0–100. Weight of 0 means requests will not be forwarded to this server. If not specified, the default is 0.
- Zone
Id string - Specify the availability zone of the NLB instance associated with the backend server. This parameter is required when Servers.N.Type is ip. If the NLB instance enables cross-zone forwarding, the backend server can receive traffic from all availability zones of the NLB instance. If cross-zone forwarding is disabled, the backend server only receives traffic from the specified availability zone
- Description string
- Description of the backend server, default is an empty string.
- Instance
Id string - Server instance ID or IP address. If the server type is 'ecs', enter the cloud server instance ID. You can call the DescribeInstances API to obtain the cloud server instance ID. If the server type is 'eni', enter the network interface card ID bound to the cloud server instance. You can call the DescribeNetworkInterfaces API to obtain the network interface card ID. If the server type is 'ip', enter the backend server's IP address.
- Ip string
- Private IP address of the backend server. You can call the DescribeInstances API to obtain the private IP address of an 'ecs' type backend server. You can call the DescribeNetworkInterfaces API to obtain the private IP address of an 'eni' type backend server.
- Port int
- Port number on which the backend server receives requests, range: 1–65535. If AnyPortEnabled is 'false' (all-port forwarding is disabled), this parameter is required. If AnyPortEnabled is 'true' (all-port forwarding is enabled), the default value is 0.
- Server
Id string - Backend server ID
- Type string
- Backend server type. Available values: ecs: cloud server instance (primary network interface). eni: auxiliary network interface. ip: IP address.
- Weight int
- Backend server weight, range: 0–100. Weight of 0 means requests will not be forwarded to this server. If not specified, the default is 0.
- Zone
Id string - Specify the availability zone of the NLB instance associated with the backend server. This parameter is required when Servers.N.Type is ip. If the NLB instance enables cross-zone forwarding, the backend server can receive traffic from all availability zones of the NLB instance. If cross-zone forwarding is disabled, the backend server only receives traffic from the specified availability zone
- description String
- Description of the backend server, default is an empty string.
- instance
Id String - Server instance ID or IP address. If the server type is 'ecs', enter the cloud server instance ID. You can call the DescribeInstances API to obtain the cloud server instance ID. If the server type is 'eni', enter the network interface card ID bound to the cloud server instance. You can call the DescribeNetworkInterfaces API to obtain the network interface card ID. If the server type is 'ip', enter the backend server's IP address.
- ip String
- Private IP address of the backend server. You can call the DescribeInstances API to obtain the private IP address of an 'ecs' type backend server. You can call the DescribeNetworkInterfaces API to obtain the private IP address of an 'eni' type backend server.
- port Integer
- Port number on which the backend server receives requests, range: 1–65535. If AnyPortEnabled is 'false' (all-port forwarding is disabled), this parameter is required. If AnyPortEnabled is 'true' (all-port forwarding is enabled), the default value is 0.
- server
Id String - Backend server ID
- type String
- Backend server type. Available values: ecs: cloud server instance (primary network interface). eni: auxiliary network interface. ip: IP address.
- weight Integer
- Backend server weight, range: 0–100. Weight of 0 means requests will not be forwarded to this server. If not specified, the default is 0.
- zone
Id String - Specify the availability zone of the NLB instance associated with the backend server. This parameter is required when Servers.N.Type is ip. If the NLB instance enables cross-zone forwarding, the backend server can receive traffic from all availability zones of the NLB instance. If cross-zone forwarding is disabled, the backend server only receives traffic from the specified availability zone
- description string
- Description of the backend server, default is an empty string.
- instance
Id string - Server instance ID or IP address. If the server type is 'ecs', enter the cloud server instance ID. You can call the DescribeInstances API to obtain the cloud server instance ID. If the server type is 'eni', enter the network interface card ID bound to the cloud server instance. You can call the DescribeNetworkInterfaces API to obtain the network interface card ID. If the server type is 'ip', enter the backend server's IP address.
- ip string
- Private IP address of the backend server. You can call the DescribeInstances API to obtain the private IP address of an 'ecs' type backend server. You can call the DescribeNetworkInterfaces API to obtain the private IP address of an 'eni' type backend server.
- port number
- Port number on which the backend server receives requests, range: 1–65535. If AnyPortEnabled is 'false' (all-port forwarding is disabled), this parameter is required. If AnyPortEnabled is 'true' (all-port forwarding is enabled), the default value is 0.
- server
Id string - Backend server ID
- type string
- Backend server type. Available values: ecs: cloud server instance (primary network interface). eni: auxiliary network interface. ip: IP address.
- weight number
- Backend server weight, range: 0–100. Weight of 0 means requests will not be forwarded to this server. If not specified, the default is 0.
- zone
Id string - Specify the availability zone of the NLB instance associated with the backend server. This parameter is required when Servers.N.Type is ip. If the NLB instance enables cross-zone forwarding, the backend server can receive traffic from all availability zones of the NLB instance. If cross-zone forwarding is disabled, the backend server only receives traffic from the specified availability zone
- description str
- Description of the backend server, default is an empty string.
- instance_
id str - Server instance ID or IP address. If the server type is 'ecs', enter the cloud server instance ID. You can call the DescribeInstances API to obtain the cloud server instance ID. If the server type is 'eni', enter the network interface card ID bound to the cloud server instance. You can call the DescribeNetworkInterfaces API to obtain the network interface card ID. If the server type is 'ip', enter the backend server's IP address.
- ip str
- Private IP address of the backend server. You can call the DescribeInstances API to obtain the private IP address of an 'ecs' type backend server. You can call the DescribeNetworkInterfaces API to obtain the private IP address of an 'eni' type backend server.
- port int
- Port number on which the backend server receives requests, range: 1–65535. If AnyPortEnabled is 'false' (all-port forwarding is disabled), this parameter is required. If AnyPortEnabled is 'true' (all-port forwarding is enabled), the default value is 0.
- server_
id str - Backend server ID
- type str
- Backend server type. Available values: ecs: cloud server instance (primary network interface). eni: auxiliary network interface. ip: IP address.
- weight int
- Backend server weight, range: 0–100. Weight of 0 means requests will not be forwarded to this server. If not specified, the default is 0.
- zone_
id str - Specify the availability zone of the NLB instance associated with the backend server. This parameter is required when Servers.N.Type is ip. If the NLB instance enables cross-zone forwarding, the backend server can receive traffic from all availability zones of the NLB instance. If cross-zone forwarding is disabled, the backend server only receives traffic from the specified availability zone
- description String
- Description of the backend server, default is an empty string.
- instance
Id String - Server instance ID or IP address. If the server type is 'ecs', enter the cloud server instance ID. You can call the DescribeInstances API to obtain the cloud server instance ID. If the server type is 'eni', enter the network interface card ID bound to the cloud server instance. You can call the DescribeNetworkInterfaces API to obtain the network interface card ID. If the server type is 'ip', enter the backend server's IP address.
- ip String
- Private IP address of the backend server. You can call the DescribeInstances API to obtain the private IP address of an 'ecs' type backend server. You can call the DescribeNetworkInterfaces API to obtain the private IP address of an 'eni' type backend server.
- port Number
- Port number on which the backend server receives requests, range: 1–65535. If AnyPortEnabled is 'false' (all-port forwarding is disabled), this parameter is required. If AnyPortEnabled is 'true' (all-port forwarding is enabled), the default value is 0.
- server
Id String - Backend server ID
- type String
- Backend server type. Available values: ecs: cloud server instance (primary network interface). eni: auxiliary network interface. ip: IP address.
- weight Number
- Backend server weight, range: 0–100. Weight of 0 means requests will not be forwarded to this server. If not specified, the default is 0.
- zone
Id String - Specify the availability zone of the NLB instance associated with the backend server. This parameter is required when Servers.N.Type is ip. If the NLB instance enables cross-zone forwarding, the backend server can receive traffic from all availability zones of the NLB instance. If cross-zone forwarding is disabled, the backend server only receives traffic from the specified availability zone
NlbServerGroupTag, NlbServerGroupTagArgs
Import
$ pulumi import volcenginecc:clb/nlbServerGroup:NlbServerGroup example "server_group_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
