1. Packages
  2. Vkcs Provider
  3. API Docs
  4. LbPool
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.LbPool

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a pool resource within VKCS.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const http = new vkcs.LbPool("http", {
        description: "Pool for http member/members testing",
        listenerId: vkcs_lb_listener.app_http.id,
        protocol: "HTTP",
        lbMethod: "ROUND_ROBIN",
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    http = vkcs.LbPool("http",
        description="Pool for http member/members testing",
        listener_id=vkcs_lb_listener["app_http"]["id"],
        protocol="HTTP",
        lb_method="ROUND_ROBIN")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewLbPool(ctx, "http", &vkcs.LbPoolArgs{
    			Description: pulumi.String("Pool for http member/members testing"),
    			ListenerId:  pulumi.Any(vkcs_lb_listener.App_http.Id),
    			Protocol:    pulumi.String("HTTP"),
    			LbMethod:    pulumi.String("ROUND_ROBIN"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var http = new Vkcs.LbPool("http", new()
        {
            Description = "Pool for http member/members testing",
            ListenerId = vkcs_lb_listener.App_http.Id,
            Protocol = "HTTP",
            LbMethod = "ROUND_ROBIN",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.LbPool;
    import com.pulumi.vkcs.LbPoolArgs;
    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 http = new LbPool("http", LbPoolArgs.builder()
                .description("Pool for http member/members testing")
                .listenerId(vkcs_lb_listener.app_http().id())
                .protocol("HTTP")
                .lbMethod("ROUND_ROBIN")
                .build());
    
        }
    }
    
    resources:
      http:
        type: vkcs:LbPool
        properties:
          description: Pool for http member/members testing
          listenerId: ${vkcs_lb_listener.app_http.id}
          protocol: HTTP
          lbMethod: ROUND_ROBIN
    

    Create LbPool Resource

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

    Constructor syntax

    new LbPool(name: string, args: LbPoolArgs, opts?: CustomResourceOptions);
    @overload
    def LbPool(resource_name: str,
               args: LbPoolArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def LbPool(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_id: Optional[str] = None,
               listener_id: Optional[str] = None,
               loadbalancer_id: Optional[str] = None,
               name: Optional[str] = None,
               persistence: Optional[LbPoolPersistenceArgs] = None,
               region: Optional[str] = None,
               timeouts: Optional[LbPoolTimeoutsArgs] = None)
    func NewLbPool(ctx *Context, name string, args LbPoolArgs, opts ...ResourceOption) (*LbPool, error)
    public LbPool(string name, LbPoolArgs args, CustomResourceOptions? opts = null)
    public LbPool(String name, LbPoolArgs args)
    public LbPool(String name, LbPoolArgs args, CustomResourceOptions options)
    
    type: vkcs:LbPool
    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 LbPoolArgs
    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 LbPoolArgs
    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 LbPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbPoolArgs
    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 lbPoolResource = new Vkcs.LbPool("lbPoolResource", new()
    {
        LbMethod = "string",
        Protocol = "string",
        AdminStateUp = false,
        Description = "string",
        LbPoolId = "string",
        ListenerId = "string",
        LoadbalancerId = "string",
        Name = "string",
        Persistence = new Vkcs.Inputs.LbPoolPersistenceArgs
        {
            Type = "string",
            CookieName = "string",
        },
        Region = "string",
        Timeouts = new Vkcs.Inputs.LbPoolTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := vkcs.NewLbPool(ctx, "lbPoolResource", &vkcs.LbPoolArgs{
    LbMethod: pulumi.String("string"),
    Protocol: pulumi.String("string"),
    AdminStateUp: pulumi.Bool(false),
    Description: pulumi.String("string"),
    LbPoolId: pulumi.String("string"),
    ListenerId: pulumi.String("string"),
    LoadbalancerId: pulumi.String("string"),
    Name: pulumi.String("string"),
    Persistence: &.LbPoolPersistenceArgs{
    Type: pulumi.String("string"),
    CookieName: pulumi.String("string"),
    },
    Region: pulumi.String("string"),
    Timeouts: &.LbPoolTimeoutsArgs{
    Create: pulumi.String("string"),
    Delete: pulumi.String("string"),
    Update: pulumi.String("string"),
    },
    })
    
    var lbPoolResource = new LbPool("lbPoolResource", LbPoolArgs.builder()
        .lbMethod("string")
        .protocol("string")
        .adminStateUp(false)
        .description("string")
        .lbPoolId("string")
        .listenerId("string")
        .loadbalancerId("string")
        .name("string")
        .persistence(LbPoolPersistenceArgs.builder()
            .type("string")
            .cookieName("string")
            .build())
        .region("string")
        .timeouts(LbPoolTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    lb_pool_resource = vkcs.LbPool("lbPoolResource",
        lb_method="string",
        protocol="string",
        admin_state_up=False,
        description="string",
        lb_pool_id="string",
        listener_id="string",
        loadbalancer_id="string",
        name="string",
        persistence={
            "type": "string",
            "cookie_name": "string",
        },
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const lbPoolResource = new vkcs.LbPool("lbPoolResource", {
        lbMethod: "string",
        protocol: "string",
        adminStateUp: false,
        description: "string",
        lbPoolId: "string",
        listenerId: "string",
        loadbalancerId: "string",
        name: "string",
        persistence: {
            type: "string",
            cookieName: "string",
        },
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: vkcs:LbPool
    properties:
        adminStateUp: false
        description: string
        lbMethod: string
        lbPoolId: string
        listenerId: string
        loadbalancerId: string
        name: string
        persistence:
            cookieName: string
            type: string
        protocol: string
        region: string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    LbMethod string
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    Protocol string
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    AdminStateUp bool
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    optional string → Human-readable description for the pool.
    LbPoolId string
    string → ID of the resource.
    ListenerId string
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    LoadbalancerId string
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    Name string
    optional string → Human-readable name for the pool.
    Persistence LbPoolPersistence
    optional → 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
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    Timeouts LbPoolTimeouts
    LbMethod string
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    Protocol string
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    AdminStateUp bool
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    optional string → Human-readable description for the pool.
    LbPoolId string
    string → ID of the resource.
    ListenerId string
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    LoadbalancerId string
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    Name string
    optional string → Human-readable name for the pool.
    Persistence LbPoolPersistenceArgs
    optional → 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
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    Timeouts LbPoolTimeoutsArgs
    lbMethod String
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    protocol String
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    adminStateUp Boolean
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    optional string → Human-readable description for the pool.
    lbPoolId String
    string → ID of the resource.
    listenerId String
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancerId String
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name String
    optional string → Human-readable name for the pool.
    persistence LbPoolPersistence
    optional → 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
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts LbPoolTimeouts
    lbMethod string
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    protocol string
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    adminStateUp boolean
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description string
    optional string → Human-readable description for the pool.
    lbPoolId string
    string → ID of the resource.
    listenerId string
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancerId string
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name string
    optional string → Human-readable name for the pool.
    persistence LbPoolPersistence
    optional → 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
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts LbPoolTimeouts
    lb_method str
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    protocol str
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    admin_state_up bool
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description str
    optional string → Human-readable description for the pool.
    lb_pool_id str
    string → ID of the resource.
    listener_id str
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancer_id str
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name str
    optional string → Human-readable name for the pool.
    persistence LbPoolPersistenceArgs
    optional → 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
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts LbPoolTimeoutsArgs
    lbMethod String
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    protocol String
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    adminStateUp Boolean
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    optional string → Human-readable description for the pool.
    lbPoolId String
    string → ID of the resource.
    listenerId String
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancerId String
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name String
    optional string → Human-readable name for the pool.
    persistence Property Map
    optional → 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
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LbPool 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 LbPool Resource

    Get an existing LbPool 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?: LbPoolState, opts?: CustomResourceOptions): LbPool
    @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_id: Optional[str] = None,
            listener_id: Optional[str] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            persistence: Optional[LbPoolPersistenceArgs] = None,
            protocol: Optional[str] = None,
            region: Optional[str] = None,
            timeouts: Optional[LbPoolTimeoutsArgs] = None) -> LbPool
    func GetLbPool(ctx *Context, name string, id IDInput, state *LbPoolState, opts ...ResourceOption) (*LbPool, error)
    public static LbPool Get(string name, Input<string> id, LbPoolState? state, CustomResourceOptions? opts = null)
    public static LbPool get(String name, Output<String> id, LbPoolState state, CustomResourceOptions options)
    resources:  _:    type: vkcs:LbPool    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
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    optional string → Human-readable description for the pool.
    LbMethod string
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    LbPoolId string
    string → ID of the resource.
    ListenerId string
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    LoadbalancerId string
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    Name string
    optional string → Human-readable name for the pool.
    Persistence LbPoolPersistence
    optional → 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
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    Timeouts LbPoolTimeouts
    AdminStateUp bool
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    Description string
    optional string → Human-readable description for the pool.
    LbMethod string
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    LbPoolId string
    string → ID of the resource.
    ListenerId string
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    LoadbalancerId string
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    Name string
    optional string → Human-readable name for the pool.
    Persistence LbPoolPersistenceArgs
    optional → 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
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    Timeouts LbPoolTimeoutsArgs
    adminStateUp Boolean
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    optional string → Human-readable description for the pool.
    lbMethod String
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    lbPoolId String
    string → ID of the resource.
    listenerId String
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancerId String
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name String
    optional string → Human-readable name for the pool.
    persistence LbPoolPersistence
    optional → 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
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts LbPoolTimeouts
    adminStateUp boolean
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description string
    optional string → Human-readable description for the pool.
    lbMethod string
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    lbPoolId string
    string → ID of the resource.
    listenerId string
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancerId string
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name string
    optional string → Human-readable name for the pool.
    persistence LbPoolPersistence
    optional → 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
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts LbPoolTimeouts
    admin_state_up bool
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description str
    optional string → Human-readable description for the pool.
    lb_method str
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    lb_pool_id str
    string → ID of the resource.
    listener_id str
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancer_id str
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name str
    optional string → Human-readable name for the pool.
    persistence LbPoolPersistenceArgs
    optional → 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
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    region str
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts LbPoolTimeoutsArgs
    adminStateUp Boolean
    optional boolean → The administrative state of the pool. A valid value is true (UP) or false (DOWN).
    description String
    optional string → Human-readable description for the pool.
    lbMethod String
    required string → The load balancing algorithm to distribute traffic to the pool's members. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP, or SOURCE_IP_PORT.
    lbPoolId String
    string → ID of the resource.
    listenerId String
    optional string → The Listener on which the members of the pool will be associated with. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    loadbalancerId String
    optional string → The load balancer on which to provision this pool. Changing this creates a new pool. Note: One of LoadbalancerID or ListenerID must be provided.
    name String
    optional string → Human-readable name for the pool.
    persistence Property Map
    optional → 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
    required string → The protocol - can either be TCP, HTTP, HTTPS, PROXY, or UDP. Changing this creates a new pool.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new pool.
    timeouts Property Map

    Supporting Types

    LbPoolPersistence, LbPoolPersistenceArgs

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

    LbPoolTimeouts, LbPoolTimeoutsArgs

    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

    Import

    Load Balancer Pool can be imported using the Pool ID, e.g.:

    $ pulumi import vkcs:index/lbPool:LbPool pool_1 60ad9ee4-249a-4d60-a45b-aa60e046c513
    

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

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs