1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. CloudLoadbalancerPoolMember
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 member in a pool of a public cloud load balancer.

    Example Usage

    Basic Member

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const web1 = new ovh.CloudLoadbalancerPoolMember("web1", {
        serviceName: "xxxxxxxxxx",
        loadbalancerId: lb.id,
        poolId: pool.id,
        name: "web-1",
        address: "10.0.0.11",
        protocolPort: 8080,
        subnetId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    web1 = ovh.CloudLoadbalancerPoolMember("web1",
        service_name="xxxxxxxxxx",
        loadbalancer_id=lb["id"],
        pool_id=pool["id"],
        name="web-1",
        address="10.0.0.11",
        protocol_port=8080,
        subnet_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
    
    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 {
    		_, err := ovh.NewCloudLoadbalancerPoolMember(ctx, "web1", &ovh.CloudLoadbalancerPoolMemberArgs{
    			ServiceName:    pulumi.String("xxxxxxxxxx"),
    			LoadbalancerId: pulumi.Any(lb.Id),
    			PoolId:         pulumi.Any(pool.Id),
    			Name:           pulumi.String("web-1"),
    			Address:        pulumi.String("10.0.0.11"),
    			ProtocolPort:   pulumi.Int(8080),
    			SubnetId:       pulumi.String("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
    		})
    		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 web1 = new Ovh.CloudLoadbalancerPoolMember("web1", new()
        {
            ServiceName = "xxxxxxxxxx",
            LoadbalancerId = lb.Id,
            PoolId = pool.Id,
            Name = "web-1",
            Address = "10.0.0.11",
            ProtocolPort = 8080,
            SubnetId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerPoolMember;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerPoolMemberArgs;
    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 web1 = new CloudLoadbalancerPoolMember("web1", CloudLoadbalancerPoolMemberArgs.builder()
                .serviceName("xxxxxxxxxx")
                .loadbalancerId(lb.id())
                .poolId(pool.id())
                .name("web-1")
                .address("10.0.0.11")
                .protocolPort(8080)
                .subnetId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
                .build());
    
        }
    }
    
    resources:
      web1:
        type: ovh:CloudLoadbalancerPoolMember
        properties:
          serviceName: xxxxxxxxxx
          loadbalancerId: ${lb.id}
          poolId: ${pool.id}
          name: web-1
          address: 10.0.0.11
          protocolPort: 8080
          subnetId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    
    Example coming soon!
    

    Weighted Backup Member with Monitor Override

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const webBackup = new ovh.CloudLoadbalancerPoolMember("web_backup", {
        serviceName: "xxxxxxxxxx",
        loadbalancerId: lb.id,
        poolId: pool.id,
        name: "web-backup",
        address: "10.0.0.20",
        protocolPort: 8080,
        weight: 10,
        backup: true,
        monitor: {
            address: "10.0.0.20",
            port: 9090,
        },
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    web_backup = ovh.CloudLoadbalancerPoolMember("web_backup",
        service_name="xxxxxxxxxx",
        loadbalancer_id=lb["id"],
        pool_id=pool["id"],
        name="web-backup",
        address="10.0.0.20",
        protocol_port=8080,
        weight=10,
        backup=True,
        monitor={
            "address": "10.0.0.20",
            "port": 9090,
        })
    
    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 {
    		_, err := ovh.NewCloudLoadbalancerPoolMember(ctx, "web_backup", &ovh.CloudLoadbalancerPoolMemberArgs{
    			ServiceName:    pulumi.String("xxxxxxxxxx"),
    			LoadbalancerId: pulumi.Any(lb.Id),
    			PoolId:         pulumi.Any(pool.Id),
    			Name:           pulumi.String("web-backup"),
    			Address:        pulumi.String("10.0.0.20"),
    			ProtocolPort:   pulumi.Int(8080),
    			Weight:         pulumi.Int(10),
    			Backup:         pulumi.Bool(true),
    			Monitor: &ovh.CloudLoadbalancerPoolMemberMonitorArgs{
    				Address: pulumi.String("10.0.0.20"),
    				Port:    pulumi.Int(9090),
    			},
    		})
    		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 webBackup = new Ovh.CloudLoadbalancerPoolMember("web_backup", new()
        {
            ServiceName = "xxxxxxxxxx",
            LoadbalancerId = lb.Id,
            PoolId = pool.Id,
            Name = "web-backup",
            Address = "10.0.0.20",
            ProtocolPort = 8080,
            Weight = 10,
            Backup = true,
            Monitor = new Ovh.Inputs.CloudLoadbalancerPoolMemberMonitorArgs
            {
                Address = "10.0.0.20",
                Port = 9090,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerPoolMember;
    import com.ovhcloud.pulumi.ovh.CloudLoadbalancerPoolMemberArgs;
    import com.pulumi.ovh.inputs.CloudLoadbalancerPoolMemberMonitorArgs;
    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 webBackup = new CloudLoadbalancerPoolMember("webBackup", CloudLoadbalancerPoolMemberArgs.builder()
                .serviceName("xxxxxxxxxx")
                .loadbalancerId(lb.id())
                .poolId(pool.id())
                .name("web-backup")
                .address("10.0.0.20")
                .protocolPort(8080)
                .weight(10)
                .backup(true)
                .monitor(CloudLoadbalancerPoolMemberMonitorArgs.builder()
                    .address("10.0.0.20")
                    .port(9090)
                    .build())
                .build());
    
        }
    }
    
    resources:
      webBackup:
        type: ovh:CloudLoadbalancerPoolMember
        name: web_backup
        properties:
          serviceName: xxxxxxxxxx
          loadbalancerId: ${lb.id}
          poolId: ${pool.id}
          name: web-backup
          address: 10.0.0.20
          protocolPort: 8080
          weight: 10
          backup: true
          monitor:
            address: 10.0.0.20
            port: 9090
    
    Example coming soon!
    

    Create CloudLoadbalancerPoolMember Resource

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

    Constructor syntax

    new CloudLoadbalancerPoolMember(name: string, args: CloudLoadbalancerPoolMemberArgs, opts?: CustomResourceOptions);
    @overload
    def CloudLoadbalancerPoolMember(resource_name: str,
                                    args: CloudLoadbalancerPoolMemberArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudLoadbalancerPoolMember(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    address: Optional[str] = None,
                                    loadbalancer_id: Optional[str] = None,
                                    pool_id: Optional[str] = None,
                                    protocol_port: Optional[int] = None,
                                    service_name: Optional[str] = None,
                                    backup: Optional[bool] = None,
                                    monitor: Optional[CloudLoadbalancerPoolMemberMonitorArgs] = None,
                                    name: Optional[str] = None,
                                    subnet_id: Optional[str] = None,
                                    weight: Optional[int] = None)
    func NewCloudLoadbalancerPoolMember(ctx *Context, name string, args CloudLoadbalancerPoolMemberArgs, opts ...ResourceOption) (*CloudLoadbalancerPoolMember, error)
    public CloudLoadbalancerPoolMember(string name, CloudLoadbalancerPoolMemberArgs args, CustomResourceOptions? opts = null)
    public CloudLoadbalancerPoolMember(String name, CloudLoadbalancerPoolMemberArgs args)
    public CloudLoadbalancerPoolMember(String name, CloudLoadbalancerPoolMemberArgs args, CustomResourceOptions options)
    
    type: ovh:CloudLoadbalancerPoolMember
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_cloud_loadbalancer_pool_member" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudLoadbalancerPoolMemberArgs
    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 CloudLoadbalancerPoolMemberArgs
    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 CloudLoadbalancerPoolMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudLoadbalancerPoolMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudLoadbalancerPoolMemberArgs
    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 cloudLoadbalancerPoolMemberResource = new Ovh.CloudLoadbalancerPoolMember("cloudLoadbalancerPoolMemberResource", new()
    {
        Address = "string",
        LoadbalancerId = "string",
        PoolId = "string",
        ProtocolPort = 0,
        ServiceName = "string",
        Backup = false,
        Monitor = new Ovh.Inputs.CloudLoadbalancerPoolMemberMonitorArgs
        {
            Address = "string",
            Port = 0,
        },
        Name = "string",
        SubnetId = "string",
        Weight = 0,
    });
    
    example, err := ovh.NewCloudLoadbalancerPoolMember(ctx, "cloudLoadbalancerPoolMemberResource", &ovh.CloudLoadbalancerPoolMemberArgs{
    	Address:        pulumi.String("string"),
    	LoadbalancerId: pulumi.String("string"),
    	PoolId:         pulumi.String("string"),
    	ProtocolPort:   pulumi.Int(0),
    	ServiceName:    pulumi.String("string"),
    	Backup:         pulumi.Bool(false),
    	Monitor: &ovh.CloudLoadbalancerPoolMemberMonitorArgs{
    		Address: pulumi.String("string"),
    		Port:    pulumi.Int(0),
    	},
    	Name:     pulumi.String("string"),
    	SubnetId: pulumi.String("string"),
    	Weight:   pulumi.Int(0),
    })
    
    resource "ovh_cloud_loadbalancer_pool_member" "cloudLoadbalancerPoolMemberResource" {
      lifecycle {
        create_before_destroy = true
      }
      address         = "string"
      loadbalancer_id = "string"
      pool_id         = "string"
      protocol_port   = 0
      service_name    = "string"
      backup          = false
      monitor = {
        address = "string"
        port    = 0
      }
      name      = "string"
      subnet_id = "string"
      weight    = 0
    }
    
    var cloudLoadbalancerPoolMemberResource = new CloudLoadbalancerPoolMember("cloudLoadbalancerPoolMemberResource", CloudLoadbalancerPoolMemberArgs.builder()
        .address("string")
        .loadbalancerId("string")
        .poolId("string")
        .protocolPort(0)
        .serviceName("string")
        .backup(false)
        .monitor(CloudLoadbalancerPoolMemberMonitorArgs.builder()
            .address("string")
            .port(0)
            .build())
        .name("string")
        .subnetId("string")
        .weight(0)
        .build());
    
    cloud_loadbalancer_pool_member_resource = ovh.CloudLoadbalancerPoolMember("cloudLoadbalancerPoolMemberResource",
        address="string",
        loadbalancer_id="string",
        pool_id="string",
        protocol_port=0,
        service_name="string",
        backup=False,
        monitor={
            "address": "string",
            "port": 0,
        },
        name="string",
        subnet_id="string",
        weight=0)
    
    const cloudLoadbalancerPoolMemberResource = new ovh.CloudLoadbalancerPoolMember("cloudLoadbalancerPoolMemberResource", {
        address: "string",
        loadbalancerId: "string",
        poolId: "string",
        protocolPort: 0,
        serviceName: "string",
        backup: false,
        monitor: {
            address: "string",
            port: 0,
        },
        name: "string",
        subnetId: "string",
        weight: 0,
    });
    
    type: ovh:CloudLoadbalancerPoolMember
    properties:
        address: string
        backup: false
        loadbalancerId: string
        monitor:
            address: string
            port: 0
        name: string
        poolId: string
        protocolPort: 0
        serviceName: string
        subnetId: string
        weight: 0
    

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

    Address string
    IP address of the member. Changing this value recreates the resource.
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    PoolId string
    ID of the pool. Changing this value recreates the resource.
    ProtocolPort int
    Port used by the member to receive traffic. 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.
    Backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    Monitor CloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override for this member:
    Name string
    Member name.
    SubnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    Weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    Address string
    IP address of the member. Changing this value recreates the resource.
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    PoolId string
    ID of the pool. Changing this value recreates the resource.
    ProtocolPort int
    Port used by the member to receive traffic. 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.
    Backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    Monitor CloudLoadbalancerPoolMemberMonitorArgs
    Health monitor address and port override for this member:
    Name string
    Member name.
    SubnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    Weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address string
    IP address of the member. Changing this value recreates the resource.
    loadbalancer_id string
    ID of the load balancer. Changing this value recreates the resource.
    pool_id string
    ID of the pool. Changing this value recreates the resource.
    protocol_port number
    Port used by the member to receive traffic. 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.
    backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor object
    Health monitor address and port override for this member:
    name string
    Member name.
    subnet_id string
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address String
    IP address of the member. Changing this value recreates the resource.
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    poolId String
    ID of the pool. Changing this value recreates the resource.
    protocolPort Integer
    Port used by the member to receive traffic. 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.
    backup Boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor CloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override for this member:
    name String
    Member name.
    subnetId String
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight Integer
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address string
    IP address of the member. Changing this value recreates the resource.
    loadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    poolId string
    ID of the pool. Changing this value recreates the resource.
    protocolPort number
    Port used by the member to receive traffic. 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.
    backup boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor CloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override for this member:
    name string
    Member name.
    subnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address str
    IP address of the member. Changing this value recreates the resource.
    loadbalancer_id str
    ID of the load balancer. Changing this value recreates the resource.
    pool_id str
    ID of the pool. Changing this value recreates the resource.
    protocol_port int
    Port used by the member to receive traffic. 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.
    backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor CloudLoadbalancerPoolMemberMonitorArgs
    Health monitor address and port override for this member:
    name str
    Member name.
    subnet_id str
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address String
    IP address of the member. Changing this value recreates the resource.
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    poolId String
    ID of the pool. Changing this value recreates the resource.
    protocolPort Number
    Port used by the member to receive traffic. 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.
    backup Boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor Property Map
    Health monitor address and port override for this member:
    name String
    Member name.
    subnetId String
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight Number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.

    Outputs

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

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

    Look up Existing CloudLoadbalancerPoolMember Resource

    Get an existing CloudLoadbalancerPoolMember 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?: CloudLoadbalancerPoolMemberState, opts?: CustomResourceOptions): CloudLoadbalancerPoolMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            backup: Optional[bool] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            current_state: Optional[CloudLoadbalancerPoolMemberCurrentStateArgs] = None,
            loadbalancer_id: Optional[str] = None,
            monitor: Optional[CloudLoadbalancerPoolMemberMonitorArgs] = None,
            name: Optional[str] = None,
            pool_id: Optional[str] = None,
            protocol_port: Optional[int] = None,
            resource_status: Optional[str] = None,
            service_name: Optional[str] = None,
            subnet_id: Optional[str] = None,
            updated_at: Optional[str] = None,
            weight: Optional[int] = None) -> CloudLoadbalancerPoolMember
    func GetCloudLoadbalancerPoolMember(ctx *Context, name string, id IDInput, state *CloudLoadbalancerPoolMemberState, opts ...ResourceOption) (*CloudLoadbalancerPoolMember, error)
    public static CloudLoadbalancerPoolMember Get(string name, Input<string> id, CloudLoadbalancerPoolMemberState? state, CustomResourceOptions? opts = null)
    public static CloudLoadbalancerPoolMember get(String name, Output<String> id, CloudLoadbalancerPoolMemberState state, CustomResourceOptions options)
    resources:  _:    type: ovh:CloudLoadbalancerPoolMember    get:      id: ${id}
    import {
      to = ovh_cloud_loadbalancer_pool_member.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:
    Address string
    IP address of the member. Changing this value recreates the resource.
    Backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the member.
    CurrentState CloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    Monitor CloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override for this member:
    Name string
    Member name.
    PoolId string
    ID of the pool. Changing this value recreates the resource.
    ProtocolPort int
    Port used by the member to receive traffic. Changing this value recreates the resource.
    ResourceStatus string
    Member 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.
    SubnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the member.
    Weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    Address string
    IP address of the member. Changing this value recreates the resource.
    Backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the member.
    CurrentState CloudLoadbalancerPoolMemberCurrentStateArgs
    Current state of the member:
    LoadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    Monitor CloudLoadbalancerPoolMemberMonitorArgs
    Health monitor address and port override for this member:
    Name string
    Member name.
    PoolId string
    ID of the pool. Changing this value recreates the resource.
    ProtocolPort int
    Port used by the member to receive traffic. Changing this value recreates the resource.
    ResourceStatus string
    Member 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.
    SubnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the member.
    Weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address string
    IP address of the member. Changing this value recreates the resource.
    backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the member.
    current_state object
    Current state of the member:
    loadbalancer_id string
    ID of the load balancer. Changing this value recreates the resource.
    monitor object
    Health monitor address and port override for this member:
    name string
    Member name.
    pool_id string
    ID of the pool. Changing this value recreates the resource.
    protocol_port number
    Port used by the member to receive traffic. Changing this value recreates the resource.
    resource_status string
    Member 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.
    subnet_id string
    ID of the subnet the member is in. Changing this value recreates the resource.
    updated_at string
    Last update date of the member.
    weight number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address String
    IP address of the member. Changing this value recreates the resource.
    backup Boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the member.
    currentState CloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    monitor CloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override for this member:
    name String
    Member name.
    poolId String
    ID of the pool. Changing this value recreates the resource.
    protocolPort Integer
    Port used by the member to receive traffic. Changing this value recreates the resource.
    resourceStatus String
    Member 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.
    subnetId String
    ID of the subnet the member is in. Changing this value recreates the resource.
    updatedAt String
    Last update date of the member.
    weight Integer
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address string
    IP address of the member. Changing this value recreates the resource.
    backup boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the member.
    currentState CloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    loadbalancerId string
    ID of the load balancer. Changing this value recreates the resource.
    monitor CloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override for this member:
    name string
    Member name.
    poolId string
    ID of the pool. Changing this value recreates the resource.
    protocolPort number
    Port used by the member to receive traffic. Changing this value recreates the resource.
    resourceStatus string
    Member 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.
    subnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    updatedAt string
    Last update date of the member.
    weight number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address str
    IP address of the member. Changing this value recreates the resource.
    backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the member.
    current_state CloudLoadbalancerPoolMemberCurrentStateArgs
    Current state of the member:
    loadbalancer_id str
    ID of the load balancer. Changing this value recreates the resource.
    monitor CloudLoadbalancerPoolMemberMonitorArgs
    Health monitor address and port override for this member:
    name str
    Member name.
    pool_id str
    ID of the pool. Changing this value recreates the resource.
    protocol_port int
    Port used by the member to receive traffic. Changing this value recreates the resource.
    resource_status str
    Member 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.
    subnet_id str
    ID of the subnet the member is in. Changing this value recreates the resource.
    updated_at str
    Last update date of the member.
    weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address String
    IP address of the member. Changing this value recreates the resource.
    backup Boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the member.
    currentState Property Map
    Current state of the member:
    loadbalancerId String
    ID of the load balancer. Changing this value recreates the resource.
    monitor Property Map
    Health monitor address and port override for this member:
    name String
    Member name.
    poolId String
    ID of the pool. Changing this value recreates the resource.
    protocolPort Number
    Port used by the member to receive traffic. Changing this value recreates the resource.
    resourceStatus String
    Member 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.
    subnetId String
    ID of the subnet the member is in. Changing this value recreates the resource.
    updatedAt String
    Last update date of the member.
    weight Number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.

    Supporting Types

    CloudLoadbalancerPoolMemberCurrentState, CloudLoadbalancerPoolMemberCurrentStateArgs

    Address string
    IP address of the member. Changing this value recreates the resource.
    Backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    Monitor CloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override for this member:
    Name string
    Member name.
    OperatingStatus string
    Operating status of the member.
    ProtocolPort int
    Port used by the member to receive traffic. Changing this value recreates the resource.
    ProvisioningStatus string
    Provisioning status of the member.
    SubnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    Weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    Address string
    IP address of the member. Changing this value recreates the resource.
    Backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    Monitor CloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override for this member:
    Name string
    Member name.
    OperatingStatus string
    Operating status of the member.
    ProtocolPort int
    Port used by the member to receive traffic. Changing this value recreates the resource.
    ProvisioningStatus string
    Provisioning status of the member.
    SubnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    Weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address string
    IP address of the member. Changing this value recreates the resource.
    backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor object
    Health monitor address and port override for this member:
    name string
    Member name.
    operating_status string
    Operating status of the member.
    protocol_port number
    Port used by the member to receive traffic. Changing this value recreates the resource.
    provisioning_status string
    Provisioning status of the member.
    subnet_id string
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address String
    IP address of the member. Changing this value recreates the resource.
    backup Boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor CloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override for this member:
    name String
    Member name.
    operatingStatus String
    Operating status of the member.
    protocolPort Integer
    Port used by the member to receive traffic. Changing this value recreates the resource.
    provisioningStatus String
    Provisioning status of the member.
    subnetId String
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight Integer
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address string
    IP address of the member. Changing this value recreates the resource.
    backup boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor CloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override for this member:
    name string
    Member name.
    operatingStatus string
    Operating status of the member.
    protocolPort number
    Port used by the member to receive traffic. Changing this value recreates the resource.
    provisioningStatus string
    Provisioning status of the member.
    subnetId string
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address str
    IP address of the member. Changing this value recreates the resource.
    backup bool
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor CloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override for this member:
    name str
    Member name.
    operating_status str
    Operating status of the member.
    protocol_port int
    Port used by the member to receive traffic. Changing this value recreates the resource.
    provisioning_status str
    Provisioning status of the member.
    subnet_id str
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight int
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.
    address String
    IP address of the member. Changing this value recreates the resource.
    backup Boolean
    When true, the member is a backup member and only receives traffic when all non-backup members are down. If omitted, the value assigned by the API is stored in the state.
    monitor Property Map
    Health monitor address and port override for this member:
    name String
    Member name.
    operatingStatus String
    Operating status of the member.
    protocolPort Number
    Port used by the member to receive traffic. Changing this value recreates the resource.
    provisioningStatus String
    Provisioning status of the member.
    subnetId String
    ID of the subnet the member is in. Changing this value recreates the resource.
    weight Number
    Weight of the member in the pool (0-256). A higher weight receives more traffic. If omitted, the value assigned by the API is stored in the state.

    CloudLoadbalancerPoolMemberCurrentStateMonitor, CloudLoadbalancerPoolMemberCurrentStateMonitorArgs

    Address string
    IP address used by the health monitor for this member.
    Port int
    Port used by the health monitor for this member.
    Address string
    IP address used by the health monitor for this member.
    Port int
    Port used by the health monitor for this member.
    address string
    IP address used by the health monitor for this member.
    port number
    Port used by the health monitor for this member.
    address String
    IP address used by the health monitor for this member.
    port Integer
    Port used by the health monitor for this member.
    address string
    IP address used by the health monitor for this member.
    port number
    Port used by the health monitor for this member.
    address str
    IP address used by the health monitor for this member.
    port int
    Port used by the health monitor for this member.
    address String
    IP address used by the health monitor for this member.
    port Number
    Port used by the health monitor for this member.

    CloudLoadbalancerPoolMemberMonitor, CloudLoadbalancerPoolMemberMonitorArgs

    Address string
    IP address used by the health monitor for this member.
    Port int
    Port used by the health monitor for this member.
    Address string
    IP address used by the health monitor for this member.
    Port int
    Port used by the health monitor for this member.
    address string
    IP address used by the health monitor for this member.
    port number
    Port used by the health monitor for this member.
    address String
    IP address used by the health monitor for this member.
    port Integer
    Port used by the health monitor for this member.
    address string
    IP address used by the health monitor for this member.
    port number
    Port used by the health monitor for this member.
    address str
    IP address used by the health monitor for this member.
    port int
    Port used by the health monitor for this member.
    address String
    IP address used by the health monitor for this member.
    port Number
    Port used by the health monitor for this member.

    Import

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

    terraform

    import {

    to = ovh_cloud_loadbalancer_pool_member.web1

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

    }

    bash

    $ pulumi import ovh:index/cloudLoadbalancerPoolMember:CloudLoadbalancerPoolMember web1 service_name/loadbalancer_id/pool_id/member_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