1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. getCloudLoadbalancerPoolMember
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

    Use this data source to get information about a member of a pool in a public cloud load balancer.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const member = ovh.getCloudLoadbalancerPoolMember({
        serviceName: "<public cloud project ID>",
        loadbalancerId: "<load balancer ID>",
        poolId: "<pool ID>",
        id: "<member ID>",
    });
    export const memberStatus = member.then(member => member.currentState?.operatingStatus);
    
    import pulumi
    import pulumi_ovh as ovh
    
    member = ovh.get_cloud_loadbalancer_pool_member(service_name="<public cloud project ID>",
        loadbalancer_id="<load balancer ID>",
        pool_id="<pool ID>",
        id="<member ID>")
    pulumi.export("memberStatus", member.current_state.operating_status)
    
    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 {
    		member, err := ovh.LookupCloudLoadbalancerPoolMember(ctx, &ovh.LookupCloudLoadbalancerPoolMemberArgs{
    			ServiceName:    "<public cloud project ID>",
    			LoadbalancerId: "<load balancer ID>",
    			PoolId:         "<pool ID>",
    			Id:             "<member ID>",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("memberStatus", member.CurrentState.OperatingStatus)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var member = Ovh.GetCloudLoadbalancerPoolMember.Invoke(new()
        {
            ServiceName = "<public cloud project ID>",
            LoadbalancerId = "<load balancer ID>",
            PoolId = "<pool ID>",
            Id = "<member ID>",
        });
    
        return new Dictionary<string, object?>
        {
            ["memberStatus"] = member.Apply(getCloudLoadbalancerPoolMemberResult => getCloudLoadbalancerPoolMemberResult.CurrentState?.OperatingStatus),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.OvhFunctions;
    import com.pulumi.ovh.inputs.GetCloudLoadbalancerPoolMemberArgs;
    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) {
            final var member = OvhFunctions.getCloudLoadbalancerPoolMember(GetCloudLoadbalancerPoolMemberArgs.builder()
                .serviceName("<public cloud project ID>")
                .loadbalancerId("<load balancer ID>")
                .poolId("<pool ID>")
                .id("<member ID>")
                .build());
    
            ctx.export("memberStatus", member.currentState().operatingStatus());
        }
    }
    
    variables:
      member:
        fn::invoke:
          function: ovh:getCloudLoadbalancerPoolMember
          arguments:
            serviceName: <public cloud project ID>
            loadbalancerId: <load balancer ID>
            poolId: <pool ID>
            id: <member ID>
    outputs:
      memberStatus: ${member.currentState.operatingStatus}
    
    Example coming soon!
    

    Using getCloudLoadbalancerPoolMember

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCloudLoadbalancerPoolMember(args: GetCloudLoadbalancerPoolMemberArgs, opts?: InvokeOptions): Promise<GetCloudLoadbalancerPoolMemberResult>
    function getCloudLoadbalancerPoolMemberOutput(args: GetCloudLoadbalancerPoolMemberOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudLoadbalancerPoolMemberResult>
    def get_cloud_loadbalancer_pool_member(id: Optional[str] = None,
                                           loadbalancer_id: Optional[str] = None,
                                           pool_id: Optional[str] = None,
                                           service_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCloudLoadbalancerPoolMemberResult
    def get_cloud_loadbalancer_pool_member_output(id: pulumi.Input[Optional[str]] = None,
                                           loadbalancer_id: pulumi.Input[Optional[str]] = None,
                                           pool_id: pulumi.Input[Optional[str]] = None,
                                           service_name: pulumi.Input[Optional[str]] = None,
                                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudLoadbalancerPoolMemberResult]
    func LookupCloudLoadbalancerPoolMember(ctx *Context, args *LookupCloudLoadbalancerPoolMemberArgs, opts ...InvokeOption) (*LookupCloudLoadbalancerPoolMemberResult, error)
    func LookupCloudLoadbalancerPoolMemberOutput(ctx *Context, args *LookupCloudLoadbalancerPoolMemberOutputArgs, opts ...InvokeOption) LookupCloudLoadbalancerPoolMemberResultOutput

    > Note: This function is named LookupCloudLoadbalancerPoolMember in the Go SDK.

    public static class GetCloudLoadbalancerPoolMember 
    {
        public static Task<GetCloudLoadbalancerPoolMemberResult> InvokeAsync(GetCloudLoadbalancerPoolMemberArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudLoadbalancerPoolMemberResult> Invoke(GetCloudLoadbalancerPoolMemberInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudLoadbalancerPoolMemberResult> Invoke(GetCloudLoadbalancerPoolMemberInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCloudLoadbalancerPoolMemberResult> getCloudLoadbalancerPoolMember(GetCloudLoadbalancerPoolMemberArgs args, InvokeOptions options)
    public static Output<GetCloudLoadbalancerPoolMemberResult> getCloudLoadbalancerPoolMember(GetCloudLoadbalancerPoolMemberArgs args, InvokeOptions options)
    public static Output<GetCloudLoadbalancerPoolMemberResult> getCloudLoadbalancerPoolMember(GetCloudLoadbalancerPoolMemberArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ovh:index/getCloudLoadbalancerPoolMember:getCloudLoadbalancerPoolMember
      arguments:
        # arguments dictionary
    data "ovh_get_cloud_loadbalancer_pool_member" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    ID of the member.
    LoadbalancerId string
    ID of the load balancer.
    PoolId string
    ID of the pool.
    ServiceName string
    Service name of the resource representing the id of the cloud project.
    Id string
    ID of the member.
    LoadbalancerId string
    ID of the load balancer.
    PoolId string
    ID of the pool.
    ServiceName string
    Service name of the resource representing the id of the cloud project.
    id string
    ID of the member.
    loadbalancer_id string
    ID of the load balancer.
    pool_id string
    ID of the pool.
    service_name string
    Service name of the resource representing the id of the cloud project.
    id String
    ID of the member.
    loadbalancerId String
    ID of the load balancer.
    poolId String
    ID of the pool.
    serviceName String
    Service name of the resource representing the id of the cloud project.
    id string
    ID of the member.
    loadbalancerId string
    ID of the load balancer.
    poolId string
    ID of the pool.
    serviceName string
    Service name of the resource representing the id of the cloud project.
    id str
    ID of the member.
    loadbalancer_id str
    ID of the load balancer.
    pool_id str
    ID of the pool.
    service_name str
    Service name of the resource representing the id of the cloud project.
    id String
    ID of the member.
    loadbalancerId String
    ID of the load balancer.
    poolId String
    ID of the pool.
    serviceName String
    Service name of the resource representing the id of the cloud project.

    getCloudLoadbalancerPoolMember Result

    The following output properties are available:

    Address string
    IP address of the member.
    Backup bool
    Whether this member is a backup member.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the member.
    CurrentState GetCloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    Id string
    LoadbalancerId string
    Monitor GetCloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override (same schema as monitor).
    Name string
    Member name.
    PoolId string
    ProtocolPort int
    Port used by the member.
    ResourceStatus string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    SubnetId string
    ID of the subnet the member is in.
    UpdatedAt string
    Last update date of the member.
    Weight int
    Weight of the member.
    Address string
    IP address of the member.
    Backup bool
    Whether this member is a backup member.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the member.
    CurrentState GetCloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    Id string
    LoadbalancerId string
    Monitor GetCloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override (same schema as monitor).
    Name string
    Member name.
    PoolId string
    ProtocolPort int
    Port used by the member.
    ResourceStatus string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    SubnetId string
    ID of the subnet the member is in.
    UpdatedAt string
    Last update date of the member.
    Weight int
    Weight of the member.
    address string
    IP address of the member.
    backup bool
    Whether this member is a backup 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
    loadbalancer_id string
    monitor object
    Health monitor address and port override (same schema as monitor).
    name string
    Member name.
    pool_id string
    protocol_port number
    Port used by the member.
    resource_status string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name string
    subnet_id string
    ID of the subnet the member is in.
    updated_at string
    Last update date of the member.
    weight number
    Weight of the member.
    address String
    IP address of the member.
    backup Boolean
    Whether this member is a backup member.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the member.
    currentState GetCloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    id String
    loadbalancerId String
    monitor GetCloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override (same schema as monitor).
    name String
    Member name.
    poolId String
    protocolPort Integer
    Port used by the member.
    resourceStatus String
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    subnetId String
    ID of the subnet the member is in.
    updatedAt String
    Last update date of the member.
    weight Integer
    Weight of the member.
    address string
    IP address of the member.
    backup boolean
    Whether this member is a backup member.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the member.
    currentState GetCloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    id string
    loadbalancerId string
    monitor GetCloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override (same schema as monitor).
    name string
    Member name.
    poolId string
    protocolPort number
    Port used by the member.
    resourceStatus string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName string
    subnetId string
    ID of the subnet the member is in.
    updatedAt string
    Last update date of the member.
    weight number
    Weight of the member.
    address str
    IP address of the member.
    backup bool
    Whether this member is a backup member.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the member.
    current_state GetCloudLoadbalancerPoolMemberCurrentState
    Current state of the member:
    id str
    loadbalancer_id str
    monitor GetCloudLoadbalancerPoolMemberMonitor
    Health monitor address and port override (same schema as monitor).
    name str
    Member name.
    pool_id str
    protocol_port int
    Port used by the member.
    resource_status str
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name str
    subnet_id str
    ID of the subnet the member is in.
    updated_at str
    Last update date of the member.
    weight int
    Weight of the member.
    address String
    IP address of the member.
    backup Boolean
    Whether this member is a backup 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
    loadbalancerId String
    monitor Property Map
    Health monitor address and port override (same schema as monitor).
    name String
    Member name.
    poolId String
    protocolPort Number
    Port used by the member.
    resourceStatus String
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    subnetId String
    ID of the subnet the member is in.
    updatedAt String
    Last update date of the member.
    weight Number
    Weight of the member.

    Supporting Types

    GetCloudLoadbalancerPoolMemberCurrentState

    Address string
    IP address of the member.
    Backup bool
    Whether this member is a backup member.
    Monitor GetCloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override (same schema as monitor).
    Name string
    Member name.
    OperatingStatus string
    Operating status of the member.
    ProtocolPort int
    Port used by the member.
    ProvisioningStatus string
    Provisioning status of the member.
    SubnetId string
    ID of the subnet the member is in.
    Weight int
    Weight of the member.
    Address string
    IP address of the member.
    Backup bool
    Whether this member is a backup member.
    Monitor GetCloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override (same schema as monitor).
    Name string
    Member name.
    OperatingStatus string
    Operating status of the member.
    ProtocolPort int
    Port used by the member.
    ProvisioningStatus string
    Provisioning status of the member.
    SubnetId string
    ID of the subnet the member is in.
    Weight int
    Weight of the member.
    address string
    IP address of the member.
    backup bool
    Whether this member is a backup member.
    monitor object
    Health monitor address and port override (same schema as monitor).
    name string
    Member name.
    operating_status string
    Operating status of the member.
    protocol_port number
    Port used by the member.
    provisioning_status string
    Provisioning status of the member.
    subnet_id string
    ID of the subnet the member is in.
    weight number
    Weight of the member.
    address String
    IP address of the member.
    backup Boolean
    Whether this member is a backup member.
    monitor GetCloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override (same schema as monitor).
    name String
    Member name.
    operatingStatus String
    Operating status of the member.
    protocolPort Integer
    Port used by the member.
    provisioningStatus String
    Provisioning status of the member.
    subnetId String
    ID of the subnet the member is in.
    weight Integer
    Weight of the member.
    address string
    IP address of the member.
    backup boolean
    Whether this member is a backup member.
    monitor GetCloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override (same schema as monitor).
    name string
    Member name.
    operatingStatus string
    Operating status of the member.
    protocolPort number
    Port used by the member.
    provisioningStatus string
    Provisioning status of the member.
    subnetId string
    ID of the subnet the member is in.
    weight number
    Weight of the member.
    address str
    IP address of the member.
    backup bool
    Whether this member is a backup member.
    monitor GetCloudLoadbalancerPoolMemberCurrentStateMonitor
    Health monitor address and port override (same schema as monitor).
    name str
    Member name.
    operating_status str
    Operating status of the member.
    protocol_port int
    Port used by the member.
    provisioning_status str
    Provisioning status of the member.
    subnet_id str
    ID of the subnet the member is in.
    weight int
    Weight of the member.
    address String
    IP address of the member.
    backup Boolean
    Whether this member is a backup member.
    monitor Property Map
    Health monitor address and port override (same schema as monitor).
    name String
    Member name.
    operatingStatus String
    Operating status of the member.
    protocolPort Number
    Port used by the member.
    provisioningStatus String
    Provisioning status of the member.
    subnetId String
    ID of the subnet the member is in.
    weight Number
    Weight of the member.

    GetCloudLoadbalancerPoolMemberCurrentStateMonitor

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

    GetCloudLoadbalancerPoolMemberMonitor

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

    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