1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LbPoolV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.LbPoolV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for DLB pool you can get at documentation portal

    Manages a Dedicated LB pool resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const lb = new opentelekomcloud.LbLoadbalancerV3("lb", {
        routerId: _var.router_id,
        networkIds: [_var.network_id],
        availabilityZones: [_var.availability_zone],
    });
    const pool = new opentelekomcloud.LbPoolV3("pool", {
        loadbalancerId: lb.lbLoadbalancerV3Id,
        lbAlgorithm: "ROUND_ROBIN",
        protocol: "TCP",
        sessionPersistence: {
            type: "SOURCE_IP",
            persistenceTimeout: 30,
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    lb = opentelekomcloud.LbLoadbalancerV3("lb",
        router_id=var["router_id"],
        network_ids=[var["network_id"]],
        availability_zones=[var["availability_zone"]])
    pool = opentelekomcloud.LbPoolV3("pool",
        loadbalancer_id=lb.lb_loadbalancer_v3_id,
        lb_algorithm="ROUND_ROBIN",
        protocol="TCP",
        session_persistence={
            "type": "SOURCE_IP",
            "persistence_timeout": 30,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		lb, err := opentelekomcloud.NewLbLoadbalancerV3(ctx, "lb", &opentelekomcloud.LbLoadbalancerV3Args{
    			RouterId: pulumi.Any(_var.Router_id),
    			NetworkIds: pulumi.StringArray{
    				_var.Network_id,
    			},
    			AvailabilityZones: pulumi.StringArray{
    				_var.Availability_zone,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewLbPoolV3(ctx, "pool", &opentelekomcloud.LbPoolV3Args{
    			LoadbalancerId: lb.LbLoadbalancerV3Id,
    			LbAlgorithm:    pulumi.String("ROUND_ROBIN"),
    			Protocol:       pulumi.String("TCP"),
    			SessionPersistence: &opentelekomcloud.LbPoolV3SessionPersistenceArgs{
    				Type:               pulumi.String("SOURCE_IP"),
    				PersistenceTimeout: pulumi.Float64(30),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var lb = new Opentelekomcloud.LbLoadbalancerV3("lb", new()
        {
            RouterId = @var.Router_id,
            NetworkIds = new[]
            {
                @var.Network_id,
            },
            AvailabilityZones = new[]
            {
                @var.Availability_zone,
            },
        });
    
        var pool = new Opentelekomcloud.LbPoolV3("pool", new()
        {
            LoadbalancerId = lb.LbLoadbalancerV3Id,
            LbAlgorithm = "ROUND_ROBIN",
            Protocol = "TCP",
            SessionPersistence = new Opentelekomcloud.Inputs.LbPoolV3SessionPersistenceArgs
            {
                Type = "SOURCE_IP",
                PersistenceTimeout = 30,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LbLoadbalancerV3;
    import com.pulumi.opentelekomcloud.LbLoadbalancerV3Args;
    import com.pulumi.opentelekomcloud.LbPoolV3;
    import com.pulumi.opentelekomcloud.LbPoolV3Args;
    import com.pulumi.opentelekomcloud.inputs.LbPoolV3SessionPersistenceArgs;
    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 lb = new LbLoadbalancerV3("lb", LbLoadbalancerV3Args.builder()
                .routerId(var_.router_id())
                .networkIds(var_.network_id())
                .availabilityZones(var_.availability_zone())
                .build());
    
            var pool = new LbPoolV3("pool", LbPoolV3Args.builder()
                .loadbalancerId(lb.lbLoadbalancerV3Id())
                .lbAlgorithm("ROUND_ROBIN")
                .protocol("TCP")
                .sessionPersistence(LbPoolV3SessionPersistenceArgs.builder()
                    .type("SOURCE_IP")
                    .persistenceTimeout("30")
                    .build())
                .build());
    
        }
    }
    
    resources:
      lb:
        type: opentelekomcloud:LbLoadbalancerV3
        properties:
          routerId: ${var.router_id}
          networkIds:
            - ${var.network_id}
          availabilityZones:
            - ${var.availability_zone}
      pool:
        type: opentelekomcloud:LbPoolV3
        properties:
          loadbalancerId: ${lb.lbLoadbalancerV3Id}
          lbAlgorithm: ROUND_ROBIN
          protocol: TCP
          sessionPersistence:
            type: SOURCE_IP
            persistenceTimeout: '30'
    

    Create LbPoolV3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LbPoolV3(name: string, args: LbPoolV3Args, opts?: CustomResourceOptions);
    @overload
    def LbPoolV3(resource_name: str,
                 args: LbPoolV3Args,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def LbPoolV3(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 lb_algorithm: Optional[str] = None,
                 protocol: Optional[str] = None,
                 description: Optional[str] = None,
                 lb_pool_v3_id: Optional[str] = None,
                 listener_id: Optional[str] = None,
                 loadbalancer_id: Optional[str] = None,
                 member_deletion_protection: Optional[bool] = None,
                 name: Optional[str] = None,
                 project_id: Optional[str] = None,
                 session_persistence: Optional[LbPoolV3SessionPersistenceArgs] = None,
                 type: Optional[str] = None,
                 vpc_id: Optional[str] = None)
    func NewLbPoolV3(ctx *Context, name string, args LbPoolV3Args, opts ...ResourceOption) (*LbPoolV3, error)
    public LbPoolV3(string name, LbPoolV3Args args, CustomResourceOptions? opts = null)
    public LbPoolV3(String name, LbPoolV3Args args)
    public LbPoolV3(String name, LbPoolV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:LbPoolV3
    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 LbPoolV3Args
    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 LbPoolV3Args
    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 LbPoolV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbPoolV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbPoolV3Args
    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 lbPoolV3Resource = new Opentelekomcloud.LbPoolV3("lbPoolV3Resource", new()
    {
        LbAlgorithm = "string",
        Protocol = "string",
        Description = "string",
        LbPoolV3Id = "string",
        ListenerId = "string",
        LoadbalancerId = "string",
        MemberDeletionProtection = false,
        Name = "string",
        ProjectId = "string",
        SessionPersistence = new Opentelekomcloud.Inputs.LbPoolV3SessionPersistenceArgs
        {
            Type = "string",
            CookieName = "string",
            PersistenceTimeout = 0,
        },
        Type = "string",
        VpcId = "string",
    });
    
    example, err := opentelekomcloud.NewLbPoolV3(ctx, "lbPoolV3Resource", &opentelekomcloud.LbPoolV3Args{
    	LbAlgorithm:              pulumi.String("string"),
    	Protocol:                 pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	LbPoolV3Id:               pulumi.String("string"),
    	ListenerId:               pulumi.String("string"),
    	LoadbalancerId:           pulumi.String("string"),
    	MemberDeletionProtection: pulumi.Bool(false),
    	Name:                     pulumi.String("string"),
    	ProjectId:                pulumi.String("string"),
    	SessionPersistence: &opentelekomcloud.LbPoolV3SessionPersistenceArgs{
    		Type:               pulumi.String("string"),
    		CookieName:         pulumi.String("string"),
    		PersistenceTimeout: pulumi.Float64(0),
    	},
    	Type:  pulumi.String("string"),
    	VpcId: pulumi.String("string"),
    })
    
    var lbPoolV3Resource = new LbPoolV3("lbPoolV3Resource", LbPoolV3Args.builder()
        .lbAlgorithm("string")
        .protocol("string")
        .description("string")
        .lbPoolV3Id("string")
        .listenerId("string")
        .loadbalancerId("string")
        .memberDeletionProtection(false)
        .name("string")
        .projectId("string")
        .sessionPersistence(LbPoolV3SessionPersistenceArgs.builder()
            .type("string")
            .cookieName("string")
            .persistenceTimeout(0)
            .build())
        .type("string")
        .vpcId("string")
        .build());
    
    lb_pool_v3_resource = opentelekomcloud.LbPoolV3("lbPoolV3Resource",
        lb_algorithm="string",
        protocol="string",
        description="string",
        lb_pool_v3_id="string",
        listener_id="string",
        loadbalancer_id="string",
        member_deletion_protection=False,
        name="string",
        project_id="string",
        session_persistence={
            "type": "string",
            "cookie_name": "string",
            "persistence_timeout": 0,
        },
        type="string",
        vpc_id="string")
    
    const lbPoolV3Resource = new opentelekomcloud.LbPoolV3("lbPoolV3Resource", {
        lbAlgorithm: "string",
        protocol: "string",
        description: "string",
        lbPoolV3Id: "string",
        listenerId: "string",
        loadbalancerId: "string",
        memberDeletionProtection: false,
        name: "string",
        projectId: "string",
        sessionPersistence: {
            type: "string",
            cookieName: "string",
            persistenceTimeout: 0,
        },
        type: "string",
        vpcId: "string",
    });
    
    type: opentelekomcloud:LbPoolV3
    properties:
        description: string
        lbAlgorithm: string
        lbPoolV3Id: string
        listenerId: string
        loadbalancerId: string
        memberDeletionProtection: false
        name: string
        projectId: string
        protocol: string
        sessionPersistence:
            cookieName: string
            persistenceTimeout: 0
            type: string
        type: string
        vpcId: string
    

    LbPoolV3 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 LbPoolV3 resource accepts the following input properties:

    LbAlgorithm string

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    Protocol string
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    Description string
    Provides supplementary information about the backend server group.
    LbPoolV3Id string
    Specifies the backend server group ID.
    ListenerId string
    Specifies the ID of the listener associated with the backend server group.
    LoadbalancerId string

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    MemberDeletionProtection bool
    Name string
    Specifies the backend server group name.
    ProjectId string
    Specifies the project ID.
    SessionPersistence LbPoolV3SessionPersistence
    Specifies whether to enable sticky sessions.
    Type string
    VpcId string
    LbAlgorithm string

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    Protocol string
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    Description string
    Provides supplementary information about the backend server group.
    LbPoolV3Id string
    Specifies the backend server group ID.
    ListenerId string
    Specifies the ID of the listener associated with the backend server group.
    LoadbalancerId string

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    MemberDeletionProtection bool
    Name string
    Specifies the backend server group name.
    ProjectId string
    Specifies the project ID.
    SessionPersistence LbPoolV3SessionPersistenceArgs
    Specifies whether to enable sticky sessions.
    Type string
    VpcId string
    lbAlgorithm String

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    protocol String
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    description String
    Provides supplementary information about the backend server group.
    lbPoolV3Id String
    Specifies the backend server group ID.
    listenerId String
    Specifies the ID of the listener associated with the backend server group.
    loadbalancerId String

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    memberDeletionProtection Boolean
    name String
    Specifies the backend server group name.
    projectId String
    Specifies the project ID.
    sessionPersistence LbPoolV3SessionPersistence
    Specifies whether to enable sticky sessions.
    type String
    vpcId String
    lbAlgorithm string

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    protocol string
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    description string
    Provides supplementary information about the backend server group.
    lbPoolV3Id string
    Specifies the backend server group ID.
    listenerId string
    Specifies the ID of the listener associated with the backend server group.
    loadbalancerId string

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    memberDeletionProtection boolean
    name string
    Specifies the backend server group name.
    projectId string
    Specifies the project ID.
    sessionPersistence LbPoolV3SessionPersistence
    Specifies whether to enable sticky sessions.
    type string
    vpcId string
    lb_algorithm str

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    protocol str
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    description str
    Provides supplementary information about the backend server group.
    lb_pool_v3_id str
    Specifies the backend server group ID.
    listener_id str
    Specifies the ID of the listener associated with the backend server group.
    loadbalancer_id str

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    member_deletion_protection bool
    name str
    Specifies the backend server group name.
    project_id str
    Specifies the project ID.
    session_persistence LbPoolV3SessionPersistenceArgs
    Specifies whether to enable sticky sessions.
    type str
    vpc_id str
    lbAlgorithm String

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    protocol String
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    description String
    Provides supplementary information about the backend server group.
    lbPoolV3Id String
    Specifies the backend server group ID.
    listenerId String
    Specifies the ID of the listener associated with the backend server group.
    loadbalancerId String

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    memberDeletionProtection Boolean
    name String
    Specifies the backend server group name.
    projectId String
    Specifies the project ID.
    sessionPersistence Property Map
    Specifies whether to enable sticky sessions.
    type String
    vpcId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LbPoolV3 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IpVersion string
    Specifies the IP version supported by the backend server group.
    Id string
    The provider-assigned unique ID for this managed resource.
    IpVersion string
    Specifies the IP version supported by the backend server group.
    id String
    The provider-assigned unique ID for this managed resource.
    ipVersion String
    Specifies the IP version supported by the backend server group.
    id string
    The provider-assigned unique ID for this managed resource.
    ipVersion string
    Specifies the IP version supported by the backend server group.
    id str
    The provider-assigned unique ID for this managed resource.
    ip_version str
    Specifies the IP version supported by the backend server group.
    id String
    The provider-assigned unique ID for this managed resource.
    ipVersion String
    Specifies the IP version supported by the backend server group.

    Look up Existing LbPoolV3 Resource

    Get an existing LbPoolV3 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?: LbPoolV3State, opts?: CustomResourceOptions): LbPoolV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            ip_version: Optional[str] = None,
            lb_algorithm: Optional[str] = None,
            lb_pool_v3_id: Optional[str] = None,
            listener_id: Optional[str] = None,
            loadbalancer_id: Optional[str] = None,
            member_deletion_protection: Optional[bool] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            protocol: Optional[str] = None,
            session_persistence: Optional[LbPoolV3SessionPersistenceArgs] = None,
            type: Optional[str] = None,
            vpc_id: Optional[str] = None) -> LbPoolV3
    func GetLbPoolV3(ctx *Context, name string, id IDInput, state *LbPoolV3State, opts ...ResourceOption) (*LbPoolV3, error)
    public static LbPoolV3 Get(string name, Input<string> id, LbPoolV3State? state, CustomResourceOptions? opts = null)
    public static LbPoolV3 get(String name, Output<String> id, LbPoolV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:LbPoolV3    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:
    Description string
    Provides supplementary information about the backend server group.
    IpVersion string
    Specifies the IP version supported by the backend server group.
    LbAlgorithm string

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    LbPoolV3Id string
    Specifies the backend server group ID.
    ListenerId string
    Specifies the ID of the listener associated with the backend server group.
    LoadbalancerId string

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    MemberDeletionProtection bool
    Name string
    Specifies the backend server group name.
    ProjectId string
    Specifies the project ID.
    Protocol string
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    SessionPersistence LbPoolV3SessionPersistence
    Specifies whether to enable sticky sessions.
    Type string
    VpcId string
    Description string
    Provides supplementary information about the backend server group.
    IpVersion string
    Specifies the IP version supported by the backend server group.
    LbAlgorithm string

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    LbPoolV3Id string
    Specifies the backend server group ID.
    ListenerId string
    Specifies the ID of the listener associated with the backend server group.
    LoadbalancerId string

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    MemberDeletionProtection bool
    Name string
    Specifies the backend server group name.
    ProjectId string
    Specifies the project ID.
    Protocol string
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    SessionPersistence LbPoolV3SessionPersistenceArgs
    Specifies whether to enable sticky sessions.
    Type string
    VpcId string
    description String
    Provides supplementary information about the backend server group.
    ipVersion String
    Specifies the IP version supported by the backend server group.
    lbAlgorithm String

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    lbPoolV3Id String
    Specifies the backend server group ID.
    listenerId String
    Specifies the ID of the listener associated with the backend server group.
    loadbalancerId String

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    memberDeletionProtection Boolean
    name String
    Specifies the backend server group name.
    projectId String
    Specifies the project ID.
    protocol String
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    sessionPersistence LbPoolV3SessionPersistence
    Specifies whether to enable sticky sessions.
    type String
    vpcId String
    description string
    Provides supplementary information about the backend server group.
    ipVersion string
    Specifies the IP version supported by the backend server group.
    lbAlgorithm string

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    lbPoolV3Id string
    Specifies the backend server group ID.
    listenerId string
    Specifies the ID of the listener associated with the backend server group.
    loadbalancerId string

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    memberDeletionProtection boolean
    name string
    Specifies the backend server group name.
    projectId string
    Specifies the project ID.
    protocol string
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    sessionPersistence LbPoolV3SessionPersistence
    Specifies whether to enable sticky sessions.
    type string
    vpcId string
    description str
    Provides supplementary information about the backend server group.
    ip_version str
    Specifies the IP version supported by the backend server group.
    lb_algorithm str

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    lb_pool_v3_id str
    Specifies the backend server group ID.
    listener_id str
    Specifies the ID of the listener associated with the backend server group.
    loadbalancer_id str

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    member_deletion_protection bool
    name str
    Specifies the backend server group name.
    project_id str
    Specifies the project ID.
    protocol str
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    session_persistence LbPoolV3SessionPersistenceArgs
    Specifies whether to enable sticky sessions.
    type str
    vpc_id str
    description String
    Provides supplementary information about the backend server group.
    ipVersion String
    Specifies the IP version supported by the backend server group.
    lbAlgorithm String

    Specifies the load balancing algorithm used by the load balancer to route requests to backend servers.

    The value can be one of the following:

    • ROUND_ROBIN: weighted round-robin
    • LEAST_CONNECTIONS: weighted least connections
    • SOURCE_IP: source IP hash

    When the value is SOURCE_IP, the weights of backend servers are invalid.

    lbPoolV3Id String
    Specifies the backend server group ID.
    listenerId String
    Specifies the ID of the listener associated with the backend server group.
    loadbalancerId String

    Specifies the ID of the associated load balancer.

    Specify either listener_id or loadbalancer_id, or both of them.

    memberDeletionProtection Boolean
    name String
    Specifies the backend server group name.
    projectId String
    Specifies the project ID.
    protocol String
    Specifies the protocol used by the backend server group to receive requests. TCP, UDP, HTTP, HTTPS, and QUIC are supported.

    • For UDP listeners, the protocol of the backend server group must be UDP.
    • For TCP listeners, the protocol of the backend server group must be TCP.
    • For HTTP listeners, the protocol of the backend server group must be HTTP.
    • For HTTPS listeners, the protocol of the backend server group must be HTTPS.
    sessionPersistence Property Map
    Specifies whether to enable sticky sessions.
    type String
    vpcId String

    Supporting Types

    LbPoolV3SessionPersistence, LbPoolV3SessionPersistenceArgs

    Type string
    Specifies the type of the backend server group.
    CookieName string
    Specifies the cookie name. This parameter will take effect only when type is set to APP_COOKIE. The value can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    PersistenceTimeout double
    Specifies the stickiness duration, in minutes. This parameter will not take effect when type is set to APP_COOKIE.

    • If the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60, and the default value is 1.
    • If the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440, and the default value is 1440.
    Type string
    Specifies the type of the backend server group.
    CookieName string
    Specifies the cookie name. This parameter will take effect only when type is set to APP_COOKIE. The value can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    PersistenceTimeout float64
    Specifies the stickiness duration, in minutes. This parameter will not take effect when type is set to APP_COOKIE.

    • If the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60, and the default value is 1.
    • If the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440, and the default value is 1440.
    type String
    Specifies the type of the backend server group.
    cookieName String
    Specifies the cookie name. This parameter will take effect only when type is set to APP_COOKIE. The value can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    persistenceTimeout Double
    Specifies the stickiness duration, in minutes. This parameter will not take effect when type is set to APP_COOKIE.

    • If the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60, and the default value is 1.
    • If the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440, and the default value is 1440.
    type string
    Specifies the type of the backend server group.
    cookieName string
    Specifies the cookie name. This parameter will take effect only when type is set to APP_COOKIE. The value can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    persistenceTimeout number
    Specifies the stickiness duration, in minutes. This parameter will not take effect when type is set to APP_COOKIE.

    • If the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60, and the default value is 1.
    • If the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440, and the default value is 1440.
    type str
    Specifies the type of the backend server group.
    cookie_name str
    Specifies the cookie name. This parameter will take effect only when type is set to APP_COOKIE. The value can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    persistence_timeout float
    Specifies the stickiness duration, in minutes. This parameter will not take effect when type is set to APP_COOKIE.

    • If the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60, and the default value is 1.
    • If the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440, and the default value is 1440.
    type String
    Specifies the type of the backend server group.
    cookieName String
    Specifies the cookie name. This parameter will take effect only when type is set to APP_COOKIE. The value can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    persistenceTimeout Number
    Specifies the stickiness duration, in minutes. This parameter will not take effect when type is set to APP_COOKIE.

    • If the protocol of the backend server group is TCP or UDP, the value ranges from 1 to 60, and the default value is 1.
    • If the protocol of the backend server group is HTTP or HTTPS, the value ranges from 1 to 1440, and the default value is 1440.

    Import

    Pools can be imported using the id, e.g.

    $ pulumi import opentelekomcloud:index/lbPoolV3:LbPoolV3 pool 7b80e108-1636-44e5-aece-986b0052b7dd
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud