opentelekomcloud.LbPoolV2
Explore with Pulumi AI
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:
- Lb
Method string - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- Admin
State boolUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- Description string
- Human-readable description for the pool.
- Lb
Pool stringV2Id - The unique ID for the pool.
- Listener
Id string The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Loadbalancer
Id string The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Name string
- Human-readable name for the pool.
- Persistences
List<Lb
Pool V2Persistence> - 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
- Tenant
Id 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
Lb
Pool V2Timeouts
- Lb
Method string - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- Admin
State boolUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- Description string
- Human-readable description for the pool.
- Lb
Pool stringV2Id - The unique ID for the pool.
- Listener
Id string The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Loadbalancer
Id string The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Name string
- Human-readable name for the pool.
- Persistences
[]Lb
Pool V2Persistence Args - 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
- Tenant
Id 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
Lb
Pool V2Timeouts Args
- lb
Method String - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- admin
State BooleanUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- description String
- Human-readable description for the pool.
- lb
Pool StringV2Id - The unique ID for the pool.
- listener
Id String The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- loadbalancer
Id String The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- name String
- Human-readable name for the pool.
- persistences
List<Lb
Pool V2Persistence> - 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
- tenant
Id 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
Lb
Pool V2Timeouts
- lb
Method string - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- admin
State booleanUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- description string
- Human-readable description for the pool.
- lb
Pool stringV2Id - The unique ID for the pool.
- listener
Id string The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- loadbalancer
Id string The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- name string
- Human-readable name for the pool.
- persistences
Lb
Pool V2Persistence[] - 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
- tenant
Id 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
Lb
Pool V2Timeouts
- lb_
method str - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- admin_
state_ boolup - 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_ strv2_ id - 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
orlistener_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
orlistener_id
must be provided.- name str
- Human-readable name for the pool.
- persistences
Sequence[Lb
Pool V2Persistence Args] - 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
Lb
Pool V2Timeouts Args
- lb
Method String - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- admin
State BooleanUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- description String
- Human-readable description for the pool.
- lb
Pool StringV2Id - The unique ID for the pool.
- listener
Id String The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- loadbalancer
Id String The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_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
- tenant
Id 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.
- Admin
State boolUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- Description string
- Human-readable description for the pool.
- Lb
Method string - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_IP
. - Lb
Pool stringV2Id - The unique ID for the pool.
- Listener
Id string The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Loadbalancer
Id string The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Name string
- Human-readable name for the pool.
- Persistences
List<Lb
Pool V2Persistence> - 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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- Region string
- Tenant
Id 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
Lb
Pool V2Timeouts
- Admin
State boolUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- Description string
- Human-readable description for the pool.
- Lb
Method string - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_IP
. - Lb
Pool stringV2Id - The unique ID for the pool.
- Listener
Id string The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Loadbalancer
Id string The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- Name string
- Human-readable name for the pool.
- Persistences
[]Lb
Pool V2Persistence Args - 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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- Region string
- Tenant
Id 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
Lb
Pool V2Timeouts Args
- admin
State BooleanUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- description String
- Human-readable description for the pool.
- lb
Method String - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_IP
. - lb
Pool StringV2Id - The unique ID for the pool.
- listener
Id String The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- loadbalancer
Id String The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- name String
- Human-readable name for the pool.
- persistences
List<Lb
Pool V2Persistence> - 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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- region String
- tenant
Id 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
Lb
Pool V2Timeouts
- admin
State booleanUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- description string
- Human-readable description for the pool.
- lb
Method string - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_IP
. - lb
Pool stringV2Id - The unique ID for the pool.
- listener
Id string The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- loadbalancer
Id string The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- name string
- Human-readable name for the pool.
- persistences
Lb
Pool V2Persistence[] - 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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- region string
- tenant
Id 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
Lb
Pool V2Timeouts
- admin_
state_ boolup - 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
, orSOURCE_IP
. - lb_
pool_ strv2_ id - 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
orlistener_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
orlistener_id
must be provided.- name str
- Human-readable name for the pool.
- persistences
Sequence[Lb
Pool V2Persistence Args] - 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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- 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
Lb
Pool V2Timeouts Args
- admin
State BooleanUp - The administrative state of the pool. A valid value is true (UP) or false (DOWN).
- description String
- Human-readable description for the pool.
- lb
Method String - The load balancing algorithm to
distribute traffic to the pool's members. Must be one of
ROUND_ROBIN
,LEAST_CONNECTIONS
, orSOURCE_IP
. - lb
Pool StringV2Id - The unique ID for the pool.
- listener
Id String The Listener on which the members of the pool will be associated with. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_id
must be provided.- loadbalancer
Id String The load balancer on which to provision this pool. Changing this creates a new pool.
One of
loadbalancer_id
orlistener_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 beUDP
. When the load balancer protocol isTCP
, the pool protocol must beTCP
. When the load balancer protocol isHTTP
orTERMINATED_HTTPS
, the pool protocol must beHTTP
.- region String
- tenant
Id 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
- 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
, andAPP_COOKIE
.
- 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
, andAPP_COOKIE
.
- 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
, andAPP_COOKIE
.
- 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
, andAPP_COOKIE
.
- 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
, andAPP_COOKIE
.
- 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
, andAPP_COOKIE
.
LbPoolV2Timeouts, LbPoolV2TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.