1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. ServerGroups
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.alb.ServerGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

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

    Example Usage

    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.ServerGroups.Invoke(new()
        {
            Ids = fooServerGroup.Select(__item => __item.Id).ToList(),
        });
    
    });
    
    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.ServerGroupsOutput(ctx, alb.ServerGroupsOutputArgs{
    Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:alb-serverGroups:ServerGroups.pp:28,9-29),
    }, nil);
    return nil
    })
    }
    
    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.ServerGroupsArgs;
    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.ServerGroups(ServerGroupsArgs.builder()
                .ids(fooServerGroup.stream().map(element -> element.id()).collect(toList()))
                .build());
    
        }
    }
    
    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.server_groups_output(ids=[__item.id for __item in foo_server_group])
    
    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.ServerGroupsOutput({
        ids: fooServerGroup.map(__item => __item.id),
    });
    

    Coming soon!

    Using ServerGroups

    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 serverGroups(args: ServerGroupsArgs, opts?: InvokeOptions): Promise<ServerGroupsResult>
    function serverGroupsOutput(args: ServerGroupsOutputArgs, opts?: InvokeOptions): Output<ServerGroupsResult>
    def 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) -> ServerGroupsResult
    def 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[ServerGroupsResult]
    func ServerGroups(ctx *Context, args *ServerGroupsArgs, opts ...InvokeOption) (*ServerGroupsResult, error)
    func ServerGroupsOutput(ctx *Context, args *ServerGroupsOutputArgs, opts ...InvokeOption) ServerGroupsResultOutput
    public static class ServerGroups 
    {
        public static Task<ServerGroupsResult> InvokeAsync(ServerGroupsArgs args, InvokeOptions? opts = null)
        public static Output<ServerGroupsResult> Invoke(ServerGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ServerGroupsResult> serverGroups(ServerGroupsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:alb:ServerGroups
      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.

    ServerGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ServerGroups List<ServerGroupsServerGroup>
    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 []ServerGroupsServerGroup
    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<ServerGroupsServerGroup>
    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 ServerGroupsServerGroup[]
    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[ServerGroupsServerGroup]
    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

    ServerGroupsServerGroup

    CreateTime string
    The create time of the Alb server group.
    Description string
    The description of the server group server.
    HealthChecks List<ServerGroupsServerGroupHealthCheck>
    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<ServerGroupsServerGroupServer>
    The server information of the Alb server group.
    Status string
    The status of the Alb server group.
    StickySessionConfigs List<ServerGroupsServerGroupStickySessionConfig>
    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 []ServerGroupsServerGroupHealthCheck
    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 []ServerGroupsServerGroupServer
    The server information of the Alb server group.
    Status string
    The status of the Alb server group.
    StickySessionConfigs []ServerGroupsServerGroupStickySessionConfig
    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<ServerGroupsServerGroupHealthCheck>
    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<ServerGroupsServerGroupServer>
    The server information of the Alb server group.
    status String
    The status of the Alb server group.
    stickySessionConfigs List<ServerGroupsServerGroupStickySessionConfig>
    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 ServerGroupsServerGroupHealthCheck[]
    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 ServerGroupsServerGroupServer[]
    The server information of the Alb server group.
    status string
    The status of the Alb server group.
    stickySessionConfigs ServerGroupsServerGroupStickySessionConfig[]
    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[ServerGroupsServerGroupHealthCheck]
    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[ServerGroupsServerGroupServer]
    The server information of the Alb server group.
    status str
    The status of the Alb server group.
    sticky_session_configs Sequence[ServerGroupsServerGroupStickySessionConfig]
    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.

    ServerGroupsServerGroupHealthCheck

    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
    HttpVersion string
    Protocol string
    Timeout int
    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
    HttpVersion string
    Protocol string
    Timeout int
    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
    httpVersion String
    protocol String
    timeout Integer
    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
    httpVersion string
    protocol string
    timeout number
    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
    http_version str
    protocol str
    timeout int
    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
    httpVersion String
    protocol String
    timeout Number

    ServerGroupsServerGroupServer

    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.

    ServerGroupsServerGroupStickySessionConfig

    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.25 published on Tuesday, Jul 2, 2024 by Volcengine