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

opentelekomcloud.LbPoolV2

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 ELB pool you can get at documentation portal

    Manages an Enhanced LB pool resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const pool1 = new opentelekomcloud.LbPoolV2("pool1", {
        lbMethod: "ROUND_ROBIN",
        listenerId: "d9415786-5f1a-428b-b35f-2f1523e146d2",
        persistences: [{
            cookieName: "testCookie",
            type: "APP_COOKIE",
        }],
        protocol: "HTTP",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    pool1 = opentelekomcloud.LbPoolV2("pool1",
        lb_method="ROUND_ROBIN",
        listener_id="d9415786-5f1a-428b-b35f-2f1523e146d2",
        persistences=[{
            "cookie_name": "testCookie",
            "type": "APP_COOKIE",
        }],
        protocol="HTTP")
    
    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 {
    		_, err := opentelekomcloud.NewLbPoolV2(ctx, "pool1", &opentelekomcloud.LbPoolV2Args{
    			LbMethod:   pulumi.String("ROUND_ROBIN"),
    			ListenerId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
    			Persistences: opentelekomcloud.LbPoolV2PersistenceArray{
    				&opentelekomcloud.LbPoolV2PersistenceArgs{
    					CookieName: pulumi.String("testCookie"),
    					Type:       pulumi.String("APP_COOKIE"),
    				},
    			},
    			Protocol: pulumi.String("HTTP"),
    		})
    		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 pool1 = new Opentelekomcloud.LbPoolV2("pool1", new()
        {
            LbMethod = "ROUND_ROBIN",
            ListenerId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
            Persistences = new[]
            {
                new Opentelekomcloud.Inputs.LbPoolV2PersistenceArgs
                {
                    CookieName = "testCookie",
                    Type = "APP_COOKIE",
                },
            },
            Protocol = "HTTP",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LbPoolV2;
    import com.pulumi.opentelekomcloud.LbPoolV2Args;
    import com.pulumi.opentelekomcloud.inputs.LbPoolV2PersistenceArgs;
    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 pool1 = new LbPoolV2("pool1", LbPoolV2Args.builder()
                .lbMethod("ROUND_ROBIN")
                .listenerId("d9415786-5f1a-428b-b35f-2f1523e146d2")
                .persistences(LbPoolV2PersistenceArgs.builder()
                    .cookieName("testCookie")
                    .type("APP_COOKIE")
                    .build())
                .protocol("HTTP")
                .build());
    
        }
    }
    
    resources:
      pool1:
        type: opentelekomcloud:LbPoolV2
        properties:
          lbMethod: ROUND_ROBIN
          listenerId: d9415786-5f1a-428b-b35f-2f1523e146d2
          persistences:
            - cookieName: testCookie
              type: APP_COOKIE
          protocol: HTTP
    

    Create LbPoolV2 Resource

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

    Constructor syntax

    new LbPoolV2(name: string, args: LbPoolV2Args, opts?: CustomResourceOptions);
    @overload
    def LbPoolV2(resource_name: str,
                 args: LbPoolV2Args,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def LbPoolV2(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 lb_method: Optional[str] = None,
                 protocol: Optional[str] = None,
                 admin_state_up: Optional[bool] = None,
                 description: Optional[str] = None,
                 lb_pool_v2_id: Optional[str] = None,
                 listener_id: Optional[str] = None,
                 loadbalancer_id: Optional[str] = None,
                 name: Optional[str] = None,
                 persistences: Optional[Sequence[LbPoolV2PersistenceArgs]] = None,
                 region: Optional[str] = None,
                 tenant_id: Optional[str] = None,
                 timeouts: Optional[LbPoolV2TimeoutsArgs] = None)
    func NewLbPoolV2(ctx *Context, name string, args LbPoolV2Args, opts ...ResourceOption) (*LbPoolV2, error)
    public LbPoolV2(string name, LbPoolV2Args args, CustomResourceOptions? opts = null)
    public LbPoolV2(String name, LbPoolV2Args args)
    public LbPoolV2(String name, LbPoolV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:LbPoolV2
    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 LbPoolV2Args
    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 LbPoolV2Args
    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 LbPoolV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbPoolV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbPoolV2Args
    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 lbPoolV2Resource = new Opentelekomcloud.LbPoolV2("lbPoolV2Resource", new()
    {
        LbMethod = "string",
        Protocol = "string",
        AdminStateUp = false,
        Description = "string",
        LbPoolV2Id = "string",
        ListenerId = "string",
        LoadbalancerId = "string",
        Name = "string",
        Persistences = new[]
        {
            new Opentelekomcloud.Inputs.LbPoolV2PersistenceArgs
            {
                CookieName = "string",
                Type = "string",
            },
        },
        Region = "string",
        TenantId = "string",
        Timeouts = new Opentelekomcloud.Inputs.LbPoolV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewLbPoolV2(ctx, "lbPoolV2Resource", &opentelekomcloud.LbPoolV2Args{
    	LbMethod:       pulumi.String("string"),
    	Protocol:       pulumi.String("string"),
    	AdminStateUp:   pulumi.Bool(false),
    	Description:    pulumi.String("string"),
    	LbPoolV2Id:     pulumi.String("string"),
    	ListenerId:     pulumi.String("string"),
    	LoadbalancerId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Persistences: opentelekomcloud.LbPoolV2PersistenceArray{
    		&opentelekomcloud.LbPoolV2PersistenceArgs{
    			CookieName: pulumi.String("string"),
    			Type:       pulumi.String("string"),
    		},
    	},
    	Region:   pulumi.String("string"),
    	TenantId: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.LbPoolV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var lbPoolV2Resource = new LbPoolV2("lbPoolV2Resource", LbPoolV2Args.builder()
        .lbMethod("string")
        .protocol("string")
        .adminStateUp(false)
        .description("string")
        .lbPoolV2Id("string")
        .listenerId("string")
        .loadbalancerId("string")
        .name("string")
        .persistences(LbPoolV2PersistenceArgs.builder()
            .cookieName("string")
            .type("string")
            .build())
        .region("string")
        .tenantId("string")
        .timeouts(LbPoolV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    lb_pool_v2_resource = opentelekomcloud.LbPoolV2("lbPoolV2Resource",
        lb_method="string",
        protocol="string",
        admin_state_up=False,
        description="string",
        lb_pool_v2_id="string",
        listener_id="string",
        loadbalancer_id="string",
        name="string",
        persistences=[{
            "cookie_name": "string",
            "type": "string",
        }],
        region="string",
        tenant_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const lbPoolV2Resource = new opentelekomcloud.LbPoolV2("lbPoolV2Resource", {
        lbMethod: "string",
        protocol: "string",
        adminStateUp: false,
        description: "string",
        lbPoolV2Id: "string",
        listenerId: "string",
        loadbalancerId: "string",
        name: "string",
        persistences: [{
            cookieName: "string",
            type: "string",
        }],
        region: "string",
        tenantId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:LbPoolV2
    properties:
        adminStateUp: false
        description: string
        lbMethod: string
        lbPoolV2Id: string
        listenerId: string
        loadbalancerId: string
        name: string
        persistences:
            - cookieName: string
              type: string
        protocol: string
        region: string
        tenantId: string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    LbMethod string
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    Protocol string

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    AdminStateUp bool
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    Human-readable description for the pool.
    LbPoolV2Id string
    The unique ID for the pool.
    ListenerId string

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    LoadbalancerId string

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    Name string
    Human-readable name for the pool.
    Persistences List<LbPoolV2Persistence>
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    Timeouts LbPoolV2Timeouts
    LbMethod string
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    Protocol string

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    AdminStateUp bool
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    Human-readable description for the pool.
    LbPoolV2Id string
    The unique ID for the pool.
    ListenerId string

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    LoadbalancerId string

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    Name string
    Human-readable name for the pool.
    Persistences []LbPoolV2PersistenceArgs
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    Timeouts LbPoolV2TimeoutsArgs
    lbMethod String
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    protocol String

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    adminStateUp Boolean
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    Human-readable description for the pool.
    lbPoolV2Id String
    The unique ID for the pool.
    listenerId String

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancerId String

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name String
    Human-readable name for the pool.
    persistences List<LbPoolV2Persistence>
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts LbPoolV2Timeouts
    lbMethod string
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    protocol string

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    adminStateUp boolean
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description string
    Human-readable description for the pool.
    lbPoolV2Id string
    The unique ID for the pool.
    listenerId string

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancerId string

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name string
    Human-readable name for the pool.
    persistences LbPoolV2Persistence[]
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    region string
    tenantId string
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts LbPoolV2Timeouts
    lb_method str
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    protocol str

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    admin_state_up bool
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description str
    Human-readable description for the pool.
    lb_pool_v2_id str
    The unique ID for the pool.
    listener_id str

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancer_id str

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name str
    Human-readable name for the pool.
    persistences Sequence[LbPoolV2PersistenceArgs]
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    region str
    tenant_id str
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts LbPoolV2TimeoutsArgs
    lbMethod String
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    protocol String

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    adminStateUp Boolean
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    Human-readable description for the pool.
    lbPoolV2Id String
    The unique ID for the pool.
    listenerId String

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancerId String

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name String
    Human-readable name for the pool.
    persistences List<Property Map>
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LbPoolV2 Resource

    Get an existing LbPoolV2 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?: LbPoolV2State, opts?: CustomResourceOptions): LbPoolV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state_up: Optional[bool] = None,
            description: Optional[str] = None,
            lb_method: Optional[str] = None,
            lb_pool_v2_id: Optional[str] = None,
            listener_id: Optional[str] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            persistences: Optional[Sequence[LbPoolV2PersistenceArgs]] = None,
            protocol: Optional[str] = None,
            region: Optional[str] = None,
            tenant_id: Optional[str] = None,
            timeouts: Optional[LbPoolV2TimeoutsArgs] = None) -> LbPoolV2
    func GetLbPoolV2(ctx *Context, name string, id IDInput, state *LbPoolV2State, opts ...ResourceOption) (*LbPoolV2, error)
    public static LbPoolV2 Get(string name, Input<string> id, LbPoolV2State? state, CustomResourceOptions? opts = null)
    public static LbPoolV2 get(String name, Output<String> id, LbPoolV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:LbPoolV2    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:
    AdminStateUp bool
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    Human-readable description for the pool.
    LbMethod string
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    LbPoolV2Id string
    The unique ID for the pool.
    ListenerId string

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    LoadbalancerId string

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    Name string
    Human-readable name for the pool.
    Persistences List<LbPoolV2Persistence>
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    Protocol string

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    Timeouts LbPoolV2Timeouts
    AdminStateUp bool
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    Human-readable description for the pool.
    LbMethod string
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    LbPoolV2Id string
    The unique ID for the pool.
    ListenerId string

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    LoadbalancerId string

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    Name string
    Human-readable name for the pool.
    Persistences []LbPoolV2PersistenceArgs
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    Protocol string

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    Timeouts LbPoolV2TimeoutsArgs
    adminStateUp Boolean
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    Human-readable description for the pool.
    lbMethod String
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    lbPoolV2Id String
    The unique ID for the pool.
    listenerId String

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancerId String

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name String
    Human-readable name for the pool.
    persistences List<LbPoolV2Persistence>
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    protocol String

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts LbPoolV2Timeouts
    adminStateUp boolean
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description string
    Human-readable description for the pool.
    lbMethod string
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    lbPoolV2Id string
    The unique ID for the pool.
    listenerId string

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancerId string

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name string
    Human-readable name for the pool.
    persistences LbPoolV2Persistence[]
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    protocol string

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    region string
    tenantId string
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts LbPoolV2Timeouts
    admin_state_up bool
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description str
    Human-readable description for the pool.
    lb_method str
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    lb_pool_v2_id str
    The unique ID for the pool.
    listener_id str

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancer_id str

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name str
    Human-readable name for the pool.
    persistences Sequence[LbPoolV2PersistenceArgs]
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    protocol str

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    region str
    tenant_id str
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts LbPoolV2TimeoutsArgs
    adminStateUp Boolean
    The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    Human-readable description for the pool.
    lbMethod String
    The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
    lbPoolV2Id String
    The unique ID for the pool.
    listenerId String

    The Listener on which the members of the pool will be associated with. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    loadbalancerId String

    The load balancer on which to provision this pool. Changing this creates a new pool.

    One of loadbalancer_id or listener_id must be provided.

    name String
    Human-readable name for the pool.
    persistences List<Property Map>
    Omit this field to prevent session persistence. Indicates whether connections in the same session will be processed by the same Pool member or not. Changing this creates a new pool.
    protocol String

    The protocol - can either be TCP, UDP or HTTP. Changing this creates a new pool.

    When a pool is added to a specific listener, the relationships between the load balancer protocol and the pool protocol are as follows. When the load balancer protocol is UDP, the pool protocol must be UDP. When the load balancer protocol is TCP, the pool protocol must be TCP. When the load balancer protocol is HTTP or TERMINATED_HTTPS, the pool protocol must be HTTP.

    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the pool. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new pool.
    timeouts Property Map

    Supporting Types

    LbPoolV2Persistence, LbPoolV2PersistenceArgs

    CookieName string
    The name of the cookie if persistence mode is set appropriately.
    Type string
    The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
    CookieName string
    The name of the cookie if persistence mode is set appropriately.
    Type string
    The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
    cookieName String
    The name of the cookie if persistence mode is set appropriately.
    type String
    The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
    cookieName string
    The name of the cookie if persistence mode is set appropriately.
    type string
    The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
    cookie_name str
    The name of the cookie if persistence mode is set appropriately.
    type str
    The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
    cookieName String
    The name of the cookie if persistence mode is set appropriately.
    type String
    The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.

    LbPoolV2Timeouts, LbPoolV2TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    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