Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Data Source schema for Byteplus::CLB::ServerGroup
Using getServerGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServerGroup(args: GetServerGroupArgs, opts?: InvokeOptions): Promise<GetServerGroupResult>
function getServerGroupOutput(args: GetServerGroupOutputArgs, opts?: InvokeOptions): Output<GetServerGroupResult>def get_server_group(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerGroupResult
def get_server_group_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerGroupResult]func LookupServerGroup(ctx *Context, args *LookupServerGroupArgs, opts ...InvokeOption) (*LookupServerGroupResult, error)
func LookupServerGroupOutput(ctx *Context, args *LookupServerGroupOutputArgs, opts ...InvokeOption) LookupServerGroupResultOutput> Note: This function is named LookupServerGroup in the Go SDK.
public static class GetServerGroup
{
public static Task<GetServerGroupResult> InvokeAsync(GetServerGroupArgs args, InvokeOptions? opts = null)
public static Output<GetServerGroupResult> Invoke(GetServerGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServerGroupResult> getServerGroup(GetServerGroupArgs args, InvokeOptions options)
public static Output<GetServerGroupResult> getServerGroup(GetServerGroupArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:clb/getServerGroup:getServerGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getServerGroup Result
The following output properties are available:
- Address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- Any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- Create
Time string - 后端服务器组的创建时间。
- Description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- Id string
- Uniquely identifies the resource.
- Listeners
List<Byteplus.
Get Server Group Listener> - 后端服务器组关联的监听器信息。
- Load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- Server
Group stringId - 后端服务器组的ID。
- Server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- Servers
List<Byteplus.
Get Server Group Server> - 后端服务器组中服务器的信息。
-
List<Byteplus.
Get Server Group Tag> - 标签信息。
- Type string
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- Update
Time string - 后端服务器组的最近操作时间。
- Address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- Any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- Create
Time string - 后端服务器组的创建时间。
- Description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- Id string
- Uniquely identifies the resource.
- Listeners
[]Get
Server Group Listener - 后端服务器组关联的监听器信息。
- Load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- Server
Group stringId - 后端服务器组的ID。
- Server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- Servers
[]Get
Server Group Server - 后端服务器组中服务器的信息。
-
[]Get
Server Group Tag - 标签信息。
- Type string
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- Update
Time string - 后端服务器组的最近操作时间。
- address
Ip StringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any
Port StringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- create
Time String - 后端服务器组的创建时间。
- description String
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- id String
- Uniquely identifies the resource.
- listeners
List<Get
Server Group Listener> - 后端服务器组关联的监听器信息。
- load
Balancer StringId - 后端服务器组所属的CLB实例ID。
- server
Group StringId - 后端服务器组的ID。
- server
Group StringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
List<Get
Server Group Server> - 后端服务器组中服务器的信息。
-
List<Get
Server Group Tag> - 标签信息。
- type String
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- update
Time String - 后端服务器组的最近操作时间。
- address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- create
Time string - 后端服务器组的创建时间。
- description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- id string
- Uniquely identifies the resource.
- listeners
Get
Server Group Listener[] - 后端服务器组关联的监听器信息。
- load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- server
Group stringId - 后端服务器组的ID。
- server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
Get
Server Group Server[] - 后端服务器组中服务器的信息。
-
Get
Server Group Tag[] - 标签信息。
- type string
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- update
Time string - 后端服务器组的最近操作时间。
- address_
ip_ strversion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any_
port_ strenabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- create_
time str - 后端服务器组的创建时间。
- description str
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- id str
- Uniquely identifies the resource.
- listeners
Sequence[Get
Server Group Listener] - 后端服务器组关联的监听器信息。
- load_
balancer_ strid - 后端服务器组所属的CLB实例ID。
- server_
group_ strid - 后端服务器组的ID。
- server_
group_ strname - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
Sequence[Get
Server Group Server] - 后端服务器组中服务器的信息。
-
Sequence[Get
Server Group Tag] - 标签信息。
- type str
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- update_
time str - 后端服务器组的最近操作时间。
- address
Ip StringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any
Port StringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- create
Time String - 后端服务器组的创建时间。
- description String
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- id String
- Uniquely identifies the resource.
- listeners List<Property Map>
- 后端服务器组关联的监听器信息。
- load
Balancer StringId - 后端服务器组所属的CLB实例ID。
- server
Group StringId - 后端服务器组的ID。
- server
Group StringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers List<Property Map>
- 后端服务器组中服务器的信息。
- List<Property Map>
- 标签信息。
- type String
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- update
Time String - 后端服务器组的最近操作时间。
Supporting Types
GetServerGroupListener
- Listener
Id string - 监听器的ID。
- Listener
Id string - 监听器的ID。
- listener
Id String - 监听器的ID。
- listener
Id string - 监听器的ID。
- listener_
id str - 监听器的ID。
- listener
Id String - 监听器的ID。
GetServerGroupServer
- Any
Port stringEnabled - 是否开启全端口转发。on:开启。off(默认值):关闭。
- Description string
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- Instance
Id string - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- Ip string
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- Port int
- 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
- Server
Id string - 后端服务器ID。
- Type string
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- Weight int
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- Any
Port stringEnabled - 是否开启全端口转发。on:开启。off(默认值):关闭。
- Description string
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- Instance
Id string - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- Ip string
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- Port int
- 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
- Server
Id string - 后端服务器ID。
- Type string
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- Weight int
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- any
Port StringEnabled - 是否开启全端口转发。on:开启。off(默认值):关闭。
- description String
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance
Id String - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip String
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port Integer
- 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
- server
Id String - 后端服务器ID。
- type String
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight Integer
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- any
Port stringEnabled - 是否开启全端口转发。on:开启。off(默认值):关闭。
- description string
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance
Id string - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip string
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port number
- 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
- server
Id string - 后端服务器ID。
- type string
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight number
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- any_
port_ strenabled - 是否开启全端口转发。on:开启。off(默认值):关闭。
- description str
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance_
id str - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip str
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port int
- 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
- server_
id str - 后端服务器ID。
- type str
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight int
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- any
Port StringEnabled - 是否开启全端口转发。on:开启。off(默认值):关闭。
- description String
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance
Id String - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip String
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port Number
- 后端服务器接收请求的端口号。取值范围为1~65535。参数AnyPortEnabled为“off”,且需要同时添加后端服务器时,该参数必须传入;参数AnyPortEnabled为“on”时,该参数默认为0。
- server
Id String - 后端服务器ID。
- type String
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight Number
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
GetServerGroupTag
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
