1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. CloudLoadbalancerPool
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud

    Creates a pool in a public cloud load balancer. A pool is attached to a listener through the listener’s default_pool_id, or targeted by an L7 policy with the REDIRECT_TO_POOL action.

    Example Usage

    Basic Pool

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const pool = new ovh.CloudLoadbalancerPool("pool", {
        serviceName: "xxxxxxxxxx",
        loadbalancerId: lb.id,
        name: "my-pool",
        protocol: "HTTP",
        algorithm: "ROUND_ROBIN",
    });
    const http = new ovh.CloudLoadbalancerListener("http", {
        serviceName: "xxxxxxxxxx",
        loadbalancerId: lb.id,
        name: "http-listener",
        protocol: "HTTP",
        protocolPort: 80,
        defaultPoolId: pool.id,
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    pool = ovh.CloudLoadbalancerPool("pool",
        service_name="xxxxxxxxxx",
        loadbalancer_id=lb["id"],
        name="my-pool",
        protocol="HTTP",
        algorithm="ROUND_ROBIN")
    http = ovh.CloudLoadbalancerListener("http",
        service_name="xxxxxxxxxx",
        loadbalancer_id=lb["id"],
        name="http-listener",
        protocol="HTTP",
        protocol_port=80,
        default_pool_id=pool.id)
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		pool, err := ovh.NewCloudLoadbalancerPool(ctx, "pool", &ovh.CloudLoadbalancerPoolArgs{
    			ServiceName:    pulumi.String("xxxxxxxxxx"),
    			LoadbalancerId: pulumi.Any(lb.Id),
    			Name:           pulumi.String("my-pool"),
    			Protocol:       pulumi.String("HTTP"),
    			Algorithm:      pulumi.String("ROUND_ROBIN"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ovh.NewCloudLoadbalancerListener(ctx, "http", &ovh.CloudLoadbalancerListenerArgs{
    			ServiceName:    pulumi.String("xxxxxxxxxx"),
    			LoadbalancerId: pulumi.Any(lb.Id),
    			Name:           pulumi.String("http-listener"),
    			Protocol:       pulumi.String("HTTP"),
    			ProtocolPort:   pulumi.Int(80),
    			DefaultPoolId:  pool.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var pool = new Ovh.CloudLoadbalancerPool("pool", new()
        {
            ServiceName = "xxxxxxxxxx",
            LoadbalancerId = lb.Id,
            Name = "my-pool",
            Protocol = "HTTP",
            Algorithm = "ROUND_ROBIN",
        });
    
        var http = new Ovh.CloudLoadbalancerListener("http", new()
        {
            ServiceName = "xxxxxxxxxx",
            LoadbalancerId = lb.Id,
            Name = "http-listener",
            Protocol = "HTTP",
            ProtocolPort = 80,
            DefaultPoolId = pool.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerPool;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerPoolArgs;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerListener;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerListenerArgs;
    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 pool = new CloudLoadbalancerPool("pool", CloudLoadbalancerPoolArgs.builder()
                .serviceName("xxxxxxxxxx")
                .loadbalancerId(lb.id())
                .name("my-pool")
                .protocol("HTTP")
                .algorithm("ROUND_ROBIN")
                .build());
    
            var http = new CloudLoadbalancerListener("http", CloudLoadbalancerListenerArgs.builder()
                .serviceName("xxxxxxxxxx")
                .loadbalancerId(lb.id())
                .name("http-listener")
                .protocol("HTTP")
                .protocolPort(80)
                .defaultPoolId(pool.id())
                .build());
    
        }
    }
    
    resources:
      pool:
        type: ovh:CloudLoadbalancerPool
        properties:
          serviceName: xxxxxxxxxx
          loadbalancerId: ${lb.id}
          name: my-pool
          protocol: HTTP
          algorithm: ROUND_ROBIN
      http:
        type: ovh:CloudLoadbalancerListener
        properties:
          serviceName: xxxxxxxxxx
          loadbalancerId: ${lb.id}
          name: http-listener
          protocol: HTTP
          protocolPort: 80
          defaultPoolId: ${pool.id}
    
    Example coming soon!
    

    Pool with Session Persistence and Health Monitor

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      sticky:
        type: ovh:CloudLoadbalancerPool
        properties:
          serviceName: xxxxxxxxxx
          loadbalancerId: ${lb.id}
          name: sticky-pool
          protocol: HTTP
          algorithm: ROUND_ROBIN
          persistence:
            type: APP_COOKIE
            cookie_name: JSESSIONID
          healthMonitor:
            type: HTTP
            delay: 5
            timeout: 3
            max_retries: 3
            url_path: /healthz
            http_method: GET
            expected_codes: '200'
    
    Example coming soon!
    

    Create CloudLoadbalancerPool Resource

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

    Constructor syntax

    new CloudLoadbalancerPool(name: string, args: CloudLoadbalancerPoolArgs, opts?: CustomResourceOptions);
    @overload
    def CloudLoadbalancerPool(resource_name: str,
                              args: CloudLoadbalancerPoolArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudLoadbalancerPool(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              algorithm: Optional[str] = None,
                              loadbalancer_id: Optional[str] = None,
                              protocol: Optional[str] = None,
                              service_name: Optional[str] = None,
                              description: Optional[str] = None,
                              health_monitor: Optional[CloudLoadbalancerPoolHealthMonitorArgs] = None,
                              name: Optional[str] = None,
                              persistence: Optional[CloudLoadbalancerPoolPersistenceArgs] = None)
    func NewCloudLoadbalancerPool(ctx *Context, name string, args CloudLoadbalancerPoolArgs, opts ...ResourceOption) (*CloudLoadbalancerPool, error)
    public CloudLoadbalancerPool(string name, CloudLoadbalancerPoolArgs args, CustomResourceOptions? opts = null)
    public CloudLoadbalancerPool(String name, CloudLoadbalancerPoolArgs args)
    public CloudLoadbalancerPool(String name, CloudLoadbalancerPoolArgs args, CustomResourceOptions options)
    
    type: ovh:CloudLoadbalancerPool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_cloud_loadbalancer_pool" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudLoadbalancerPoolArgs
    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 CloudLoadbalancerPoolArgs
    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 CloudLoadbalancerPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudLoadbalancerPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudLoadbalancerPoolArgs
    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 cloudLoadbalancerPoolResource = new Ovh.CloudLoadbalancerPool("cloudLoadbalancerPoolResource", new()
    {
        Algorithm = "string",
        LoadbalancerId = "string",
        Protocol = "string",
        ServiceName = "string",
        Description = "string",
        HealthMonitor = new Ovh.Inputs.CloudLoadbalancerPoolHealthMonitorArgs
        {
            Delay = 0,
            MaxRetries = 0,
            Timeout = 0,
            Type = "string",
            DomainName = "string",
            ExpectedCodes = "string",
            HttpMethod = "string",
            HttpVersion = "string",
            MaxRetriesDown = 0,
            Name = "string",
            UrlPath = "string",
        },
        Name = "string",
        Persistence = new Ovh.Inputs.CloudLoadbalancerPoolPersistenceArgs
        {
            Type = "string",
            CookieName = "string",
        },
    });
    
    example, err := ovh.NewCloudLoadbalancerPool(ctx, "cloudLoadbalancerPoolResource", &ovh.CloudLoadbalancerPoolArgs{
    	Algorithm:      pulumi.String("string"),
    	LoadbalancerId: pulumi.String("string"),
    	Protocol:       pulumi.String("string"),
    	ServiceName:    pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	HealthMonitor: &ovh.CloudLoadbalancerPoolHealthMonitorArgs{
    		Delay:          pulumi.Int(0),
    		MaxRetries:     pulumi.Int(0),
    		Timeout:        pulumi.Int(0),
    		Type:           pulumi.String("string"),
    		DomainName:     pulumi.String("string"),
    		ExpectedCodes:  pulumi.String("string"),
    		HttpMethod:     pulumi.String("string"),
    		HttpVersion:    pulumi.String("string"),
    		MaxRetriesDown: pulumi.Int(0),
    		Name:           pulumi.String("string"),
    		UrlPath:        pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Persistence: &ovh.CloudLoadbalancerPoolPersistenceArgs{
    		Type:       pulumi.String("string"),
    		CookieName: pulumi.String("string"),
    	},
    })
    
    resource "ovh_cloud_loadbalancer_pool" "cloudLoadbalancerPoolResource" {
      lifecycle {
        create_before_destroy = true
      }
      algorithm       = "string"
      loadbalancer_id = "string"
      protocol        = "string"
      service_name    = "string"
      description     = "string"
      health_monitor = {
        delay            = 0
        max_retries      = 0
        timeout          = 0
        type             = "string"
        domain_name      = "string"
        expected_codes   = "string"
        http_method      = "string"
        http_version     = "string"
        max_retries_down = 0
        name             = "string"
        url_path         = "string"
      }
      name = "string"
      persistence = {
        type        = "string"
        cookie_name = "string"
      }
    }
    
    var cloudLoadbalancerPoolResource = new CloudLoadbalancerPool("cloudLoadbalancerPoolResource", CloudLoadbalancerPoolArgs.builder()
        .algorithm("string")
        .loadbalancerId("string")
        .protocol("string")
        .serviceName("string")
        .description("string")
        .healthMonitor(CloudLoadbalancerPoolHealthMonitorArgs.builder()
            .delay(0)
            .maxRetries(0)
            .timeout(0)
            .type("string")
            .domainName("string")
            .expectedCodes("string")
            .httpMethod("string")
            .httpVersion("string")
            .maxRetriesDown(0)
            .name("string")
            .urlPath("string")
            .build())
        .name("string")
        .persistence(CloudLoadbalancerPoolPersistenceArgs.builder()
            .type("string")
            .cookieName("string")
            .build())
        .build());
    
    cloud_loadbalancer_pool_resource = ovh.CloudLoadbalancerPool("cloudLoadbalancerPoolResource",
        algorithm="string",
        loadbalancer_id="string",
        protocol="string",
        service_name="string",
        description="string",
        health_monitor={
            "delay": 0,
            "max_retries": 0,
            "timeout": 0,
            "type": "string",
            "domain_name": "string",
            "expected_codes": "string",
            "http_method": "string",
            "http_version": "string",
            "max_retries_down": 0,
            "name": "string",
            "url_path": "string",
        },
        name="string",
        persistence={
            "type": "string",
            "cookie_name": "string",
        })
    
    const cloudLoadbalancerPoolResource = new ovh.CloudLoadbalancerPool("cloudLoadbalancerPoolResource", {
        algorithm: "string",
        loadbalancerId: "string",
        protocol: "string",
        serviceName: "string",
        description: "string",
        healthMonitor: {
            delay: 0,
            maxRetries: 0,
            timeout: 0,
            type: "string",
            domainName: "string",
            expectedCodes: "string",
            httpMethod: "string",
            httpVersion: "string",
            maxRetriesDown: 0,
            name: "string",
            urlPath: "string",
        },
        name: "string",
        persistence: {
            type: "string",
            cookieName: "string",
        },
    });
    
    type: ovh:CloudLoadbalancerPool
    properties:
        algorithm: string
        description: string
        healthMonitor:
            delay: 0
            domainName: string
            expectedCodes: string
            httpMethod: string
            httpVersion: string
            maxRetries: 0
            maxRetriesDown: 0
            name: string
            timeout: 0
            type: string
            urlPath: string
        loadbalancerId: string
        name: string
        persistence:
            cookieName: string
            type: string
        protocol: string
        serviceName: string
    

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

    Algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    Protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    Description string
    Pool description.
    HealthMonitor CloudLoadbalancerPoolHealthMonitor
    Health monitor configuration:
    Name string
    Pool name.
    Persistence CloudLoadbalancerPoolPersistence
    Session persistence configuration:
    Algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    Protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    Description string
    Pool description.
    HealthMonitor CloudLoadbalancerPoolHealthMonitorArgs
    Health monitor configuration:
    Name string
    Pool name.
    Persistence CloudLoadbalancerPoolPersistenceArgs
    Session persistence configuration:
    algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    loadbalancer_id string
    ID of the load balancer. Changing this value recreates the resource.
    protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    service_name string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    description string
    Pool description.
    health_monitor object
    Health monitor configuration:
    name string
    Pool name.
    persistence object
    Session persistence configuration:
    algorithm String
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    protocol String
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    description String
    Pool description.
    healthMonitor CloudLoadbalancerPoolHealthMonitor
    Health monitor configuration:
    name String
    Pool name.
    persistence CloudLoadbalancerPoolPersistence
    Session persistence configuration:
    algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    loadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    serviceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    description string
    Pool description.
    healthMonitor CloudLoadbalancerPoolHealthMonitor
    Health monitor configuration:
    name string
    Pool name.
    persistence CloudLoadbalancerPoolPersistence
    Session persistence configuration:
    algorithm str
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    loadbalancer_id str
    ID of the load balancer. Changing this value recreates the resource.
    protocol str
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    service_name str
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    description str
    Pool description.
    health_monitor CloudLoadbalancerPoolHealthMonitorArgs
    Health monitor configuration:
    name str
    Pool name.
    persistence CloudLoadbalancerPoolPersistenceArgs
    Session persistence configuration:
    algorithm String
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    protocol String
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    description String
    Pool description.
    healthMonitor Property Map
    Health monitor configuration:
    name String
    Pool name.
    persistence Property Map
    Session persistence configuration:

    Outputs

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

    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the pool.
    CurrentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the pool.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the pool.
    CurrentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the pool.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the pool.
    current_state object
    Current state of the pool:
    id string
    The provider-assigned unique ID for this managed resource.
    resource_status string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at string
    Last update date of the pool.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the pool.
    currentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the pool.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the pool.
    currentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    id string
    The provider-assigned unique ID for this managed resource.
    resourceStatus string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt string
    Last update date of the pool.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the pool.
    current_state CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    id str
    The provider-assigned unique ID for this managed resource.
    resource_status str
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at str
    Last update date of the pool.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the pool.
    currentState Property Map
    Current state of the pool:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the pool.

    Look up Existing CloudLoadbalancerPool Resource

    Get an existing CloudLoadbalancerPool 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?: CloudLoadbalancerPoolState, opts?: CustomResourceOptions): CloudLoadbalancerPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            algorithm: Optional[str] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            current_state: Optional[CloudLoadbalancerPoolCurrentStateArgs] = None,
            description: Optional[str] = None,
            health_monitor: Optional[CloudLoadbalancerPoolHealthMonitorArgs] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            persistence: Optional[CloudLoadbalancerPoolPersistenceArgs] = None,
            protocol: Optional[str] = None,
            resource_status: Optional[str] = None,
            service_name: Optional[str] = None,
            updated_at: Optional[str] = None) -> CloudLoadbalancerPool
    func GetCloudLoadbalancerPool(ctx *Context, name string, id IDInput, state *CloudLoadbalancerPoolState, opts ...ResourceOption) (*CloudLoadbalancerPool, error)
    public static CloudLoadbalancerPool Get(string name, Input<string> id, CloudLoadbalancerPoolState? state, CustomResourceOptions? opts = null)
    public static CloudLoadbalancerPool get(String name, Output<String> id, CloudLoadbalancerPoolState state, CustomResourceOptions options)
    resources:  _:    type: ovh:CloudLoadbalancerPool    get:      id: ${id}
    import {
      to = ovh_cloud_loadbalancer_pool.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the pool.
    CurrentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    Description string
    Pool description.
    HealthMonitor CloudLoadbalancerPoolHealthMonitor
    Health monitor configuration:
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    Name string
    Pool name.
    Persistence CloudLoadbalancerPoolPersistence
    Session persistence configuration:
    Protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    ResourceStatus string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the pool.
    Algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the pool.
    CurrentState CloudLoadbalancerPoolCurrentStateArgs
    Current state of the pool:
    Description string
    Pool description.
    HealthMonitor CloudLoadbalancerPoolHealthMonitorArgs
    Health monitor configuration:
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    Name string
    Pool name.
    Persistence CloudLoadbalancerPoolPersistenceArgs
    Session persistence configuration:
    Protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    ResourceStatus string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the pool.
    algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the pool.
    current_state object
    Current state of the pool:
    description string
    Pool description.
    health_monitor object
    Health monitor configuration:
    loadbalancer_id string
    ID of the load balancer. Changing this value recreates the resource.
    name string
    Pool name.
    persistence object
    Session persistence configuration:
    protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    resource_status string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    updated_at string
    Last update date of the pool.
    algorithm String
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the pool.
    currentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    description String
    Pool description.
    healthMonitor CloudLoadbalancerPoolHealthMonitor
    Health monitor configuration:
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    name String
    Pool name.
    persistence CloudLoadbalancerPoolPersistence
    Session persistence configuration:
    protocol String
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    resourceStatus String
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    updatedAt String
    Last update date of the pool.
    algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the pool.
    currentState CloudLoadbalancerPoolCurrentState
    Current state of the pool:
    description string
    Pool description.
    healthMonitor CloudLoadbalancerPoolHealthMonitor
    Health monitor configuration:
    loadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    name string
    Pool name.
    persistence CloudLoadbalancerPoolPersistence
    Session persistence configuration:
    protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    resourceStatus string
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    updatedAt string
    Last update date of the pool.
    algorithm str
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the pool.
    current_state CloudLoadbalancerPoolCurrentStateArgs
    Current state of the pool:
    description str
    Pool description.
    health_monitor CloudLoadbalancerPoolHealthMonitorArgs
    Health monitor configuration:
    loadbalancer_id str
    ID of the load balancer. Changing this value recreates the resource.
    name str
    Pool name.
    persistence CloudLoadbalancerPoolPersistenceArgs
    Session persistence configuration:
    protocol str
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    resource_status str
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name str
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    updated_at str
    Last update date of the pool.
    algorithm String
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the pool.
    currentState Property Map
    Current state of the pool:
    description String
    Pool description.
    healthMonitor Property Map
    Health monitor configuration:
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    name String
    Pool name.
    persistence Property Map
    Session persistence configuration:
    protocol String
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    resourceStatus String
    Pool readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    updatedAt String
    Last update date of the pool.

    Supporting Types

    CloudLoadbalancerPoolCurrentState, CloudLoadbalancerPoolCurrentStateArgs

    Algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    Description string
    Pool description.
    HealthMonitor CloudLoadbalancerPoolCurrentStateHealthMonitor
    Health monitor configuration:
    Name string
    Pool name.
    OperatingStatus string
    Operating status of the pool.
    Persistence CloudLoadbalancerPoolCurrentStatePersistence
    Session persistence configuration:
    Protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    ProvisioningStatus string
    Provisioning status of the pool.
    Algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    Description string
    Pool description.
    HealthMonitor CloudLoadbalancerPoolCurrentStateHealthMonitor
    Health monitor configuration:
    Name string
    Pool name.
    OperatingStatus string
    Operating status of the pool.
    Persistence CloudLoadbalancerPoolCurrentStatePersistence
    Session persistence configuration:
    Protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    ProvisioningStatus string
    Provisioning status of the pool.
    algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    description string
    Pool description.
    health_monitor object
    Health monitor configuration:
    name string
    Pool name.
    operating_status string
    Operating status of the pool.
    persistence object
    Session persistence configuration:
    protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    provisioning_status string
    Provisioning status of the pool.
    algorithm String
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    description String
    Pool description.
    healthMonitor CloudLoadbalancerPoolCurrentStateHealthMonitor
    Health monitor configuration:
    name String
    Pool name.
    operatingStatus String
    Operating status of the pool.
    persistence CloudLoadbalancerPoolCurrentStatePersistence
    Session persistence configuration:
    protocol String
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    provisioningStatus String
    Provisioning status of the pool.
    algorithm string
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    description string
    Pool description.
    healthMonitor CloudLoadbalancerPoolCurrentStateHealthMonitor
    Health monitor configuration:
    name string
    Pool name.
    operatingStatus string
    Operating status of the pool.
    persistence CloudLoadbalancerPoolCurrentStatePersistence
    Session persistence configuration:
    protocol string
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    provisioningStatus string
    Provisioning status of the pool.
    algorithm str
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    description str
    Pool description.
    health_monitor CloudLoadbalancerPoolCurrentStateHealthMonitor
    Health monitor configuration:
    name str
    Pool name.
    operating_status str
    Operating status of the pool.
    persistence CloudLoadbalancerPoolCurrentStatePersistence
    Session persistence configuration:
    protocol str
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    provisioning_status str
    Provisioning status of the pool.
    algorithm String
    Load balancing algorithm (LEAST_CONNECTIONS, ROUND_ROBIN, SOURCE_IP). SOURCE_IP_PORT is not accepted: it is implemented by the OVN provider of Octavia only, which is not enabled on OVHcloud Public Cloud.
    description String
    Pool description.
    healthMonitor Property Map
    Health monitor configuration:
    name String
    Pool name.
    operatingStatus String
    Operating status of the pool.
    persistence Property Map
    Session persistence configuration:
    protocol String
    Protocol used by the pool (HTTP, HTTPS, PROXY, PROXYV2, SCTP, TCP, UDP). Changing this value recreates the resource.
    provisioningStatus String
    Provisioning status of the pool.

    CloudLoadbalancerPoolCurrentStateHealthMonitor, CloudLoadbalancerPoolCurrentStateHealthMonitorArgs

    Delay int
    Seconds between health checks.
    DomainName string
    Domain name for health check requests.
    ExpectedCodes string
    Expected HTTP response codes (e.g. 200, 200-202).
    HttpMethod string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    HttpVersion string
    HTTP version for health checks (1.0 or 1.1).
    Id string
    Health monitor ID.
    MaxRetries int
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    MaxRetriesDown int
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    Name string
    Health monitor name.
    OperatingStatus string
    Operating status of the pool.
    ProvisioningStatus string
    Provisioning status of the pool.
    Timeout int
    Seconds to wait for a health check response.
    Type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    UrlPath string
    URL path for HTTP/HTTPS health checks.
    Delay int
    Seconds between health checks.
    DomainName string
    Domain name for health check requests.
    ExpectedCodes string
    Expected HTTP response codes (e.g. 200, 200-202).
    HttpMethod string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    HttpVersion string
    HTTP version for health checks (1.0 or 1.1).
    Id string
    Health monitor ID.
    MaxRetries int
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    MaxRetriesDown int
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    Name string
    Health monitor name.
    OperatingStatus string
    Operating status of the pool.
    ProvisioningStatus string
    Provisioning status of the pool.
    Timeout int
    Seconds to wait for a health check response.
    Type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    UrlPath string
    URL path for HTTP/HTTPS health checks.
    delay number
    Seconds between health checks.
    domain_name string
    Domain name for health check requests.
    expected_codes string
    Expected HTTP response codes (e.g. 200, 200-202).
    http_method string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    http_version string
    HTTP version for health checks (1.0 or 1.1).
    id string
    Health monitor ID.
    max_retries number
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    max_retries_down number
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name string
    Health monitor name.
    operating_status string
    Operating status of the pool.
    provisioning_status string
    Provisioning status of the pool.
    timeout number
    Seconds to wait for a health check response.
    type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    url_path string
    URL path for HTTP/HTTPS health checks.
    delay Integer
    Seconds between health checks.
    domainName String
    Domain name for health check requests.
    expectedCodes String
    Expected HTTP response codes (e.g. 200, 200-202).
    httpMethod String
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    httpVersion String
    HTTP version for health checks (1.0 or 1.1).
    id String
    Health monitor ID.
    maxRetries Integer
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    maxRetriesDown Integer
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name String
    Health monitor name.
    operatingStatus String
    Operating status of the pool.
    provisioningStatus String
    Provisioning status of the pool.
    timeout Integer
    Seconds to wait for a health check response.
    type String
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    urlPath String
    URL path for HTTP/HTTPS health checks.
    delay number
    Seconds between health checks.
    domainName string
    Domain name for health check requests.
    expectedCodes string
    Expected HTTP response codes (e.g. 200, 200-202).
    httpMethod string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    httpVersion string
    HTTP version for health checks (1.0 or 1.1).
    id string
    Health monitor ID.
    maxRetries number
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    maxRetriesDown number
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name string
    Health monitor name.
    operatingStatus string
    Operating status of the pool.
    provisioningStatus string
    Provisioning status of the pool.
    timeout number
    Seconds to wait for a health check response.
    type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    urlPath string
    URL path for HTTP/HTTPS health checks.
    delay int
    Seconds between health checks.
    domain_name str
    Domain name for health check requests.
    expected_codes str
    Expected HTTP response codes (e.g. 200, 200-202).
    http_method str
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    http_version str
    HTTP version for health checks (1.0 or 1.1).
    id str
    Health monitor ID.
    max_retries int
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    max_retries_down int
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name str
    Health monitor name.
    operating_status str
    Operating status of the pool.
    provisioning_status str
    Provisioning status of the pool.
    timeout int
    Seconds to wait for a health check response.
    type str
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    url_path str
    URL path for HTTP/HTTPS health checks.
    delay Number
    Seconds between health checks.
    domainName String
    Domain name for health check requests.
    expectedCodes String
    Expected HTTP response codes (e.g. 200, 200-202).
    httpMethod String
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    httpVersion String
    HTTP version for health checks (1.0 or 1.1).
    id String
    Health monitor ID.
    maxRetries Number
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    maxRetriesDown Number
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name String
    Health monitor name.
    operatingStatus String
    Operating status of the pool.
    provisioningStatus String
    Provisioning status of the pool.
    timeout Number
    Seconds to wait for a health check response.
    type String
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    urlPath String
    URL path for HTTP/HTTPS health checks.

    CloudLoadbalancerPoolCurrentStatePersistence, CloudLoadbalancerPoolCurrentStatePersistenceArgs

    CookieName string
    Cookie name for APP_COOKIE persistence type.
    Type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    CookieName string
    Cookie name for APP_COOKIE persistence type.
    Type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookie_name string
    Cookie name for APP_COOKIE persistence type.
    type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookieName String
    Cookie name for APP_COOKIE persistence type.
    type String
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookieName string
    Cookie name for APP_COOKIE persistence type.
    type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookie_name str
    Cookie name for APP_COOKIE persistence type.
    type str
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookieName String
    Cookie name for APP_COOKIE persistence type.
    type String
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).

    CloudLoadbalancerPoolHealthMonitor, CloudLoadbalancerPoolHealthMonitorArgs

    Delay int
    Seconds between health checks.
    MaxRetries int
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    Timeout int
    Seconds to wait for a health check response.
    Type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    DomainName string
    Domain name for health check requests.
    ExpectedCodes string
    Expected HTTP response codes (e.g. 200, 200-202).
    HttpMethod string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    HttpVersion string
    HTTP version for health checks (1.0 or 1.1).
    MaxRetriesDown int
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    Name string
    Health monitor name.
    UrlPath string
    URL path for HTTP/HTTPS health checks.
    Delay int
    Seconds between health checks.
    MaxRetries int
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    Timeout int
    Seconds to wait for a health check response.
    Type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    DomainName string
    Domain name for health check requests.
    ExpectedCodes string
    Expected HTTP response codes (e.g. 200, 200-202).
    HttpMethod string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    HttpVersion string
    HTTP version for health checks (1.0 or 1.1).
    MaxRetriesDown int
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    Name string
    Health monitor name.
    UrlPath string
    URL path for HTTP/HTTPS health checks.
    delay number
    Seconds between health checks.
    max_retries number
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    timeout number
    Seconds to wait for a health check response.
    type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    domain_name string
    Domain name for health check requests.
    expected_codes string
    Expected HTTP response codes (e.g. 200, 200-202).
    http_method string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    http_version string
    HTTP version for health checks (1.0 or 1.1).
    max_retries_down number
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name string
    Health monitor name.
    url_path string
    URL path for HTTP/HTTPS health checks.
    delay Integer
    Seconds between health checks.
    maxRetries Integer
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    timeout Integer
    Seconds to wait for a health check response.
    type String
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    domainName String
    Domain name for health check requests.
    expectedCodes String
    Expected HTTP response codes (e.g. 200, 200-202).
    httpMethod String
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    httpVersion String
    HTTP version for health checks (1.0 or 1.1).
    maxRetriesDown Integer
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name String
    Health monitor name.
    urlPath String
    URL path for HTTP/HTTPS health checks.
    delay number
    Seconds between health checks.
    maxRetries number
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    timeout number
    Seconds to wait for a health check response.
    type string
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    domainName string
    Domain name for health check requests.
    expectedCodes string
    Expected HTTP response codes (e.g. 200, 200-202).
    httpMethod string
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    httpVersion string
    HTTP version for health checks (1.0 or 1.1).
    maxRetriesDown number
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name string
    Health monitor name.
    urlPath string
    URL path for HTTP/HTTPS health checks.
    delay int
    Seconds between health checks.
    max_retries int
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    timeout int
    Seconds to wait for a health check response.
    type str
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    domain_name str
    Domain name for health check requests.
    expected_codes str
    Expected HTTP response codes (e.g. 200, 200-202).
    http_method str
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    http_version str
    HTTP version for health checks (1.0 or 1.1).
    max_retries_down int
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name str
    Health monitor name.
    url_path str
    URL path for HTTP/HTTPS health checks.
    delay Number
    Seconds between health checks.
    maxRetries Number
    Number of consecutive health check failures before marking a member as unhealthy (1-10).
    timeout Number
    Seconds to wait for a health check response.
    type String
    Health monitor type (HTTP, HTTPS, PING, TCP, UDP_CONNECT, SCTP, TLS_HELLO). Changing this value recreates the resource.
    domainName String
    Domain name for health check requests.
    expectedCodes String
    Expected HTTP response codes (e.g. 200, 200-202).
    httpMethod String
    HTTP method for health checks (GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE).
    httpVersion String
    HTTP version for health checks (1.0 or 1.1).
    maxRetriesDown Number
    Number of consecutive health check failures before marking a member as ERROR (1-10).
    name String
    Health monitor name.
    urlPath String
    URL path for HTTP/HTTPS health checks.

    CloudLoadbalancerPoolPersistence, CloudLoadbalancerPoolPersistenceArgs

    Type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    CookieName string
    Cookie name for APP_COOKIE persistence type.
    Type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    CookieName string
    Cookie name for APP_COOKIE persistence type.
    type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookie_name string
    Cookie name for APP_COOKIE persistence type.
    type String
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookieName String
    Cookie name for APP_COOKIE persistence type.
    type string
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookieName string
    Cookie name for APP_COOKIE persistence type.
    type str
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookie_name str
    Cookie name for APP_COOKIE persistence type.
    type String
    Session persistence type (APP_COOKIE, HTTP_COOKIE, SOURCE_IP).
    cookieName String
    Cookie name for APP_COOKIE persistence type.

    Import

    A cloud load balancer pool can be imported using the service_name, loadbalancer_id, and pool_id, separated by /:

    terraform

    import {

    to = ovh_cloud_loadbalancer_pool.pool

    id = “<service_name>/<loadbalancer_id>/<pool_id>”

    }

    bash

    $ pulumi import ovh:index/cloudLoadbalancerPool:CloudLoadbalancerPool pool service_name/loadbalancer_id/pool_id
    

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

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.21.0
    published on Friday, Sep 25, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial