1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. getServerGroups
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.alb.getServerGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of alb server groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
        vpcName: "acc-test-vpc",
        cidrBlock: "172.16.0.0/16",
    });
    const fooServerGroup: volcengine.alb.ServerGroup[] = [];
    for (const range = {value: 0}; range.value < 3; range.value++) {
        fooServerGroup.push(new volcengine.alb.ServerGroup(`fooServerGroup-${range.value}`, {
            vpcId: fooVpc.id,
            serverGroupName: `acc-test-server-group-${range.value}`,
            description: "acc-test",
            serverGroupType: "instance",
            scheduler: "sh",
            projectName: "default",
            healthCheck: {
                enabled: "on",
                interval: 3,
                timeout: 3,
                method: "GET",
            },
            stickySessionConfig: {
                stickySessionEnabled: "on",
                stickySessionType: "insert",
                cookieTimeout: 1100,
            },
        }));
    }
    const fooServerGroups = volcengine.alb.getServerGroupsOutput({
        ids: fooServerGroup.map(__item => __item.id),
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-vpc",
        cidr_block="172.16.0.0/16")
    foo_server_group = []
    for range in [{"value": i} for i in range(0, 3)]:
        foo_server_group.append(volcengine.alb.ServerGroup(f"fooServerGroup-{range['value']}",
            vpc_id=foo_vpc.id,
            server_group_name=f"acc-test-server-group-{range['value']}",
            description="acc-test",
            server_group_type="instance",
            scheduler="sh",
            project_name="default",
            health_check=volcengine.alb.ServerGroupHealthCheckArgs(
                enabled="on",
                interval=3,
                timeout=3,
                method="GET",
            ),
            sticky_session_config=volcengine.alb.ServerGroupStickySessionConfigArgs(
                sticky_session_enabled="on",
                sticky_session_type="insert",
                cookie_timeout=1100,
            )))
    foo_server_groups = volcengine.alb.get_server_groups_output(ids=[__item.id for __item in foo_server_group])
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    VpcName: pulumi.String("acc-test-vpc"),
    CidrBlock: pulumi.String("172.16.0.0/16"),
    })
    if err != nil {
    return err
    }
    var fooServerGroup []*alb.ServerGroup
    for index := 0; index < 3; index++ {
        key0 := index
        val0 := index
    __res, err := alb.NewServerGroup(ctx, fmt.Sprintf("fooServerGroup-%v", key0), &alb.ServerGroupArgs{
    VpcId: fooVpc.ID(),
    ServerGroupName: pulumi.String(fmt.Sprintf("acc-test-server-group-%v", val0)),
    Description: pulumi.String("acc-test"),
    ServerGroupType: pulumi.String("instance"),
    Scheduler: pulumi.String("sh"),
    ProjectName: pulumi.String("default"),
    HealthCheck: &alb.ServerGroupHealthCheckArgs{
    Enabled: pulumi.String("on"),
    Interval: pulumi.Int(3),
    Timeout: pulumi.Int(3),
    Method: pulumi.String("GET"),
    },
    StickySessionConfig: &alb.ServerGroupStickySessionConfigArgs{
    StickySessionEnabled: pulumi.String("on"),
    StickySessionType: pulumi.String("insert"),
    CookieTimeout: pulumi.Int(1100),
    },
    })
    if err != nil {
    return err
    }
    fooServerGroup = append(fooServerGroup, __res)
    }
    _ = alb.GetServerGroupsOutput(ctx, alb.GetServerGroupsOutputArgs{
    Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:alb-getServerGroups:getServerGroups.pp:28,9-29),
    }, nil);
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-vpc",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooServerGroup = new List<Volcengine.Alb.ServerGroup>();
        for (var rangeIndex = 0; rangeIndex < 3; rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            fooServerGroup.Add(new Volcengine.Alb.ServerGroup($"fooServerGroup-{range.Value}", new()
            {
                VpcId = fooVpc.Id,
                ServerGroupName = $"acc-test-server-group-{range.Value}",
                Description = "acc-test",
                ServerGroupType = "instance",
                Scheduler = "sh",
                ProjectName = "default",
                HealthCheck = new Volcengine.Alb.Inputs.ServerGroupHealthCheckArgs
                {
                    Enabled = "on",
                    Interval = 3,
                    Timeout = 3,
                    Method = "GET",
                },
                StickySessionConfig = new Volcengine.Alb.Inputs.ServerGroupStickySessionConfigArgs
                {
                    StickySessionEnabled = "on",
                    StickySessionType = "insert",
                    CookieTimeout = 1100,
                },
            }));
        }
        var fooServerGroups = Volcengine.Alb.GetServerGroups.Invoke(new()
        {
            Ids = fooServerGroup.Select(__item => __item.Id).ToList(),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    import com.pulumi.volcengine.alb.ServerGroup;
    import com.pulumi.volcengine.alb.ServerGroupArgs;
    import com.pulumi.volcengine.alb.inputs.ServerGroupHealthCheckArgs;
    import com.pulumi.volcengine.alb.inputs.ServerGroupStickySessionConfigArgs;
    import com.pulumi.volcengine.alb.AlbFunctions;
    import com.pulumi.volcengine.alb.inputs.GetServerGroupsArgs;
    import com.pulumi.codegen.internal.KeyedValue;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-vpc")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            for (var i = 0; i < 3; i++) {
                new ServerGroup("fooServerGroup-" + i, ServerGroupArgs.builder()            
                    .vpcId(fooVpc.id())
                    .serverGroupName(String.format("acc-test-server-group-%s", range.value()))
                    .description("acc-test")
                    .serverGroupType("instance")
                    .scheduler("sh")
                    .projectName("default")
                    .healthCheck(ServerGroupHealthCheckArgs.builder()
                        .enabled("on")
                        .interval(3)
                        .timeout(3)
                        .method("GET")
                        .build())
                    .stickySessionConfig(ServerGroupStickySessionConfigArgs.builder()
                        .stickySessionEnabled("on")
                        .stickySessionType("insert")
                        .cookieTimeout("1100")
                        .build())
                    .build());
    
            
    }
            final var fooServerGroups = AlbFunctions.getServerGroups(GetServerGroupsArgs.builder()
                .ids(fooServerGroup.stream().map(element -> element.id()).collect(toList()))
                .build());
    
        }
    }
    
    Coming soon!
    

    Using getServerGroups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerGroups(args: GetServerGroupsArgs, opts?: InvokeOptions): Promise<GetServerGroupsResult>
    function getServerGroupsOutput(args: GetServerGroupsOutputArgs, opts?: InvokeOptions): Output<GetServerGroupsResult>
    def get_server_groups(ids: Optional[Sequence[str]] = None,
                          name_regex: Optional[str] = None,
                          output_file: Optional[str] = None,
                          project_name: Optional[str] = None,
                          server_group_names: Optional[Sequence[str]] = None,
                          server_group_type: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetServerGroupsResult
    def get_server_groups_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          name_regex: Optional[pulumi.Input[str]] = None,
                          output_file: Optional[pulumi.Input[str]] = None,
                          project_name: Optional[pulumi.Input[str]] = None,
                          server_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          server_group_type: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetServerGroupsResult]
    func GetServerGroups(ctx *Context, args *GetServerGroupsArgs, opts ...InvokeOption) (*GetServerGroupsResult, error)
    func GetServerGroupsOutput(ctx *Context, args *GetServerGroupsOutputArgs, opts ...InvokeOption) GetServerGroupsResultOutput

    > Note: This function is named GetServerGroups in the Go SDK.

    public static class GetServerGroups 
    {
        public static Task<GetServerGroupsResult> InvokeAsync(GetServerGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetServerGroupsResult> Invoke(GetServerGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerGroupsResult> getServerGroups(GetServerGroupsArgs args, InvokeOptions options)
    public static Output<GetServerGroupsResult> getServerGroups(GetServerGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:alb/getServerGroups:getServerGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of Alb server group IDs.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project name of Alb server group.
    ServerGroupNames List<string>
    A list of Alb server group name.
    ServerGroupType string
    The type of Alb server group. Valid values: instance, ip.
    Ids []string
    A list of Alb server group IDs.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project name of Alb server group.
    ServerGroupNames []string
    A list of Alb server group name.
    ServerGroupType string
    The type of Alb server group. Valid values: instance, ip.
    ids List<String>
    A list of Alb server group IDs.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectName String
    The project name of Alb server group.
    serverGroupNames List<String>
    A list of Alb server group name.
    serverGroupType String
    The type of Alb server group. Valid values: instance, ip.
    ids string[]
    A list of Alb server group IDs.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    projectName string
    The project name of Alb server group.
    serverGroupNames string[]
    A list of Alb server group name.
    serverGroupType string
    The type of Alb server group. Valid values: instance, ip.
    ids Sequence[str]
    A list of Alb server group IDs.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    project_name str
    The project name of Alb server group.
    server_group_names Sequence[str]
    A list of Alb server group name.
    server_group_type str
    The type of Alb server group. Valid values: instance, ip.
    ids List<String>
    A list of Alb server group IDs.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectName String
    The project name of Alb server group.
    serverGroupNames List<String>
    A list of Alb server group name.
    serverGroupType String
    The type of Alb server group. Valid values: instance, ip.

    getServerGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ServerGroups List<GetServerGroupsServerGroup>
    The collection of query.
    TotalCount int
    The total count of query.
    Ids List<string>
    NameRegex string
    OutputFile string
    ProjectName string
    The project name of the Alb server group.
    ServerGroupNames List<string>
    ServerGroupType string
    The type of the Alb server group.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServerGroups []GetServerGroupsServerGroup
    The collection of query.
    TotalCount int
    The total count of query.
    Ids []string
    NameRegex string
    OutputFile string
    ProjectName string
    The project name of the Alb server group.
    ServerGroupNames []string
    ServerGroupType string
    The type of the Alb server group.
    id String
    The provider-assigned unique ID for this managed resource.
    serverGroups List<GetServerGroupsServerGroup>
    The collection of query.
    totalCount Integer
    The total count of query.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The project name of the Alb server group.
    serverGroupNames List<String>
    serverGroupType String
    The type of the Alb server group.
    id string
    The provider-assigned unique ID for this managed resource.
    serverGroups GetServerGroupsServerGroup[]
    The collection of query.
    totalCount number
    The total count of query.
    ids string[]
    nameRegex string
    outputFile string
    projectName string
    The project name of the Alb server group.
    serverGroupNames string[]
    serverGroupType string
    The type of the Alb server group.
    id str
    The provider-assigned unique ID for this managed resource.
    server_groups Sequence[GetServerGroupsServerGroup]
    The collection of query.
    total_count int
    The total count of query.
    ids Sequence[str]
    name_regex str
    output_file str
    project_name str
    The project name of the Alb server group.
    server_group_names Sequence[str]
    server_group_type str
    The type of the Alb server group.
    id String
    The provider-assigned unique ID for this managed resource.
    serverGroups List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The project name of the Alb server group.
    serverGroupNames List<String>
    serverGroupType String
    The type of the Alb server group.

    Supporting Types

    GetServerGroupsServerGroup

    CreateTime string
    The create time of the Alb server group.
    Description string
    The description of the server group server.
    HealthChecks List<GetServerGroupsServerGroupHealthCheck>
    The health check config of the Alb server group.
    Id string
    The ID of the Alb server group.
    Listeners List<string>
    The listener information of the Alb server group.
    ProjectName string
    The project name of Alb server group.
    Scheduler string
    The scheduler algorithm of the Alb server group.
    ServerCount int
    The server count of the Alb server group.
    ServerGroupId string
    The ID of the Alb server group.
    ServerGroupName string
    The name of the Alb server group.
    ServerGroupType string
    The type of Alb server group. Valid values: instance, ip.
    Servers List<GetServerGroupsServerGroupServer>
    The server information of the Alb server group.
    Status string
    The status of the Alb server group.
    StickySessionConfigs List<GetServerGroupsServerGroupStickySessionConfig>
    The sticky session config of the Alb server group.
    UpdateTime string
    The update time of the Alb server group.
    VpcId string
    The vpc id of the Alb server group.
    CreateTime string
    The create time of the Alb server group.
    Description string
    The description of the server group server.
    HealthChecks []GetServerGroupsServerGroupHealthCheck
    The health check config of the Alb server group.
    Id string
    The ID of the Alb server group.
    Listeners []string
    The listener information of the Alb server group.
    ProjectName string
    The project name of Alb server group.
    Scheduler string
    The scheduler algorithm of the Alb server group.
    ServerCount int
    The server count of the Alb server group.
    ServerGroupId string
    The ID of the Alb server group.
    ServerGroupName string
    The name of the Alb server group.
    ServerGroupType string
    The type of Alb server group. Valid values: instance, ip.
    Servers []GetServerGroupsServerGroupServer
    The server information of the Alb server group.
    Status string
    The status of the Alb server group.
    StickySessionConfigs []GetServerGroupsServerGroupStickySessionConfig
    The sticky session config of the Alb server group.
    UpdateTime string
    The update time of the Alb server group.
    VpcId string
    The vpc id of the Alb server group.
    createTime String
    The create time of the Alb server group.
    description String
    The description of the server group server.
    healthChecks List<GetServerGroupsServerGroupHealthCheck>
    The health check config of the Alb server group.
    id String
    The ID of the Alb server group.
    listeners List<String>
    The listener information of the Alb server group.
    projectName String
    The project name of Alb server group.
    scheduler String
    The scheduler algorithm of the Alb server group.
    serverCount Integer
    The server count of the Alb server group.
    serverGroupId String
    The ID of the Alb server group.
    serverGroupName String
    The name of the Alb server group.
    serverGroupType String
    The type of Alb server group. Valid values: instance, ip.
    servers List<GetServerGroupsServerGroupServer>
    The server information of the Alb server group.
    status String
    The status of the Alb server group.
    stickySessionConfigs List<GetServerGroupsServerGroupStickySessionConfig>
    The sticky session config of the Alb server group.
    updateTime String
    The update time of the Alb server group.
    vpcId String
    The vpc id of the Alb server group.
    createTime string
    The create time of the Alb server group.
    description string
    The description of the server group server.
    healthChecks GetServerGroupsServerGroupHealthCheck[]
    The health check config of the Alb server group.
    id string
    The ID of the Alb server group.
    listeners string[]
    The listener information of the Alb server group.
    projectName string
    The project name of Alb server group.
    scheduler string
    The scheduler algorithm of the Alb server group.
    serverCount number
    The server count of the Alb server group.
    serverGroupId string
    The ID of the Alb server group.
    serverGroupName string
    The name of the Alb server group.
    serverGroupType string
    The type of Alb server group. Valid values: instance, ip.
    servers GetServerGroupsServerGroupServer[]
    The server information of the Alb server group.
    status string
    The status of the Alb server group.
    stickySessionConfigs GetServerGroupsServerGroupStickySessionConfig[]
    The sticky session config of the Alb server group.
    updateTime string
    The update time of the Alb server group.
    vpcId string
    The vpc id of the Alb server group.
    create_time str
    The create time of the Alb server group.
    description str
    The description of the server group server.
    health_checks Sequence[GetServerGroupsServerGroupHealthCheck]
    The health check config of the Alb server group.
    id str
    The ID of the Alb server group.
    listeners Sequence[str]
    The listener information of the Alb server group.
    project_name str
    The project name of Alb server group.
    scheduler str
    The scheduler algorithm of the Alb server group.
    server_count int
    The server count of the Alb server group.
    server_group_id str
    The ID of the Alb server group.
    server_group_name str
    The name of the Alb server group.
    server_group_type str
    The type of Alb server group. Valid values: instance, ip.
    servers Sequence[GetServerGroupsServerGroupServer]
    The server information of the Alb server group.
    status str
    The status of the Alb server group.
    sticky_session_configs Sequence[GetServerGroupsServerGroupStickySessionConfig]
    The sticky session config of the Alb server group.
    update_time str
    The update time of the Alb server group.
    vpc_id str
    The vpc id of the Alb server group.
    createTime String
    The create time of the Alb server group.
    description String
    The description of the server group server.
    healthChecks List<Property Map>
    The health check config of the Alb server group.
    id String
    The ID of the Alb server group.
    listeners List<String>
    The listener information of the Alb server group.
    projectName String
    The project name of Alb server group.
    scheduler String
    The scheduler algorithm of the Alb server group.
    serverCount Number
    The server count of the Alb server group.
    serverGroupId String
    The ID of the Alb server group.
    serverGroupName String
    The name of the Alb server group.
    serverGroupType String
    The type of Alb server group. Valid values: instance, ip.
    servers List<Property Map>
    The server information of the Alb server group.
    status String
    The status of the Alb server group.
    stickySessionConfigs List<Property Map>
    The sticky session config of the Alb server group.
    updateTime String
    The update time of the Alb server group.
    vpcId String
    The vpc id of the Alb server group.

    GetServerGroupsServerGroupHealthCheck

    Domain string
    The domain of health check.
    Enabled string
    The enable status of health check function.
    HealthyThreshold int
    The healthy threshold of health check.
    Interval int
    The interval executing health check.
    Method string
    The method of health check.
    UnhealthyThreshold int
    The unhealthy threshold of health check.
    Uri string
    The uri of health check.
    HttpCode string
    The normal http status code of health check.
    HttpVersion string
    The http version of health check.
    Protocol string
    The protocol of health check.
    Timeout int
    The response timeout of health check.
    Domain string
    The domain of health check.
    Enabled string
    The enable status of health check function.
    HealthyThreshold int
    The healthy threshold of health check.
    Interval int
    The interval executing health check.
    Method string
    The method of health check.
    UnhealthyThreshold int
    The unhealthy threshold of health check.
    Uri string
    The uri of health check.
    HttpCode string
    The normal http status code of health check.
    HttpVersion string
    The http version of health check.
    Protocol string
    The protocol of health check.
    Timeout int
    The response timeout of health check.
    domain String
    The domain of health check.
    enabled String
    The enable status of health check function.
    healthyThreshold Integer
    The healthy threshold of health check.
    interval Integer
    The interval executing health check.
    method String
    The method of health check.
    unhealthyThreshold Integer
    The unhealthy threshold of health check.
    uri String
    The uri of health check.
    httpCode String
    The normal http status code of health check.
    httpVersion String
    The http version of health check.
    protocol String
    The protocol of health check.
    timeout Integer
    The response timeout of health check.
    domain string
    The domain of health check.
    enabled string
    The enable status of health check function.
    healthyThreshold number
    The healthy threshold of health check.
    interval number
    The interval executing health check.
    method string
    The method of health check.
    unhealthyThreshold number
    The unhealthy threshold of health check.
    uri string
    The uri of health check.
    httpCode string
    The normal http status code of health check.
    httpVersion string
    The http version of health check.
    protocol string
    The protocol of health check.
    timeout number
    The response timeout of health check.
    domain str
    The domain of health check.
    enabled str
    The enable status of health check function.
    healthy_threshold int
    The healthy threshold of health check.
    interval int
    The interval executing health check.
    method str
    The method of health check.
    unhealthy_threshold int
    The unhealthy threshold of health check.
    uri str
    The uri of health check.
    http_code str
    The normal http status code of health check.
    http_version str
    The http version of health check.
    protocol str
    The protocol of health check.
    timeout int
    The response timeout of health check.
    domain String
    The domain of health check.
    enabled String
    The enable status of health check function.
    healthyThreshold Number
    The healthy threshold of health check.
    interval Number
    The interval executing health check.
    method String
    The method of health check.
    unhealthyThreshold Number
    The unhealthy threshold of health check.
    uri String
    The uri of health check.
    httpCode String
    The normal http status code of health check.
    httpVersion String
    The http version of health check.
    protocol String
    The protocol of health check.
    timeout Number
    The response timeout of health check.

    GetServerGroupsServerGroupServer

    Description string
    The description of the server group server.
    InstanceId string
    The id of the ecs instance or the network interface.
    Ip string
    The private ip of the server group server.
    Port int
    The port receiving request of the server group server.
    RemoteEnabled string
    Whether to enable the remote IP function.
    ServerId string
    The id of the server group server.
    Type string
    The type of the server group server.
    Weight int
    The weight of the server group server.
    Description string
    The description of the server group server.
    InstanceId string
    The id of the ecs instance or the network interface.
    Ip string
    The private ip of the server group server.
    Port int
    The port receiving request of the server group server.
    RemoteEnabled string
    Whether to enable the remote IP function.
    ServerId string
    The id of the server group server.
    Type string
    The type of the server group server.
    Weight int
    The weight of the server group server.
    description String
    The description of the server group server.
    instanceId String
    The id of the ecs instance or the network interface.
    ip String
    The private ip of the server group server.
    port Integer
    The port receiving request of the server group server.
    remoteEnabled String
    Whether to enable the remote IP function.
    serverId String
    The id of the server group server.
    type String
    The type of the server group server.
    weight Integer
    The weight of the server group server.
    description string
    The description of the server group server.
    instanceId string
    The id of the ecs instance or the network interface.
    ip string
    The private ip of the server group server.
    port number
    The port receiving request of the server group server.
    remoteEnabled string
    Whether to enable the remote IP function.
    serverId string
    The id of the server group server.
    type string
    The type of the server group server.
    weight number
    The weight of the server group server.
    description str
    The description of the server group server.
    instance_id str
    The id of the ecs instance or the network interface.
    ip str
    The private ip of the server group server.
    port int
    The port receiving request of the server group server.
    remote_enabled str
    Whether to enable the remote IP function.
    server_id str
    The id of the server group server.
    type str
    The type of the server group server.
    weight int
    The weight of the server group server.
    description String
    The description of the server group server.
    instanceId String
    The id of the ecs instance or the network interface.
    ip String
    The private ip of the server group server.
    port Number
    The port receiving request of the server group server.
    remoteEnabled String
    Whether to enable the remote IP function.
    serverId String
    The id of the server group server.
    type String
    The type of the server group server.
    weight Number
    The weight of the server group server.

    GetServerGroupsServerGroupStickySessionConfig

    Cookie string
    The cookie name of the sticky session.
    CookieTimeout int
    The cookie timeout of the sticky session.
    StickySessionEnabled string
    The enable status of sticky session.
    StickySessionType string
    The cookie handle type of the sticky session.
    Cookie string
    The cookie name of the sticky session.
    CookieTimeout int
    The cookie timeout of the sticky session.
    StickySessionEnabled string
    The enable status of sticky session.
    StickySessionType string
    The cookie handle type of the sticky session.
    cookie String
    The cookie name of the sticky session.
    cookieTimeout Integer
    The cookie timeout of the sticky session.
    stickySessionEnabled String
    The enable status of sticky session.
    stickySessionType String
    The cookie handle type of the sticky session.
    cookie string
    The cookie name of the sticky session.
    cookieTimeout number
    The cookie timeout of the sticky session.
    stickySessionEnabled string
    The enable status of sticky session.
    stickySessionType string
    The cookie handle type of the sticky session.
    cookie str
    The cookie name of the sticky session.
    cookie_timeout int
    The cookie timeout of the sticky session.
    sticky_session_enabled str
    The enable status of sticky session.
    sticky_session_type str
    The cookie handle type of the sticky session.
    cookie String
    The cookie name of the sticky session.
    cookieTimeout Number
    The cookie timeout of the sticky session.
    stickySessionEnabled String
    The enable status of sticky session.
    stickySessionType String
    The cookie handle type of the sticky session.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine