1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. alb
  5. ServerGroup
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

volcenginecc.alb.ServerGroup

Start a Neo task
Explain and create a volcenginecc.alb.ServerGroup resource
volcenginecc logo
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

    服务器组是后端服务器的逻辑集合。ALB 实例按照您配置的转发规则确定客户端请求将被转发到的服务器组。然后,ALB 实例根据您配置的负载均衡策略,将请求分发给服务器组内的后端服务器。后端服务器接收并处理请求。

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      albServergroupDemo:
        type: volcenginecc:alb:ServerGroup
        name: AlbServergroupDemo
        properties:
          vpcId: vpc-13f8***
          serverGroupName: test-servergroup
          serverGroupType: instance
          protocol: HTTP
          scheduler: wrr
          healthCheck:
            enabled: on
            port: 80
            interval: 2
            timeout: 5
            healthy_threshold: 3
            unhealthy_threshold: 3
            method: GET
            http_version: HTTP1.1
            uri: /health
            http_code: http_2xx
          stickySessionConfig:
            sticky_session_enabled: on
            sticky_session_type: insert
            cookie_timeout: 1000
          servers:
            - instance_id: i-ye3***
              type: ecs
              ip: 192.168.1.**
              port: 80
              weight: 10
          tags:
            - key: env
              value: 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,
                    vpc_id: Optional[str] = None,
                    server_group_name: Optional[str] = None,
                    ip_address_type: Optional[str] = None,
                    project_name: Optional[str] = None,
                    protocol: Optional[str] = None,
                    scheduler: Optional[str] = None,
                    description: Optional[str] = None,
                    server_group_type: Optional[str] = None,
                    servers: Optional[Sequence[ServerGroupServerArgs]] = None,
                    status: Optional[str] = None,
                    sticky_session_config: Optional[ServerGroupStickySessionConfigArgs] = None,
                    tags: Optional[Sequence[ServerGroupTagArgs]] = None,
                    health_check: Optional[ServerGroupHealthCheckArgs] = 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:alb: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.Alb.ServerGroup("serverGroupResource", new()
    {
        VpcId = "string",
        ServerGroupName = "string",
        IpAddressType = "string",
        ProjectName = "string",
        Protocol = "string",
        Scheduler = "string",
        Description = "string",
        ServerGroupType = "string",
        Servers = new[]
        {
            new Volcenginecc.Alb.Inputs.ServerGroupServerArgs
            {
                Description = "string",
                InstanceId = "string",
                Ip = "string",
                Port = 0,
                RemoteEnabled = "string",
                ServerId = "string",
                Type = "string",
                Weight = 0,
            },
        },
        Status = "string",
        StickySessionConfig = new Volcenginecc.Alb.Inputs.ServerGroupStickySessionConfigArgs
        {
            Cookie = "string",
            CookieTimeout = 0,
            StickySessionEnabled = "string",
            StickySessionType = "string",
        },
        Tags = new[]
        {
            new Volcenginecc.Alb.Inputs.ServerGroupTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        HealthCheck = new Volcenginecc.Alb.Inputs.ServerGroupHealthCheckArgs
        {
            Domain = "string",
            Enabled = "string",
            HealthyThreshold = 0,
            HttpCode = "string",
            HttpVersion = "string",
            Interval = 0,
            Method = "string",
            Port = 0,
            Protocol = "string",
            Timeout = 0,
            UnhealthyThreshold = 0,
            Uri = "string",
        },
    });
    
    example, err := alb.NewServerGroup(ctx, "serverGroupResource", &alb.ServerGroupArgs{
    	VpcId:           pulumi.String("string"),
    	ServerGroupName: pulumi.String("string"),
    	IpAddressType:   pulumi.String("string"),
    	ProjectName:     pulumi.String("string"),
    	Protocol:        pulumi.String("string"),
    	Scheduler:       pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	ServerGroupType: pulumi.String("string"),
    	Servers: alb.ServerGroupServerArray{
    		&alb.ServerGroupServerArgs{
    			Description:   pulumi.String("string"),
    			InstanceId:    pulumi.String("string"),
    			Ip:            pulumi.String("string"),
    			Port:          pulumi.Int(0),
    			RemoteEnabled: pulumi.String("string"),
    			ServerId:      pulumi.String("string"),
    			Type:          pulumi.String("string"),
    			Weight:        pulumi.Int(0),
    		},
    	},
    	Status: pulumi.String("string"),
    	StickySessionConfig: &alb.ServerGroupStickySessionConfigArgs{
    		Cookie:               pulumi.String("string"),
    		CookieTimeout:        pulumi.Int(0),
    		StickySessionEnabled: pulumi.String("string"),
    		StickySessionType:    pulumi.String("string"),
    	},
    	Tags: alb.ServerGroupTagArray{
    		&alb.ServerGroupTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	HealthCheck: &alb.ServerGroupHealthCheckArgs{
    		Domain:             pulumi.String("string"),
    		Enabled:            pulumi.String("string"),
    		HealthyThreshold:   pulumi.Int(0),
    		HttpCode:           pulumi.String("string"),
    		HttpVersion:        pulumi.String("string"),
    		Interval:           pulumi.Int(0),
    		Method:             pulumi.String("string"),
    		Port:               pulumi.Int(0),
    		Protocol:           pulumi.String("string"),
    		Timeout:            pulumi.Int(0),
    		UnhealthyThreshold: pulumi.Int(0),
    		Uri:                pulumi.String("string"),
    	},
    })
    
    var serverGroupResource = new com.volcengine.volcenginecc.alb.ServerGroup("serverGroupResource", com.volcengine.volcenginecc.alb.ServerGroupArgs.builder()
        .vpcId("string")
        .serverGroupName("string")
        .ipAddressType("string")
        .projectName("string")
        .protocol("string")
        .scheduler("string")
        .description("string")
        .serverGroupType("string")
        .servers(ServerGroupServerArgs.builder()
            .description("string")
            .instanceId("string")
            .ip("string")
            .port(0)
            .remoteEnabled("string")
            .serverId("string")
            .type("string")
            .weight(0)
            .build())
        .status("string")
        .stickySessionConfig(ServerGroupStickySessionConfigArgs.builder()
            .cookie("string")
            .cookieTimeout(0)
            .stickySessionEnabled("string")
            .stickySessionType("string")
            .build())
        .tags(ServerGroupTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .healthCheck(ServerGroupHealthCheckArgs.builder()
            .domain("string")
            .enabled("string")
            .healthyThreshold(0)
            .httpCode("string")
            .httpVersion("string")
            .interval(0)
            .method("string")
            .port(0)
            .protocol("string")
            .timeout(0)
            .unhealthyThreshold(0)
            .uri("string")
            .build())
        .build());
    
    server_group_resource = volcenginecc.alb.ServerGroup("serverGroupResource",
        vpc_id="string",
        server_group_name="string",
        ip_address_type="string",
        project_name="string",
        protocol="string",
        scheduler="string",
        description="string",
        server_group_type="string",
        servers=[{
            "description": "string",
            "instance_id": "string",
            "ip": "string",
            "port": 0,
            "remote_enabled": "string",
            "server_id": "string",
            "type": "string",
            "weight": 0,
        }],
        status="string",
        sticky_session_config={
            "cookie": "string",
            "cookie_timeout": 0,
            "sticky_session_enabled": "string",
            "sticky_session_type": "string",
        },
        tags=[{
            "key": "string",
            "value": "string",
        }],
        health_check={
            "domain": "string",
            "enabled": "string",
            "healthy_threshold": 0,
            "http_code": "string",
            "http_version": "string",
            "interval": 0,
            "method": "string",
            "port": 0,
            "protocol": "string",
            "timeout": 0,
            "unhealthy_threshold": 0,
            "uri": "string",
        })
    
    const serverGroupResource = new volcenginecc.alb.ServerGroup("serverGroupResource", {
        vpcId: "string",
        serverGroupName: "string",
        ipAddressType: "string",
        projectName: "string",
        protocol: "string",
        scheduler: "string",
        description: "string",
        serverGroupType: "string",
        servers: [{
            description: "string",
            instanceId: "string",
            ip: "string",
            port: 0,
            remoteEnabled: "string",
            serverId: "string",
            type: "string",
            weight: 0,
        }],
        status: "string",
        stickySessionConfig: {
            cookie: "string",
            cookieTimeout: 0,
            stickySessionEnabled: "string",
            stickySessionType: "string",
        },
        tags: [{
            key: "string",
            value: "string",
        }],
        healthCheck: {
            domain: "string",
            enabled: "string",
            healthyThreshold: 0,
            httpCode: "string",
            httpVersion: "string",
            interval: 0,
            method: "string",
            port: 0,
            protocol: "string",
            timeout: 0,
            unhealthyThreshold: 0,
            uri: "string",
        },
    });
    
    type: volcenginecc:alb:ServerGroup
    properties:
        description: string
        healthCheck:
            domain: string
            enabled: string
            healthyThreshold: 0
            httpCode: string
            httpVersion: string
            interval: 0
            method: string
            port: 0
            protocol: string
            timeout: 0
            unhealthyThreshold: 0
            uri: string
        ipAddressType: string
        projectName: string
        protocol: string
        scheduler: string
        serverGroupName: string
        serverGroupType: string
        servers:
            - description: string
              instanceId: string
              ip: string
              port: 0
              remoteEnabled: string
              serverId: string
              type: string
              weight: 0
        status: string
        stickySessionConfig:
            cookie: string
            cookieTimeout: 0
            stickySessionEnabled: string
            stickySessionType: string
        tags:
            - key: string
              value: string
        vpcId: 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:

    VpcId string
    后端服务器组所属 Vpc 的 ID。
    Description string
    后端服务器组的描述。
    HealthCheck Volcengine.ServerGroupHealthCheck
    服务器组健康检查配置信息。
    IpAddressType string
    服务器组的IP地址类型。目前只支持 IPv4
    ProjectName string
    后端服务器组所属项目名称。
    Protocol string
    后端协议:HTTP,HTTPS。
    Scheduler string
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    ServerGroupName string
    后端服务器组的名称。
    ServerGroupType string
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    Servers List<Volcengine.ServerGroupServer>
    Status string
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    StickySessionConfig Volcengine.ServerGroupStickySessionConfig
    会话保持功能的参数信息。
    Tags List<Volcengine.ServerGroupTag>
    VpcId string
    后端服务器组所属 Vpc 的 ID。
    Description string
    后端服务器组的描述。
    HealthCheck ServerGroupHealthCheckArgs
    服务器组健康检查配置信息。
    IpAddressType string
    服务器组的IP地址类型。目前只支持 IPv4
    ProjectName string
    后端服务器组所属项目名称。
    Protocol string
    后端协议:HTTP,HTTPS。
    Scheduler string
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    ServerGroupName string
    后端服务器组的名称。
    ServerGroupType string
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    Servers []ServerGroupServerArgs
    Status string
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    StickySessionConfig ServerGroupStickySessionConfigArgs
    会话保持功能的参数信息。
    Tags []ServerGroupTagArgs
    vpcId String
    后端服务器组所属 Vpc 的 ID。
    description String
    后端服务器组的描述。
    healthCheck ServerGroupHealthCheck
    服务器组健康检查配置信息。
    ipAddressType String
    服务器组的IP地址类型。目前只支持 IPv4
    projectName String
    后端服务器组所属项目名称。
    protocol String
    后端协议:HTTP,HTTPS。
    scheduler String
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    serverGroupName String
    后端服务器组的名称。
    serverGroupType String
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers List<ServerGroupServer>
    status String
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    stickySessionConfig ServerGroupStickySessionConfig
    会话保持功能的参数信息。
    tags List<ServerGroupTag>
    vpcId string
    后端服务器组所属 Vpc 的 ID。
    description string
    后端服务器组的描述。
    healthCheck ServerGroupHealthCheck
    服务器组健康检查配置信息。
    ipAddressType string
    服务器组的IP地址类型。目前只支持 IPv4
    projectName string
    后端服务器组所属项目名称。
    protocol string
    后端协议:HTTP,HTTPS。
    scheduler string
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    serverGroupName string
    后端服务器组的名称。
    serverGroupType string
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers ServerGroupServer[]
    status string
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    stickySessionConfig ServerGroupStickySessionConfig
    会话保持功能的参数信息。
    tags ServerGroupTag[]
    vpc_id str
    后端服务器组所属 Vpc 的 ID。
    description str
    后端服务器组的描述。
    health_check ServerGroupHealthCheckArgs
    服务器组健康检查配置信息。
    ip_address_type str
    服务器组的IP地址类型。目前只支持 IPv4
    project_name str
    后端服务器组所属项目名称。
    protocol str
    后端协议:HTTP,HTTPS。
    scheduler str
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    server_group_name str
    后端服务器组的名称。
    server_group_type str
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers Sequence[ServerGroupServerArgs]
    status str
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    sticky_session_config ServerGroupStickySessionConfigArgs
    会话保持功能的参数信息。
    tags Sequence[ServerGroupTagArgs]
    vpcId String
    后端服务器组所属 Vpc 的 ID。
    description String
    后端服务器组的描述。
    healthCheck Property Map
    服务器组健康检查配置信息。
    ipAddressType String
    服务器组的IP地址类型。目前只支持 IPv4
    projectName String
    后端服务器组所属项目名称。
    protocol String
    后端协议:HTTP,HTTPS。
    scheduler String
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    serverGroupName String
    后端服务器组的名称。
    serverGroupType String
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers List<Property Map>
    status String
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    stickySessionConfig Property Map
    会话保持功能的参数信息。
    tags List<Property Map>

    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>
    ServerCount int
    服务器组内后端服务器的个数。
    ServerGroupId string
    后端服务器组的ID。
    UpdateTime string
    后端服务器组的最近操作时间。
    CreateTime string
    后端服务器组的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    Listeners []ServerGroupListener
    ServerCount int
    服务器组内后端服务器的个数。
    ServerGroupId string
    后端服务器组的ID。
    UpdateTime string
    后端服务器组的最近操作时间。
    createTime String
    后端服务器组的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    listeners List<ServerGroupListener>
    serverCount Integer
    服务器组内后端服务器的个数。
    serverGroupId String
    后端服务器组的ID。
    updateTime String
    后端服务器组的最近操作时间。
    createTime string
    后端服务器组的创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    listeners ServerGroupListener[]
    serverCount number
    服务器组内后端服务器的个数。
    serverGroupId string
    后端服务器组的ID。
    updateTime string
    后端服务器组的最近操作时间。
    create_time str
    后端服务器组的创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    listeners Sequence[ServerGroupListener]
    server_count int
    服务器组内后端服务器的个数。
    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>
    serverCount Number
    服务器组内后端服务器的个数。
    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,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            health_check: Optional[ServerGroupHealthCheckArgs] = None,
            ip_address_type: Optional[str] = None,
            listeners: Optional[Sequence[ServerGroupListenerArgs]] = None,
            project_name: Optional[str] = None,
            protocol: Optional[str] = None,
            scheduler: Optional[str] = None,
            server_count: Optional[int] = None,
            server_group_id: Optional[str] = None,
            server_group_name: Optional[str] = None,
            server_group_type: Optional[str] = None,
            servers: Optional[Sequence[ServerGroupServerArgs]] = None,
            status: Optional[str] = None,
            sticky_session_config: Optional[ServerGroupStickySessionConfigArgs] = None,
            tags: Optional[Sequence[ServerGroupTagArgs]] = None,
            update_time: Optional[str] = None,
            vpc_id: 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:alb: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:
    CreateTime string
    后端服务器组的创建时间。
    Description string
    后端服务器组的描述。
    HealthCheck Volcengine.ServerGroupHealthCheck
    服务器组健康检查配置信息。
    IpAddressType string
    服务器组的IP地址类型。目前只支持 IPv4
    Listeners List<Volcengine.ServerGroupListener>
    ProjectName string
    后端服务器组所属项目名称。
    Protocol string
    后端协议:HTTP,HTTPS。
    Scheduler string
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    ServerCount int
    服务器组内后端服务器的个数。
    ServerGroupId string
    后端服务器组的ID。
    ServerGroupName string
    后端服务器组的名称。
    ServerGroupType string
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    Servers List<Volcengine.ServerGroupServer>
    Status string
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    StickySessionConfig Volcengine.ServerGroupStickySessionConfig
    会话保持功能的参数信息。
    Tags List<Volcengine.ServerGroupTag>
    UpdateTime string
    后端服务器组的最近操作时间。
    VpcId string
    后端服务器组所属 Vpc 的 ID。
    CreateTime string
    后端服务器组的创建时间。
    Description string
    后端服务器组的描述。
    HealthCheck ServerGroupHealthCheckArgs
    服务器组健康检查配置信息。
    IpAddressType string
    服务器组的IP地址类型。目前只支持 IPv4
    Listeners []ServerGroupListenerArgs
    ProjectName string
    后端服务器组所属项目名称。
    Protocol string
    后端协议:HTTP,HTTPS。
    Scheduler string
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    ServerCount int
    服务器组内后端服务器的个数。
    ServerGroupId string
    后端服务器组的ID。
    ServerGroupName string
    后端服务器组的名称。
    ServerGroupType string
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    Servers []ServerGroupServerArgs
    Status string
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    StickySessionConfig ServerGroupStickySessionConfigArgs
    会话保持功能的参数信息。
    Tags []ServerGroupTagArgs
    UpdateTime string
    后端服务器组的最近操作时间。
    VpcId string
    后端服务器组所属 Vpc 的 ID。
    createTime String
    后端服务器组的创建时间。
    description String
    后端服务器组的描述。
    healthCheck ServerGroupHealthCheck
    服务器组健康检查配置信息。
    ipAddressType String
    服务器组的IP地址类型。目前只支持 IPv4
    listeners List<ServerGroupListener>
    projectName String
    后端服务器组所属项目名称。
    protocol String
    后端协议:HTTP,HTTPS。
    scheduler String
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    serverCount Integer
    服务器组内后端服务器的个数。
    serverGroupId String
    后端服务器组的ID。
    serverGroupName String
    后端服务器组的名称。
    serverGroupType String
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers List<ServerGroupServer>
    status String
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    stickySessionConfig ServerGroupStickySessionConfig
    会话保持功能的参数信息。
    tags List<ServerGroupTag>
    updateTime String
    后端服务器组的最近操作时间。
    vpcId String
    后端服务器组所属 Vpc 的 ID。
    createTime string
    后端服务器组的创建时间。
    description string
    后端服务器组的描述。
    healthCheck ServerGroupHealthCheck
    服务器组健康检查配置信息。
    ipAddressType string
    服务器组的IP地址类型。目前只支持 IPv4
    listeners ServerGroupListener[]
    projectName string
    后端服务器组所属项目名称。
    protocol string
    后端协议:HTTP,HTTPS。
    scheduler string
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    serverCount number
    服务器组内后端服务器的个数。
    serverGroupId string
    后端服务器组的ID。
    serverGroupName string
    后端服务器组的名称。
    serverGroupType string
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers ServerGroupServer[]
    status string
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    stickySessionConfig ServerGroupStickySessionConfig
    会话保持功能的参数信息。
    tags ServerGroupTag[]
    updateTime string
    后端服务器组的最近操作时间。
    vpcId string
    后端服务器组所属 Vpc 的 ID。
    create_time str
    后端服务器组的创建时间。
    description str
    后端服务器组的描述。
    health_check ServerGroupHealthCheckArgs
    服务器组健康检查配置信息。
    ip_address_type str
    服务器组的IP地址类型。目前只支持 IPv4
    listeners Sequence[ServerGroupListenerArgs]
    project_name str
    后端服务器组所属项目名称。
    protocol str
    后端协议:HTTP,HTTPS。
    scheduler str
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    server_count int
    服务器组内后端服务器的个数。
    server_group_id str
    后端服务器组的ID。
    server_group_name str
    后端服务器组的名称。
    server_group_type str
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers Sequence[ServerGroupServerArgs]
    status str
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    sticky_session_config ServerGroupStickySessionConfigArgs
    会话保持功能的参数信息。
    tags Sequence[ServerGroupTagArgs]
    update_time str
    后端服务器组的最近操作时间。
    vpc_id str
    后端服务器组所属 Vpc 的 ID。
    createTime String
    后端服务器组的创建时间。
    description String
    后端服务器组的描述。
    healthCheck Property Map
    服务器组健康检查配置信息。
    ipAddressType String
    服务器组的IP地址类型。目前只支持 IPv4
    listeners List<Property Map>
    projectName String
    后端服务器组所属项目名称。
    protocol String
    后端协议:HTTP,HTTPS。
    scheduler String
    调度算法。取值:wrr:加权轮询。wlc:加权最小连接数。sh:源地址哈希。
    serverCount Number
    服务器组内后端服务器的个数。
    serverGroupId String
    后端服务器组的ID。
    serverGroupName String
    后端服务器组的名称。
    serverGroupType String
    后端服务器组的类型。instance:服务器类型,该类型服务器组支持添加 ecs、eni 实例作为后端服务器。ip:IP类型,该类型服务器组支持添加 IP 地址作为后端服务器。
    servers List<Property Map>
    status String
    服务器组状态。Creating:创建中。Active:运行中。Configuring:配置中。Deleting:删除中。
    stickySessionConfig Property Map
    会话保持功能的参数信息。
    tags List<Property Map>
    updateTime String
    后端服务器组的最近操作时间。
    vpcId String
    后端服务器组所属 Vpc 的 ID。

    Supporting Types

    ServerGroupHealthCheck, ServerGroupHealthCheckArgs

    Domain string
    健康检查的域名,需配置为后端服务器上真实对外提供服务的地址。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。需至少包含一个‘.’,且不允许以‘.’开头或结尾。域名每一级由字母、数字、‘-’、‘.’字符组成,且‘-’不得出现在每一级的头部或尾部。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为空,表示负载均衡使用各后端服务器的私网IP地址进行健康检查。
    Enabled string
    监听器是否开启健康检查功能。取值:on:开启(默认值)。off:不开启。
    HealthyThreshold int
    健康检查的健康阈值。表示连续执行指定次数的健康检查,结果均为正常的后端服务器将判定为健康检查正常。单位:次,取值:2~10,默认值为 3。
    HttpCode string
    健康检查正常的HTTP状态码,多个状态码间用半角逗号分隔。只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值如下:http2xx(默认值)。http3xx(默认值)。http4xx 。http5xx 。
    HttpVersion string
    健康检查HTTP协议版本,只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值:HTTP1.0(使用API时,HTTP协议版本默认值)。HTTP1.1。
    Interval int
    开启健康检查后,执行健康检查的时间间隔。 单位:秒,取值:1~300s,默认值为 2。
    Method string
    开启健康检查后,健康检查的方法。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。取值如下:GET:服务器需支持GET方法。HEAD(默认):服务器仅返回HEAD头部信息,可以降低后端性能消耗,但服务器需要支持HEAD方法。
    Port int
    健康检查端口。支持取值:0(默认值):使用后端服务器端口进行健康检查。1-65535:使用您指定的端口进行健康检查。
    Protocol string
    健康检查协议,当前支持HTTP、TCP。默认值为 HTTP。
    Timeout int
    健康检查的响应超时时间。表示如果后端服务器在指定的时间内没有正确响应,则判定为健康检查异常。单位:秒,取值:1~60,默认值为 2。
    UnhealthyThreshold int
    健康检查的不健康阈值。表示连续执行指定次数的健康检查,结果均为异常的后端服务器将判定为健康检查异常。单位:次,取值:2~10,默认值为 3。
    Uri string
    健康检查的路径,需配置为后端服务器上真实对外提供的路径。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。必须以字符‘/’开头。仅包含字母、数字、‘-’、‘_’、‘/’、‘.’、‘%’、‘?’、‘#’、‘&’、‘=’ 字符。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为“/”。
    Domain string
    健康检查的域名,需配置为后端服务器上真实对外提供服务的地址。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。需至少包含一个‘.’,且不允许以‘.’开头或结尾。域名每一级由字母、数字、‘-’、‘.’字符组成,且‘-’不得出现在每一级的头部或尾部。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为空,表示负载均衡使用各后端服务器的私网IP地址进行健康检查。
    Enabled string
    监听器是否开启健康检查功能。取值:on:开启(默认值)。off:不开启。
    HealthyThreshold int
    健康检查的健康阈值。表示连续执行指定次数的健康检查,结果均为正常的后端服务器将判定为健康检查正常。单位:次,取值:2~10,默认值为 3。
    HttpCode string
    健康检查正常的HTTP状态码,多个状态码间用半角逗号分隔。只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值如下:http2xx(默认值)。http3xx(默认值)。http4xx 。http5xx 。
    HttpVersion string
    健康检查HTTP协议版本,只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值:HTTP1.0(使用API时,HTTP协议版本默认值)。HTTP1.1。
    Interval int
    开启健康检查后,执行健康检查的时间间隔。 单位:秒,取值:1~300s,默认值为 2。
    Method string
    开启健康检查后,健康检查的方法。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。取值如下:GET:服务器需支持GET方法。HEAD(默认):服务器仅返回HEAD头部信息,可以降低后端性能消耗,但服务器需要支持HEAD方法。
    Port int
    健康检查端口。支持取值:0(默认值):使用后端服务器端口进行健康检查。1-65535:使用您指定的端口进行健康检查。
    Protocol string
    健康检查协议,当前支持HTTP、TCP。默认值为 HTTP。
    Timeout int
    健康检查的响应超时时间。表示如果后端服务器在指定的时间内没有正确响应,则判定为健康检查异常。单位:秒,取值:1~60,默认值为 2。
    UnhealthyThreshold int
    健康检查的不健康阈值。表示连续执行指定次数的健康检查,结果均为异常的后端服务器将判定为健康检查异常。单位:次,取值:2~10,默认值为 3。
    Uri string
    健康检查的路径,需配置为后端服务器上真实对外提供的路径。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。必须以字符‘/’开头。仅包含字母、数字、‘-’、‘_’、‘/’、‘.’、‘%’、‘?’、‘#’、‘&’、‘=’ 字符。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为“/”。
    domain String
    健康检查的域名,需配置为后端服务器上真实对外提供服务的地址。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。需至少包含一个‘.’,且不允许以‘.’开头或结尾。域名每一级由字母、数字、‘-’、‘.’字符组成,且‘-’不得出现在每一级的头部或尾部。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为空,表示负载均衡使用各后端服务器的私网IP地址进行健康检查。
    enabled String
    监听器是否开启健康检查功能。取值:on:开启(默认值)。off:不开启。
    healthyThreshold Integer
    健康检查的健康阈值。表示连续执行指定次数的健康检查,结果均为正常的后端服务器将判定为健康检查正常。单位:次,取值:2~10,默认值为 3。
    httpCode String
    健康检查正常的HTTP状态码,多个状态码间用半角逗号分隔。只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值如下:http2xx(默认值)。http3xx(默认值)。http4xx 。http5xx 。
    httpVersion String
    健康检查HTTP协议版本,只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值:HTTP1.0(使用API时,HTTP协议版本默认值)。HTTP1.1。
    interval Integer
    开启健康检查后,执行健康检查的时间间隔。 单位:秒,取值:1~300s,默认值为 2。
    method String
    开启健康检查后,健康检查的方法。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。取值如下:GET:服务器需支持GET方法。HEAD(默认):服务器仅返回HEAD头部信息,可以降低后端性能消耗,但服务器需要支持HEAD方法。
    port Integer
    健康检查端口。支持取值:0(默认值):使用后端服务器端口进行健康检查。1-65535:使用您指定的端口进行健康检查。
    protocol String
    健康检查协议,当前支持HTTP、TCP。默认值为 HTTP。
    timeout Integer
    健康检查的响应超时时间。表示如果后端服务器在指定的时间内没有正确响应,则判定为健康检查异常。单位:秒,取值:1~60,默认值为 2。
    unhealthyThreshold Integer
    健康检查的不健康阈值。表示连续执行指定次数的健康检查,结果均为异常的后端服务器将判定为健康检查异常。单位:次,取值:2~10,默认值为 3。
    uri String
    健康检查的路径,需配置为后端服务器上真实对外提供的路径。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。必须以字符‘/’开头。仅包含字母、数字、‘-’、‘_’、‘/’、‘.’、‘%’、‘?’、‘#’、‘&’、‘=’ 字符。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为“/”。
    domain string
    健康检查的域名,需配置为后端服务器上真实对外提供服务的地址。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。需至少包含一个‘.’,且不允许以‘.’开头或结尾。域名每一级由字母、数字、‘-’、‘.’字符组成,且‘-’不得出现在每一级的头部或尾部。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为空,表示负载均衡使用各后端服务器的私网IP地址进行健康检查。
    enabled string
    监听器是否开启健康检查功能。取值:on:开启(默认值)。off:不开启。
    healthyThreshold number
    健康检查的健康阈值。表示连续执行指定次数的健康检查,结果均为正常的后端服务器将判定为健康检查正常。单位:次,取值:2~10,默认值为 3。
    httpCode string
    健康检查正常的HTTP状态码,多个状态码间用半角逗号分隔。只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值如下:http2xx(默认值)。http3xx(默认值)。http4xx 。http5xx 。
    httpVersion string
    健康检查HTTP协议版本,只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值:HTTP1.0(使用API时,HTTP协议版本默认值)。HTTP1.1。
    interval number
    开启健康检查后,执行健康检查的时间间隔。 单位:秒,取值:1~300s,默认值为 2。
    method string
    开启健康检查后,健康检查的方法。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。取值如下:GET:服务器需支持GET方法。HEAD(默认):服务器仅返回HEAD头部信息,可以降低后端性能消耗,但服务器需要支持HEAD方法。
    port number
    健康检查端口。支持取值:0(默认值):使用后端服务器端口进行健康检查。1-65535:使用您指定的端口进行健康检查。
    protocol string
    健康检查协议,当前支持HTTP、TCP。默认值为 HTTP。
    timeout number
    健康检查的响应超时时间。表示如果后端服务器在指定的时间内没有正确响应,则判定为健康检查异常。单位:秒,取值:1~60,默认值为 2。
    unhealthyThreshold number
    健康检查的不健康阈值。表示连续执行指定次数的健康检查,结果均为异常的后端服务器将判定为健康检查异常。单位:次,取值:2~10,默认值为 3。
    uri string
    健康检查的路径,需配置为后端服务器上真实对外提供的路径。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。必须以字符‘/’开头。仅包含字母、数字、‘-’、‘_’、‘/’、‘.’、‘%’、‘?’、‘#’、‘&’、‘=’ 字符。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为“/”。
    domain str
    健康检查的域名,需配置为后端服务器上真实对外提供服务的地址。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。需至少包含一个‘.’,且不允许以‘.’开头或结尾。域名每一级由字母、数字、‘-’、‘.’字符组成,且‘-’不得出现在每一级的头部或尾部。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为空,表示负载均衡使用各后端服务器的私网IP地址进行健康检查。
    enabled str
    监听器是否开启健康检查功能。取值:on:开启(默认值)。off:不开启。
    healthy_threshold int
    健康检查的健康阈值。表示连续执行指定次数的健康检查,结果均为正常的后端服务器将判定为健康检查正常。单位:次,取值:2~10,默认值为 3。
    http_code str
    健康检查正常的HTTP状态码,多个状态码间用半角逗号分隔。只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值如下:http2xx(默认值)。http3xx(默认值)。http4xx 。http5xx 。
    http_version str
    健康检查HTTP协议版本,只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值:HTTP1.0(使用API时,HTTP协议版本默认值)。HTTP1.1。
    interval int
    开启健康检查后,执行健康检查的时间间隔。 单位:秒,取值:1~300s,默认值为 2。
    method str
    开启健康检查后,健康检查的方法。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。取值如下:GET:服务器需支持GET方法。HEAD(默认):服务器仅返回HEAD头部信息,可以降低后端性能消耗,但服务器需要支持HEAD方法。
    port int
    健康检查端口。支持取值:0(默认值):使用后端服务器端口进行健康检查。1-65535:使用您指定的端口进行健康检查。
    protocol str
    健康检查协议,当前支持HTTP、TCP。默认值为 HTTP。
    timeout int
    健康检查的响应超时时间。表示如果后端服务器在指定的时间内没有正确响应,则判定为健康检查异常。单位:秒,取值:1~60,默认值为 2。
    unhealthy_threshold int
    健康检查的不健康阈值。表示连续执行指定次数的健康检查,结果均为异常的后端服务器将判定为健康检查异常。单位:次,取值:2~10,默认值为 3。
    uri str
    健康检查的路径,需配置为后端服务器上真实对外提供的路径。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。必须以字符‘/’开头。仅包含字母、数字、‘-’、‘_’、‘/’、‘.’、‘%’、‘?’、‘#’、‘&’、‘=’ 字符。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为“/”。
    domain String
    健康检查的域名,需配置为后端服务器上真实对外提供服务的地址。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。需至少包含一个‘.’,且不允许以‘.’开头或结尾。域名每一级由字母、数字、‘-’、‘.’字符组成,且‘-’不得出现在每一级的头部或尾部。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为空,表示负载均衡使用各后端服务器的私网IP地址进行健康检查。
    enabled String
    监听器是否开启健康检查功能。取值:on:开启(默认值)。off:不开启。
    healthyThreshold Number
    健康检查的健康阈值。表示连续执行指定次数的健康检查,结果均为正常的后端服务器将判定为健康检查正常。单位:次,取值:2~10,默认值为 3。
    httpCode String
    健康检查正常的HTTP状态码,多个状态码间用半角逗号分隔。只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值如下:http2xx(默认值)。http3xx(默认值)。http4xx 。http5xx 。
    httpVersion String
    健康检查HTTP协议版本,只有 HealthCheck.Protocol 为 HTTP 时才存在该参数。取值:HTTP1.0(使用API时,HTTP协议版本默认值)。HTTP1.1。
    interval Number
    开启健康检查后,执行健康检查的时间间隔。 单位:秒,取值:1~300s,默认值为 2。
    method String
    开启健康检查后,健康检查的方法。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。取值如下:GET:服务器需支持GET方法。HEAD(默认):服务器仅返回HEAD头部信息,可以降低后端性能消耗,但服务器需要支持HEAD方法。
    port Number
    健康检查端口。支持取值:0(默认值):使用后端服务器端口进行健康检查。1-65535:使用您指定的端口进行健康检查。
    protocol String
    健康检查协议,当前支持HTTP、TCP。默认值为 HTTP。
    timeout Number
    健康检查的响应超时时间。表示如果后端服务器在指定的时间内没有正确响应,则判定为健康检查异常。单位:秒,取值:1~60,默认值为 2。
    unhealthyThreshold Number
    健康检查的不健康阈值。表示连续执行指定次数的健康检查,结果均为异常的后端服务器将判定为健康检查异常。单位:次,取值:2~10,默认值为 3。
    uri String
    健康检查的路径,需配置为后端服务器上真实对外提供的路径。只有 HealthCheck.Protocol 设置为 HTTP 时该参数生效。必须以字符‘/’开头。仅包含字母、数字、‘-’、‘_’、‘/’、‘.’、‘%’、‘?’、‘#’、‘&’、‘=’ 字符。长度限制为1 ~ 128个字符。不传入该参数或该参数不传入数值时,默认为“/”。

    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
    后端服务器的描述。
    InstanceId string
    云服务器实例或网卡的ID。
    Ip string
    后端服务器的私网IP地址。
    Port int
    后端服务器接收请求的端口号。
    RemoteEnabled string
    是否开启远端IP功能。当后端服务器实例类型为IP地址,即 Type 取值为 ip 时,此字段有效。取值:on:开启。off(默认值):不开启。
    ServerId string
    后端服务器ID。
    Type string
    后端服务器实例类型。ecs:云服务器实例。eni:辅助网卡。ip:IP地址(仅 Ip 类型服务器组有效)。
    Weight int
    后端服务器的权重。
    Description string
    后端服务器的描述。
    InstanceId string
    云服务器实例或网卡的ID。
    Ip string
    后端服务器的私网IP地址。
    Port int
    后端服务器接收请求的端口号。
    RemoteEnabled string
    是否开启远端IP功能。当后端服务器实例类型为IP地址,即 Type 取值为 ip 时,此字段有效。取值:on:开启。off(默认值):不开启。
    ServerId string
    后端服务器ID。
    Type string
    后端服务器实例类型。ecs:云服务器实例。eni:辅助网卡。ip:IP地址(仅 Ip 类型服务器组有效)。
    Weight int
    后端服务器的权重。
    description String
    后端服务器的描述。
    instanceId String
    云服务器实例或网卡的ID。
    ip String
    后端服务器的私网IP地址。
    port Integer
    后端服务器接收请求的端口号。
    remoteEnabled String
    是否开启远端IP功能。当后端服务器实例类型为IP地址,即 Type 取值为 ip 时,此字段有效。取值:on:开启。off(默认值):不开启。
    serverId String
    后端服务器ID。
    type String
    后端服务器实例类型。ecs:云服务器实例。eni:辅助网卡。ip:IP地址(仅 Ip 类型服务器组有效)。
    weight Integer
    后端服务器的权重。
    description string
    后端服务器的描述。
    instanceId string
    云服务器实例或网卡的ID。
    ip string
    后端服务器的私网IP地址。
    port number
    后端服务器接收请求的端口号。
    remoteEnabled string
    是否开启远端IP功能。当后端服务器实例类型为IP地址,即 Type 取值为 ip 时,此字段有效。取值:on:开启。off(默认值):不开启。
    serverId string
    后端服务器ID。
    type string
    后端服务器实例类型。ecs:云服务器实例。eni:辅助网卡。ip:IP地址(仅 Ip 类型服务器组有效)。
    weight number
    后端服务器的权重。
    description str
    后端服务器的描述。
    instance_id str
    云服务器实例或网卡的ID。
    ip str
    后端服务器的私网IP地址。
    port int
    后端服务器接收请求的端口号。
    remote_enabled str
    是否开启远端IP功能。当后端服务器实例类型为IP地址,即 Type 取值为 ip 时,此字段有效。取值:on:开启。off(默认值):不开启。
    server_id str
    后端服务器ID。
    type str
    后端服务器实例类型。ecs:云服务器实例。eni:辅助网卡。ip:IP地址(仅 Ip 类型服务器组有效)。
    weight int
    后端服务器的权重。
    description String
    后端服务器的描述。
    instanceId String
    云服务器实例或网卡的ID。
    ip String
    后端服务器的私网IP地址。
    port Number
    后端服务器接收请求的端口号。
    remoteEnabled String
    是否开启远端IP功能。当后端服务器实例类型为IP地址,即 Type 取值为 ip 时,此字段有效。取值:on:开启。off(默认值):不开启。
    serverId String
    后端服务器ID。
    type String
    后端服务器实例类型。ecs:云服务器实例。eni:辅助网卡。ip:IP地址(仅 Ip 类型服务器组有效)。
    weight Number
    后端服务器的权重。

    ServerGroupStickySessionConfig, ServerGroupStickySessionConfigArgs

    Cookie string
    服务配置的会话保持 Cookie 名称。仅在开启会话保持功能并选择重写 Cookie 时有效。 具体规则如下:Cookie 名称长度为1~200个字符。名称只能包含 ASCII 英文字母和数字字符,不能包含半角逗号(,)、半角分号(;)或空格,也不能以美元符号($)开头。当 tickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 server时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,该参数无效。
    CookieTimeout int
    会话保持 Cookie 超时时间。仅在开启会话保持功能并选择植入 Cookie 时有效。 单位:秒。具体规则如下:超时时间的取值范围:1~86400。 默认值为:1000。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionType 为 server 时,此参数无效。
    StickySessionEnabled string
    是否开启会话保持功能。on:开启;off(默认值):关闭。
    StickySessionType string
    对 Cookie 的处理方式。当 StickySessionConfig.StickySessionEnabled 值为 on 时,此字段参数必填。取值如下:insert:植入 Cookie;ALB 会记录客户端请求第一次转发到的后端服务器。ALB 在返回请求中植入 Cookie ,后续客户端请求携带此 Cookie,ALB 会将请求转发到之前记录的后端服务器上。server:重写 Cookie;开启重写 Cookie 的会话保持后,在客户端请求第一次转发到后端服务器后,ALB 在返回请求中发现您自定义的 Cookie 时,会对原来的 Cookie 进行重写。后续客户端请求携带改写后的 Cookie,ALB 会将请求转发到之前记录的后端服务器上。
    Cookie string
    服务配置的会话保持 Cookie 名称。仅在开启会话保持功能并选择重写 Cookie 时有效。 具体规则如下:Cookie 名称长度为1~200个字符。名称只能包含 ASCII 英文字母和数字字符,不能包含半角逗号(,)、半角分号(;)或空格,也不能以美元符号($)开头。当 tickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 server时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,该参数无效。
    CookieTimeout int
    会话保持 Cookie 超时时间。仅在开启会话保持功能并选择植入 Cookie 时有效。 单位:秒。具体规则如下:超时时间的取值范围:1~86400。 默认值为:1000。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionType 为 server 时,此参数无效。
    StickySessionEnabled string
    是否开启会话保持功能。on:开启;off(默认值):关闭。
    StickySessionType string
    对 Cookie 的处理方式。当 StickySessionConfig.StickySessionEnabled 值为 on 时,此字段参数必填。取值如下:insert:植入 Cookie;ALB 会记录客户端请求第一次转发到的后端服务器。ALB 在返回请求中植入 Cookie ,后续客户端请求携带此 Cookie,ALB 会将请求转发到之前记录的后端服务器上。server:重写 Cookie;开启重写 Cookie 的会话保持后,在客户端请求第一次转发到后端服务器后,ALB 在返回请求中发现您自定义的 Cookie 时,会对原来的 Cookie 进行重写。后续客户端请求携带改写后的 Cookie,ALB 会将请求转发到之前记录的后端服务器上。
    cookie String
    服务配置的会话保持 Cookie 名称。仅在开启会话保持功能并选择重写 Cookie 时有效。 具体规则如下:Cookie 名称长度为1~200个字符。名称只能包含 ASCII 英文字母和数字字符,不能包含半角逗号(,)、半角分号(;)或空格,也不能以美元符号($)开头。当 tickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 server时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,该参数无效。
    cookieTimeout Integer
    会话保持 Cookie 超时时间。仅在开启会话保持功能并选择植入 Cookie 时有效。 单位:秒。具体规则如下:超时时间的取值范围:1~86400。 默认值为:1000。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionType 为 server 时,此参数无效。
    stickySessionEnabled String
    是否开启会话保持功能。on:开启;off(默认值):关闭。
    stickySessionType String
    对 Cookie 的处理方式。当 StickySessionConfig.StickySessionEnabled 值为 on 时,此字段参数必填。取值如下:insert:植入 Cookie;ALB 会记录客户端请求第一次转发到的后端服务器。ALB 在返回请求中植入 Cookie ,后续客户端请求携带此 Cookie,ALB 会将请求转发到之前记录的后端服务器上。server:重写 Cookie;开启重写 Cookie 的会话保持后,在客户端请求第一次转发到后端服务器后,ALB 在返回请求中发现您自定义的 Cookie 时,会对原来的 Cookie 进行重写。后续客户端请求携带改写后的 Cookie,ALB 会将请求转发到之前记录的后端服务器上。
    cookie string
    服务配置的会话保持 Cookie 名称。仅在开启会话保持功能并选择重写 Cookie 时有效。 具体规则如下:Cookie 名称长度为1~200个字符。名称只能包含 ASCII 英文字母和数字字符,不能包含半角逗号(,)、半角分号(;)或空格,也不能以美元符号($)开头。当 tickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 server时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,该参数无效。
    cookieTimeout number
    会话保持 Cookie 超时时间。仅在开启会话保持功能并选择植入 Cookie 时有效。 单位:秒。具体规则如下:超时时间的取值范围:1~86400。 默认值为:1000。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionType 为 server 时,此参数无效。
    stickySessionEnabled string
    是否开启会话保持功能。on:开启;off(默认值):关闭。
    stickySessionType string
    对 Cookie 的处理方式。当 StickySessionConfig.StickySessionEnabled 值为 on 时,此字段参数必填。取值如下:insert:植入 Cookie;ALB 会记录客户端请求第一次转发到的后端服务器。ALB 在返回请求中植入 Cookie ,后续客户端请求携带此 Cookie,ALB 会将请求转发到之前记录的后端服务器上。server:重写 Cookie;开启重写 Cookie 的会话保持后,在客户端请求第一次转发到后端服务器后,ALB 在返回请求中发现您自定义的 Cookie 时,会对原来的 Cookie 进行重写。后续客户端请求携带改写后的 Cookie,ALB 会将请求转发到之前记录的后端服务器上。
    cookie str
    服务配置的会话保持 Cookie 名称。仅在开启会话保持功能并选择重写 Cookie 时有效。 具体规则如下:Cookie 名称长度为1~200个字符。名称只能包含 ASCII 英文字母和数字字符,不能包含半角逗号(,)、半角分号(;)或空格,也不能以美元符号($)开头。当 tickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 server时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,该参数无效。
    cookie_timeout int
    会话保持 Cookie 超时时间。仅在开启会话保持功能并选择植入 Cookie 时有效。 单位:秒。具体规则如下:超时时间的取值范围:1~86400。 默认值为:1000。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionType 为 server 时,此参数无效。
    sticky_session_enabled str
    是否开启会话保持功能。on:开启;off(默认值):关闭。
    sticky_session_type str
    对 Cookie 的处理方式。当 StickySessionConfig.StickySessionEnabled 值为 on 时,此字段参数必填。取值如下:insert:植入 Cookie;ALB 会记录客户端请求第一次转发到的后端服务器。ALB 在返回请求中植入 Cookie ,后续客户端请求携带此 Cookie,ALB 会将请求转发到之前记录的后端服务器上。server:重写 Cookie;开启重写 Cookie 的会话保持后,在客户端请求第一次转发到后端服务器后,ALB 在返回请求中发现您自定义的 Cookie 时,会对原来的 Cookie 进行重写。后续客户端请求携带改写后的 Cookie,ALB 会将请求转发到之前记录的后端服务器上。
    cookie String
    服务配置的会话保持 Cookie 名称。仅在开启会话保持功能并选择重写 Cookie 时有效。 具体规则如下:Cookie 名称长度为1~200个字符。名称只能包含 ASCII 英文字母和数字字符,不能包含半角逗号(,)、半角分号(;)或空格,也不能以美元符号($)开头。当 tickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 server时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,该参数无效。
    cookieTimeout Number
    会话保持 Cookie 超时时间。仅在开启会话保持功能并选择植入 Cookie 时有效。 单位:秒。具体规则如下:超时时间的取值范围:1~86400。 默认值为:1000。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionConfig.StickySessionType 为 insert 时,此参数必填。当 StickySessionConfig.StickySessionEnabled 值为 on,且 StickySessionType 为 server 时,此参数无效。
    stickySessionEnabled String
    是否开启会话保持功能。on:开启;off(默认值):关闭。
    stickySessionType String
    对 Cookie 的处理方式。当 StickySessionConfig.StickySessionEnabled 值为 on 时,此字段参数必填。取值如下:insert:植入 Cookie;ALB 会记录客户端请求第一次转发到的后端服务器。ALB 在返回请求中植入 Cookie ,后续客户端请求携带此 Cookie,ALB 会将请求转发到之前记录的后端服务器上。server:重写 Cookie;开启重写 Cookie 的会话保持后,在客户端请求第一次转发到后端服务器后,ALB 在返回请求中发现您自定义的 Cookie 时,会对原来的 Cookie 进行重写。后续客户端请求携带改写后的 Cookie,ALB 会将请求转发到之前记录的后端服务器上。

    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:alb/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.4 published on Monday, Nov 3, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate