openstack.loadbalancer.Pool
Explore with Pulumi AI
Manages a V2 pool resource within OpenStack.
Note: This resource has attributes that depend on octavia minor versions. Please ensure your Openstack cloud supports the required minor version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const pool1 = new openstack.loadbalancer.Pool("pool_1", {
protocol: "HTTP",
lbMethod: "ROUND_ROBIN",
listenerId: "d9415786-5f1a-428b-b35f-2f1523e146d2",
persistence: {
type: "APP_COOKIE",
cookieName: "testCookie",
},
});
import pulumi
import pulumi_openstack as openstack
pool1 = openstack.loadbalancer.Pool("pool_1",
protocol="HTTP",
lb_method="ROUND_ROBIN",
listener_id="d9415786-5f1a-428b-b35f-2f1523e146d2",
persistence=openstack.loadbalancer.PoolPersistenceArgs(
type="APP_COOKIE",
cookie_name="testCookie",
))
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/loadbalancer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := loadbalancer.NewPool(ctx, "pool_1", &loadbalancer.PoolArgs{
Protocol: pulumi.String("HTTP"),
LbMethod: pulumi.String("ROUND_ROBIN"),
ListenerId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
Persistence: &loadbalancer.PoolPersistenceArgs{
Type: pulumi.String("APP_COOKIE"),
CookieName: pulumi.String("testCookie"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() =>
{
var pool1 = new OpenStack.LoadBalancer.Pool("pool_1", new()
{
Protocol = "HTTP",
LbMethod = "ROUND_ROBIN",
ListenerId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
Persistence = new OpenStack.LoadBalancer.Inputs.PoolPersistenceArgs
{
Type = "APP_COOKIE",
CookieName = "testCookie",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.loadbalancer.Pool;
import com.pulumi.openstack.loadbalancer.PoolArgs;
import com.pulumi.openstack.loadbalancer.inputs.PoolPersistenceArgs;
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 Pool("pool1", PoolArgs.builder()
.protocol("HTTP")
.lbMethod("ROUND_ROBIN")
.listenerId("d9415786-5f1a-428b-b35f-2f1523e146d2")
.persistence(PoolPersistenceArgs.builder()
.type("APP_COOKIE")
.cookieName("testCookie")
.build())
.build());
}
}
resources:
pool1:
type: openstack:loadbalancer:Pool
name: pool_1
properties:
protocol: HTTP
lbMethod: ROUND_ROBIN
listenerId: d9415786-5f1a-428b-b35f-2f1523e146d2
persistence:
type: APP_COOKIE
cookieName: testCookie
Create Pool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
@overload
def Pool(resource_name: str,
args: PoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Pool(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,
listener_id: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
persistence: Optional[PoolPersistenceArgs] = None,
region: Optional[str] = None,
tenant_id: Optional[str] = None)
func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
type: openstack:loadbalancer:Pool
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 PoolArgs
- 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 PoolArgs
- 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 PoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PoolArgs
- 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 poolResource = new OpenStack.LoadBalancer.Pool("poolResource", new()
{
LbMethod = "string",
Protocol = "string",
AdminStateUp = false,
Description = "string",
ListenerId = "string",
LoadbalancerId = "string",
Name = "string",
Persistence = new OpenStack.LoadBalancer.Inputs.PoolPersistenceArgs
{
Type = "string",
CookieName = "string",
},
Region = "string",
TenantId = "string",
});
example, err := loadbalancer.NewPool(ctx, "poolResource", &loadbalancer.PoolArgs{
LbMethod: pulumi.String("string"),
Protocol: pulumi.String("string"),
AdminStateUp: pulumi.Bool(false),
Description: pulumi.String("string"),
ListenerId: pulumi.String("string"),
LoadbalancerId: pulumi.String("string"),
Name: pulumi.String("string"),
Persistence: &loadbalancer.PoolPersistenceArgs{
Type: pulumi.String("string"),
CookieName: pulumi.String("string"),
},
Region: pulumi.String("string"),
TenantId: pulumi.String("string"),
})
var poolResource = new Pool("poolResource", PoolArgs.builder()
.lbMethod("string")
.protocol("string")
.adminStateUp(false)
.description("string")
.listenerId("string")
.loadbalancerId("string")
.name("string")
.persistence(PoolPersistenceArgs.builder()
.type("string")
.cookieName("string")
.build())
.region("string")
.tenantId("string")
.build());
pool_resource = openstack.loadbalancer.Pool("poolResource",
lb_method="string",
protocol="string",
admin_state_up=False,
description="string",
listener_id="string",
loadbalancer_id="string",
name="string",
persistence=openstack.loadbalancer.PoolPersistenceArgs(
type="string",
cookie_name="string",
),
region="string",
tenant_id="string")
const poolResource = new openstack.loadbalancer.Pool("poolResource", {
lbMethod: "string",
protocol: "string",
adminStateUp: false,
description: "string",
listenerId: "string",
loadbalancerId: "string",
name: "string",
persistence: {
type: "string",
cookieName: "string",
},
region: "string",
tenantId: "string",
});
type: openstack:loadbalancer:Pool
properties:
adminStateUp: false
description: string
lbMethod: string
listenerId: string
loadbalancerId: string
name: string
persistence:
cookieName: string
type: string
protocol: string
region: string
tenantId: string
Pool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Pool 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, SOURCE_IP, or SOURCE_IP_PORT.
- Protocol string
- The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- 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.
- Listener
Id 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 - 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
- Human-readable name for the pool.
- Persistence
Pulumi.
Open Stack. Load Balancer. Inputs. Pool Persistence - 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
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- Lb
Method 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
- The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- 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.
- Listener
Id 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 - 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
- Human-readable name for the pool.
- Persistence
Pool
Persistence 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
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- lb
Method 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
- The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- 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.
- listener
Id 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 - 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
- Human-readable name for the pool.
- persistence
Pool
Persistence - 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
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- lb
Method 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
- The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- 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.
- listener
Id 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 - 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
- Human-readable name for the pool.
- persistence
Pool
Persistence - 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
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- lb_
method str - 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
- The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- 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.
- listener_
id str - 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 - 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
- Human-readable name for the pool.
- persistence
Pool
Persistence 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
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- lb
Method 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
- The protocol - can either be TCP, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- 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.
- listener
Id 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 - 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
- Human-readable name for the pool.
- persistence 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
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pool 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 Pool Resource
Get an existing Pool 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?: PoolState, opts?: CustomResourceOptions): Pool
@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,
listener_id: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
persistence: Optional[PoolPersistenceArgs] = None,
protocol: Optional[str] = None,
region: Optional[str] = None,
tenant_id: Optional[str] = None) -> Pool
func GetPool(ctx *Context, name string, id IDInput, state *PoolState, opts ...ResourceOption) (*Pool, error)
public static Pool Get(string name, Input<string> id, PoolState? state, CustomResourceOptions? opts = null)
public static Pool get(String name, Output<String> id, PoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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, SOURCE_IP, or SOURCE_IP_PORT.
- Listener
Id 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 - 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
- Human-readable name for the pool.
- Persistence
Pulumi.
Open Stack. Load Balancer. Inputs. Pool Persistence - 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, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- 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, SOURCE_IP, or SOURCE_IP_PORT.
- Listener
Id 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 - 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
- Human-readable name for the pool.
- Persistence
Pool
Persistence 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, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- 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, SOURCE_IP, or SOURCE_IP_PORT.
- listener
Id 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 - 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
- Human-readable name for the pool.
- persistence
Pool
Persistence - 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, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- 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, SOURCE_IP, or SOURCE_IP_PORT.
- listener
Id 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 - 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
- Human-readable name for the pool.
- persistence
Pool
Persistence - 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, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- 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, SOURCE_IP, or SOURCE_IP_PORT.
- listener_
id str - 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 - 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
- Human-readable name for the pool.
- persistence
Pool
Persistence 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, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
- 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, SOURCE_IP, or SOURCE_IP_PORT.
- listener
Id 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 - 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
- Human-readable name for the pool.
- persistence 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, HTTP, HTTPS, PROXY, UDP, PROXYV2 (Octavia minor version >= 2.22) or SCTP (Octavia minor version >= 2.23). Changing this creates a new pool.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region
argument of the provider is used. Changing this creates a new pool. - 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.
Supporting Types
PoolPersistence, PoolPersistenceArgs
- Type string
- The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
- string
- The name of the cookie if persistence mode is set
appropriately. Required if
type = APP_COOKIE
.
- Type string
- The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
- string
- The name of the cookie if persistence mode is set
appropriately. Required if
type = APP_COOKIE
.
- type String
- The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
- String
- The name of the cookie if persistence mode is set
appropriately. Required if
type = APP_COOKIE
.
- type string
- The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
- string
- The name of the cookie if persistence mode is set
appropriately. Required if
type = APP_COOKIE
.
- type str
- The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
- str
- The name of the cookie if persistence mode is set
appropriately. Required if
type = APP_COOKIE
.
- type String
- The type of persistence mode. The current specification supports SOURCE_IP, HTTP_COOKIE, and APP_COOKIE.
- String
- The name of the cookie if persistence mode is set
appropriately. Required if
type = APP_COOKIE
.
Import
Load Balancer Pool can be imported using the Pool ID, e.g.:
$ pulumi import openstack:loadbalancer/pool:Pool pool_1 60ad9ee4-249a-4d60-a45b-aa60e046c513
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.