vkcs.LbPool
Explore with Pulumi AI
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:
- Lb
Method 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.
- Admin
State boolUp - 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.
- Lb
Pool stringId - string → ID of the resource.
- Listener
Id 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.
- Loadbalancer
Id 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
Lb
Pool Persistence - 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
Lb
Pool Timeouts
- Lb
Method 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.
- Admin
State boolUp - 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.
- Lb
Pool stringId - string → ID of the resource.
- Listener
Id 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.
- Loadbalancer
Id 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
Lb
Pool Persistence Args - 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
Lb
Pool Timeouts Args
- lb
Method 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.
- admin
State BooleanUp - 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.
- lb
Pool StringId - string → ID of the resource.
- listener
Id 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.
- loadbalancer
Id 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
Lb
Pool Persistence - 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
Lb
Pool Timeouts
- lb
Method 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.
- admin
State booleanUp - 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.
- lb
Pool stringId - string → ID of the resource.
- listener
Id 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.
- loadbalancer
Id 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
Lb
Pool Persistence - 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
Lb
Pool Timeouts
- 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_ boolup - 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_ strid - 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
Lb
Pool Persistence Args - 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
Lb
Pool Timeouts Args
- lb
Method 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.
- admin
State BooleanUp - 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.
- lb
Pool StringId - string → ID of the resource.
- listener
Id 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.
- loadbalancer
Id 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.
- Admin
State boolUp - 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.
- Lb
Method 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.
- Lb
Pool stringId - string → ID of the resource.
- Listener
Id 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.
- Loadbalancer
Id 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
Lb
Pool Persistence - 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
Lb
Pool Timeouts
- Admin
State boolUp - 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.
- Lb
Method 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.
- Lb
Pool stringId - string → ID of the resource.
- Listener
Id 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.
- Loadbalancer
Id 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
Lb
Pool Persistence Args - 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
Lb
Pool Timeouts Args
- admin
State BooleanUp - 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.
- lb
Method 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.
- lb
Pool StringId - string → ID of the resource.
- listener
Id 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.
- loadbalancer
Id 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
Lb
Pool Persistence - 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
Lb
Pool Timeouts
- admin
State booleanUp - 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.
- lb
Method 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.
- lb
Pool stringId - string → ID of the resource.
- listener
Id 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.
- loadbalancer
Id 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
Lb
Pool Persistence - 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
Lb
Pool Timeouts
- admin_
state_ boolup - 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_ strid - 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
Lb
Pool Persistence Args - 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
Lb
Pool Timeouts Args
- admin
State BooleanUp - 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.
- lb
Method 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.
- lb
Pool StringId - string → ID of the resource.
- listener
Id 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.
- loadbalancer
Id 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- String
- optional string → The name of the cookie if persistence mode is set appropriately. Required if
type = APP_COOKIE
.
LbPoolTimeouts, LbPoolTimeoutsArgs
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.