1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. clb
  5. ServerGroup
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

volcenginecc.clb.ServerGroup

Deploy with Pulumi
volcenginecc logo
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

    后端服务器组是一组后端服务器。

    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:

    LoadBalancerId string
    后端服务器组所属的CLB实例ID。
    AddressIpVersion string
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    AnyPortEnabled string
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    Description string
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    ServerGroupName string
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    Servers List<Volcengine.ServerGroupServer>
    Tags List<Volcengine.ServerGroupTag>
    Type string
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    LoadBalancerId string
    后端服务器组所属的CLB实例ID。
    AddressIpVersion string
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    AnyPortEnabled string
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    Description string
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    ServerGroupName string
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    Servers []ServerGroupServerArgs
    Tags []ServerGroupTagArgs
    Type string
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    loadBalancerId String
    后端服务器组所属的CLB实例ID。
    addressIpVersion String
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    anyPortEnabled String
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    description String
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    serverGroupName String
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers List<ServerGroupServer>
    tags List<ServerGroupTag>
    type String
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    loadBalancerId string
    后端服务器组所属的CLB实例ID。
    addressIpVersion string
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    anyPortEnabled string
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    description string
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    serverGroupName string
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers ServerGroupServer[]
    tags ServerGroupTag[]
    type string
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    load_balancer_id str
    后端服务器组所属的CLB实例ID。
    address_ip_version str
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    any_port_enabled str
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    description str
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    server_group_name str
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers Sequence[ServerGroupServerArgs]
    tags Sequence[ServerGroupTagArgs]
    type str
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    loadBalancerId String
    后端服务器组所属的CLB实例ID。
    addressIpVersion String
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    anyPortEnabled String
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    description String
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    serverGroupName String
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers List<Property Map>
    tags 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:

    CreateTime string
    后端服务器组的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    Listeners List<Volcengine.ServerGroupListener>
    ServerGroupId string
    后端服务器组的ID。
    UpdateTime string
    后端服务器组的最近操作时间。
    CreateTime string
    后端服务器组的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    Listeners []ServerGroupListener
    ServerGroupId string
    后端服务器组的ID。
    UpdateTime string
    后端服务器组的最近操作时间。
    createTime String
    后端服务器组的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    listeners List<ServerGroupListener>
    serverGroupId String
    后端服务器组的ID。
    updateTime String
    后端服务器组的最近操作时间。
    createTime string
    后端服务器组的创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    listeners ServerGroupListener[]
    serverGroupId string
    后端服务器组的ID。
    updateTime string
    后端服务器组的最近操作时间。
    create_time str
    后端服务器组的创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    listeners Sequence[ServerGroupListener]
    server_group_id str
    后端服务器组的ID。
    update_time str
    后端服务器组的最近操作时间。
    createTime String
    后端服务器组的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    listeners List<Property Map>
    serverGroupId String
    后端服务器组的ID。
    updateTime 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.
    The following state arguments are supported:
    AddressIpVersion string
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    AnyPortEnabled string
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    CreateTime string
    后端服务器组的创建时间。
    Description string
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    Listeners List<Volcengine.ServerGroupListener>
    LoadBalancerId string
    后端服务器组所属的CLB实例ID。
    ServerGroupId string
    后端服务器组的ID。
    ServerGroupName string
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    Servers List<Volcengine.ServerGroupServer>
    Tags List<Volcengine.ServerGroupTag>
    Type string
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    UpdateTime string
    后端服务器组的最近操作时间。
    AddressIpVersion string
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    AnyPortEnabled string
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    CreateTime string
    后端服务器组的创建时间。
    Description string
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    Listeners []ServerGroupListenerArgs
    LoadBalancerId string
    后端服务器组所属的CLB实例ID。
    ServerGroupId string
    后端服务器组的ID。
    ServerGroupName string
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    Servers []ServerGroupServerArgs
    Tags []ServerGroupTagArgs
    Type string
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    UpdateTime string
    后端服务器组的最近操作时间。
    addressIpVersion String
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    anyPortEnabled String
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    createTime String
    后端服务器组的创建时间。
    description String
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    listeners List<ServerGroupListener>
    loadBalancerId String
    后端服务器组所属的CLB实例ID。
    serverGroupId String
    后端服务器组的ID。
    serverGroupName String
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers List<ServerGroupServer>
    tags List<ServerGroupTag>
    type String
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    updateTime String
    后端服务器组的最近操作时间。
    addressIpVersion string
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    anyPortEnabled string
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    createTime string
    后端服务器组的创建时间。
    description string
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    listeners ServerGroupListener[]
    loadBalancerId string
    后端服务器组所属的CLB实例ID。
    serverGroupId string
    后端服务器组的ID。
    serverGroupName string
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers ServerGroupServer[]
    tags ServerGroupTag[]
    type string
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    updateTime string
    后端服务器组的最近操作时间。
    address_ip_version str
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    any_port_enabled str
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    create_time str
    后端服务器组的创建时间。
    description str
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    listeners Sequence[ServerGroupListenerArgs]
    load_balancer_id str
    后端服务器组所属的CLB实例ID。
    server_group_id str
    后端服务器组的ID。
    server_group_name str
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers Sequence[ServerGroupServerArgs]
    tags Sequence[ServerGroupTagArgs]
    type str
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    update_time str
    后端服务器组的最近操作时间。
    addressIpVersion String
    后端服务器组的IP地址类型。ipv4:后端服务器组为IPv4类型。ipv6:后端服务器组为IPv6类型。
    anyPortEnabled String
    是否开启全端口转发。on:开启全端口转发。off:关闭全端口转发。
    createTime String
    后端服务器组的创建时间。
    description String
    后端服务器组的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个符。不填则默认为空字符串。
    listeners List<Property Map>
    loadBalancerId String
    后端服务器组所属的CLB实例ID。
    serverGroupId String
    后端服务器组的ID。
    serverGroupName String
    后端服务器组的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。限制为1 ~ 128个字符。不填默认为后端服务器组ID。
    servers List<Property Map>
    tags List<Property Map>
    type String
    后端服务器组的类型。instance:表示该后端服务器组只能添加云服务器的主网卡或辅助网卡作为后端服务器。ip:表示该后端服务器组只能添加IP地址作为后端服务器。
    updateTime String
    后端服务器组的最近操作时间。

    Supporting Types

    ServerGroupListener, ServerGroupListenerArgs

    ListenerId string
    监听器的ID。
    ListenerId string
    监听器的ID。
    listenerId String
    监听器的ID。
    listenerId string
    监听器的ID。
    listener_id str
    监听器的ID。
    listenerId String
    监听器的ID。

    ServerGroupServer, ServerGroupServerArgs

    Description string
    后端服务器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255字符。不填则默认为空字符串。
    InstanceId 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字符。不填则默认为空字符串。
    InstanceId 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字符。不填则默认为空字符串。
    instanceId 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字符。不填则默认为空字符串。
    instanceId 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字符。不填则默认为空字符串。
    instanceId 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

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    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.
    volcenginecc logo
    volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate