volcenginecc.clb.ServerGroup
后端服务器组是一组后端服务器。
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
cLBServerGroupDemo:
type: volcenginecc:clb:ServerGroup
name: CLBServerGroupDemo
properties:
loadBalancerId: clb-mioj49on0zcw5smt1b8rxxxx
serverGroupName: CLBServerGroupDemo
type: instance
description: CLBServerGroupDemo description
addressIpVersion: ipv4
anyPortEnabled: off
tags:
- key: env
value: test
servers:
- instance_id: i-ye498lwge85i3z3kxxxx
type: ecs
weight: 50
ip: 192.168.*.13
any_port_enabled: off
port: 8080
description: test
- instance_id: i-ye48ymyy9s5i3z4pxxxx
type: ecs
weight: 22
ip: 192.168.*.52
any_port_enabled: off
port: 91
description: test
Create ServerGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerGroup(name: string, args: ServerGroupArgs, opts?: CustomResourceOptions);
@overload
def ServerGroup(resource_name: str,
args: ServerGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServerGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
load_balancer_id: Optional[str] = None,
address_ip_version: Optional[str] = None,
any_port_enabled: Optional[str] = None,
description: Optional[str] = None,
server_group_name: Optional[str] = None,
servers: Optional[Sequence[ServerGroupServerArgs]] = None,
tags: Optional[Sequence[ServerGroupTagArgs]] = None,
type: Optional[str] = None)
func NewServerGroup(ctx *Context, name string, args ServerGroupArgs, opts ...ResourceOption) (*ServerGroup, error)
public ServerGroup(string name, ServerGroupArgs args, CustomResourceOptions? opts = null)
public ServerGroup(String name, ServerGroupArgs args)
public ServerGroup(String name, ServerGroupArgs args, CustomResourceOptions options)
type: volcenginecc:clb:ServerGroup
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 ServerGroupArgs
- 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 ServerGroupArgs
- 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 ServerGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serverGroupResource = new Volcenginecc.Clb.ServerGroup("serverGroupResource", new()
{
LoadBalancerId = "string",
AddressIpVersion = "string",
AnyPortEnabled = "string",
Description = "string",
ServerGroupName = "string",
Servers = new[]
{
new Volcenginecc.Clb.Inputs.ServerGroupServerArgs
{
Description = "string",
InstanceId = "string",
Ip = "string",
Port = 0,
Type = "string",
Weight = 0,
},
},
Tags = new[]
{
new Volcenginecc.Clb.Inputs.ServerGroupTagArgs
{
Key = "string",
Value = "string",
},
},
Type = "string",
});
example, err := clb.NewServerGroup(ctx, "serverGroupResource", &clb.ServerGroupArgs{
LoadBalancerId: pulumi.String("string"),
AddressIpVersion: pulumi.String("string"),
AnyPortEnabled: pulumi.String("string"),
Description: pulumi.String("string"),
ServerGroupName: pulumi.String("string"),
Servers: clb.ServerGroupServerArray{
&clb.ServerGroupServerArgs{
Description: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Ip: pulumi.String("string"),
Port: pulumi.Int(0),
Type: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
Tags: clb.ServerGroupTagArray{
&clb.ServerGroupTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
})
var serverGroupResource = new ServerGroup("serverGroupResource", ServerGroupArgs.builder()
.loadBalancerId("string")
.addressIpVersion("string")
.anyPortEnabled("string")
.description("string")
.serverGroupName("string")
.servers(ServerGroupServerArgs.builder()
.description("string")
.instanceId("string")
.ip("string")
.port(0)
.type("string")
.weight(0)
.build())
.tags(ServerGroupTagArgs.builder()
.key("string")
.value("string")
.build())
.type("string")
.build());
server_group_resource = volcenginecc.clb.ServerGroup("serverGroupResource",
load_balancer_id="string",
address_ip_version="string",
any_port_enabled="string",
description="string",
server_group_name="string",
servers=[{
"description": "string",
"instance_id": "string",
"ip": "string",
"port": 0,
"type": "string",
"weight": 0,
}],
tags=[{
"key": "string",
"value": "string",
}],
type="string")
const serverGroupResource = new volcenginecc.clb.ServerGroup("serverGroupResource", {
loadBalancerId: "string",
addressIpVersion: "string",
anyPortEnabled: "string",
description: "string",
serverGroupName: "string",
servers: [{
description: "string",
instanceId: "string",
ip: "string",
port: 0,
type: "string",
weight: 0,
}],
tags: [{
key: "string",
value: "string",
}],
type: "string",
});
type: volcenginecc:clb:ServerGroup
properties:
addressIpVersion: string
anyPortEnabled: string
description: string
loadBalancerId: string
serverGroupName: string
servers:
- description: string
instanceId: string
ip: string
port: 0
type: string
weight: 0
tags:
- key: string
value: string
type: string
ServerGroup 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 ServerGroup resource accepts the following input properties:
- Load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- Address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- Any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- Description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- Server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- Servers
List<Volcengine.
Server Group Server> - List<Volcengine.
Server Group Tag> - Type string
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- Load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- Address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- Any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- Description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- Server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- Servers
[]Server
Group Server Args - []Server
Group Tag Args - Type string
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- load
Balancer StringId - 后端服务器组所属的CLB实例ID。
- address
Ip StringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any
Port StringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- description String
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- server
Group StringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
List<Server
Group Server> - List<Server
Group Tag> - type String
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
Server
Group Server[] - Server
Group Tag[] - type string
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- load_
balancer_ strid - 后端服务器组所属的CLB实例ID。
- address_
ip_ strversion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any_
port_ strenabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- description str
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- server_
group_ strname - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
Sequence[Server
Group Server Args] - Sequence[Server
Group Tag Args] - type str
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
- load
Balancer StringId - 后端服务器组所属的CLB实例ID。
- address
Ip StringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- any
Port StringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- description String
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- server
Group StringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers List<Property Map>
- List<Property Map>
- type String
- 后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerGroup resource produces the following output properties:
- Create
Time string - 后端服务器组的创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<Volcengine.
Server Group Listener> - Server
Group stringId - 后端服务器组的ID。
- Update
Time string - 后端服务器组的最近操作时间。
- Create
Time string - 后端服务器组的创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]Server
Group Listener - Server
Group stringId - 后端服务器组的ID。
- Update
Time string - 后端服务器组的最近操作时间。
- create
Time String - 后端服务器组的创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<Server
Group Listener> - server
Group StringId - 后端服务器组的ID。
- update
Time String - 后端服务器组的最近操作时间。
- create
Time string - 后端服务器组的创建时间。
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
Server
Group Listener[] - server
Group stringId - 后端服务器组的ID。
- update
Time string - 后端服务器组的最近操作时间。
- create_
time str - 后端服务器组的创建时间。
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[Server
Group Listener] - server_
group_ strid - 后端服务器组的ID。
- update_
time str - 后端服务器组的最近操作时间。
- create
Time String - 后端服务器组的创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- listeners List<Property Map>
- server
Group StringId - 后端服务器组的ID。
- update
Time String - 后端服务器组的最近操作时间。
Look up Existing ServerGroup Resource
Get an existing ServerGroup 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?: ServerGroupState, opts?: CustomResourceOptions): ServerGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_ip_version: Optional[str] = None,
any_port_enabled: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
listeners: Optional[Sequence[ServerGroupListenerArgs]] = None,
load_balancer_id: Optional[str] = None,
server_group_id: Optional[str] = None,
server_group_name: Optional[str] = None,
servers: Optional[Sequence[ServerGroupServerArgs]] = None,
tags: Optional[Sequence[ServerGroupTagArgs]] = None,
type: Optional[str] = None,
update_time: Optional[str] = None) -> ServerGroup
func GetServerGroup(ctx *Context, name string, id IDInput, state *ServerGroupState, opts ...ResourceOption) (*ServerGroup, error)
public static ServerGroup Get(string name, Input<string> id, ServerGroupState? state, CustomResourceOptions? opts = null)
public static ServerGroup get(String name, Output<String> id, ServerGroupState state, CustomResourceOptions options)
resources: _: type: volcenginecc:clb:ServerGroup 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.
- Address
Ip stringVersion - 后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
- Any
Port stringEnabled - 是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
- Create
Time string - 后端服务器组的创建时间。
- Description string
- 后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
- Listeners
List<Volcengine.
Server Group Listener> - Load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- Server
Group stringId - 后端服务器组的ID。
- Server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- Servers
List<Volcengine.
Server Group Server> - List<Volcengine.
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个符。不填则默认为空字符串。
- Listeners
[]Server
Group Listener Args - Load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- Server
Group stringId - 后端服务器组的ID。
- Server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- Servers
[]Server
Group Server Args - []Server
Group Tag Args - 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个符。不填则默认为空字符串。
- listeners
List<Server
Group Listener> - load
Balancer StringId - 后端服务器组所属的CLB实例ID。
- server
Group StringId - 后端服务器组的ID。
- server
Group StringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
List<Server
Group Server> - List<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个符。不填则默认为空字符串。
- listeners
Server
Group Listener[] - load
Balancer stringId - 后端服务器组所属的CLB实例ID。
- server
Group stringId - 后端服务器组的ID。
- server
Group stringName - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
Server
Group Server[] - 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个符。不填则默认为空字符串。
- listeners
Sequence[Server
Group Listener Args] - load_
balancer_ strid - 后端服务器组所属的CLB实例ID。
- server_
group_ strid - 后端服务器组的ID。
- server_
group_ strname - 后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
- servers
Sequence[Server
Group Server Args] - Sequence[Server
Group Tag Args] - 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个符。不填则默认为空字符串。
- 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
ServerGroupListener, ServerGroupListenerArgs
- Listener
Id string - 监听器的ID。
- Listener
Id string - 监听器的ID。
- listener
Id String - 监听器的ID。
- listener
Id string - 监听器的ID。
- listener_
id str - 监听器的ID。
- listener
Id String - 监听器的ID。
ServerGroupServer, ServerGroupServerArgs
- Description string
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- Instance
Id string - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- Ip string
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- Port int
- 后端服务器接收请求的端口号。取值范围为1~65535。
- Type string
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- Weight int
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- Description string
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- Instance
Id string - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- Ip string
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- Port int
- 后端服务器接收请求的端口号。取值范围为1~65535。
- Type string
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- Weight int
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- description String
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance
Id String - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip String
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port Integer
- 后端服务器接收请求的端口号。取值范围为1~65535。
- type String
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight Integer
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- description string
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance
Id string - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip string
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port number
- 后端服务器接收请求的端口号。取值范围为1~65535。
- type string
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight number
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- description str
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance_
id str - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip str
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port int
- 后端服务器接收请求的端口号。取值范围为1~65535。
- type str
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight int
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
- description String
- 后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
- instance
Id String - 后端服务器。取值情况如下:当 Type 取ecs时,传云服务器实例的ID。当Type 取eni时,传已挂载至云服务器的辅助网卡的ID。当 Type 取ip时,传IP地址作为后端服务器。
- ip String
- 后端服务器的私网IP地址。多个后端服务器IP之间使用“&”分隔。
- port Number
- 后端服务器接收请求的端口号。取值范围为1~65535。
- type String
- 后端服务器实例类型。当参数Type取instance时,取值如下:ecs:云服务器实例。eni:网卡。当参数Type取ip时,本参数取值为ip。
- weight Number
- 后端服务器的权重,取值范围为0 ~ 100。不填则默认为0。0表示不会将请求转发给该后端服务器。
ServerGroupTag, ServerGroupTagArgs
Import
$ pulumi import volcenginecc:clb/serverGroup:ServerGroup 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
volcenginecc
Terraform Provider.