1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. getCloudLoadbalancerPoolMembers
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 list the members 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 members = ovh.getCloudLoadbalancerPoolMembers({
        serviceName: "<public cloud project ID>",
        loadbalancerId: "<load balancer ID>",
        poolId: "<pool ID>",
    });
    export const memberAddresses = members.then(members => .map(m => (m.address)));
    
    import pulumi
    import pulumi_ovh as ovh
    
    members = ovh.get_cloud_loadbalancer_pool_members(service_name="<public cloud project ID>",
        loadbalancer_id="<load balancer ID>",
        pool_id="<pool ID>")
    pulumi.export("memberAddresses", [m.address for m in members.members])
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var members = Ovh.GetCloudLoadbalancerPoolMembers.Invoke(new()
        {
            ServiceName = "<public cloud project ID>",
            LoadbalancerId = "<load balancer ID>",
            PoolId = "<pool ID>",
        });
    
        return new Dictionary<string, object?>
        {
            ["memberAddresses"] = .Select(m => 
            {
                return m.Address;
            }).ToList(),
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    

    Using getCloudLoadbalancerPoolMembers

    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 getCloudLoadbalancerPoolMembers(args: GetCloudLoadbalancerPoolMembersArgs, opts?: InvokeOptions): Promise<GetCloudLoadbalancerPoolMembersResult>
    function getCloudLoadbalancerPoolMembersOutput(args: GetCloudLoadbalancerPoolMembersOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudLoadbalancerPoolMembersResult>
    def get_cloud_loadbalancer_pool_members(loadbalancer_id: Optional[str] = None,
                                            pool_id: Optional[str] = None,
                                            service_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetCloudLoadbalancerPoolMembersResult
    def get_cloud_loadbalancer_pool_members_output(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[GetCloudLoadbalancerPoolMembersResult]
    func GetCloudLoadbalancerPoolMembers(ctx *Context, args *GetCloudLoadbalancerPoolMembersArgs, opts ...InvokeOption) (*GetCloudLoadbalancerPoolMembersResult, error)
    func GetCloudLoadbalancerPoolMembersOutput(ctx *Context, args *GetCloudLoadbalancerPoolMembersOutputArgs, opts ...InvokeOption) GetCloudLoadbalancerPoolMembersResultOutput

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

    public static class GetCloudLoadbalancerPoolMembers 
    {
        public static Task<GetCloudLoadbalancerPoolMembersResult> InvokeAsync(GetCloudLoadbalancerPoolMembersArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudLoadbalancerPoolMembersResult> Invoke(GetCloudLoadbalancerPoolMembersInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudLoadbalancerPoolMembersResult> Invoke(GetCloudLoadbalancerPoolMembersInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCloudLoadbalancerPoolMembersResult> getCloudLoadbalancerPoolMembers(GetCloudLoadbalancerPoolMembersArgs args, InvokeOptions options)
    public static Output<GetCloudLoadbalancerPoolMembersResult> getCloudLoadbalancerPoolMembers(GetCloudLoadbalancerPoolMembersArgs args, InvokeOptions options)
    public static Output<GetCloudLoadbalancerPoolMembersResult> getCloudLoadbalancerPoolMembers(GetCloudLoadbalancerPoolMembersArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ovh:index/getCloudLoadbalancerPoolMembers:getCloudLoadbalancerPoolMembers
      arguments:
        # arguments dictionary
    data "ovh_get_cloud_loadbalancer_pool_members" "name" {
        # arguments
    }

    The following arguments are supported:

    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.
    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.
    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.
    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.
    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.
    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.
    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.

    getCloudLoadbalancerPoolMembers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    LoadbalancerId string
    Members List<GetCloudLoadbalancerPoolMembersMember>
    List of members. Each element exports:
    PoolId string
    ServiceName string
    Id string
    The provider-assigned unique ID for this managed resource.
    LoadbalancerId string
    Members []GetCloudLoadbalancerPoolMembersMember
    List of members. Each element exports:
    PoolId string
    ServiceName string
    id string
    The provider-assigned unique ID for this managed resource.
    loadbalancer_id string
    members list(object)
    List of members. Each element exports:
    pool_id string
    service_name string
    id String
    The provider-assigned unique ID for this managed resource.
    loadbalancerId String
    members List<GetCloudLoadbalancerPoolMembersMember>
    List of members. Each element exports:
    poolId String
    serviceName String
    id string
    The provider-assigned unique ID for this managed resource.
    loadbalancerId string
    members GetCloudLoadbalancerPoolMembersMember[]
    List of members. Each element exports:
    poolId string
    serviceName string
    id str
    The provider-assigned unique ID for this managed resource.
    loadbalancer_id str
    members Sequence[GetCloudLoadbalancerPoolMembersMember]
    List of members. Each element exports:
    pool_id str
    service_name str
    id String
    The provider-assigned unique ID for this managed resource.
    loadbalancerId String
    members List<Property Map>
    List of members. Each element exports:
    poolId String
    serviceName String

    Supporting Types

    GetCloudLoadbalancerPoolMembersMember

    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 GetCloudLoadbalancerPoolMembersMemberCurrentState
    Current state of the member:
    Id string
    Member ID.
    Monitor GetCloudLoadbalancerPoolMembersMemberMonitor
    Health monitor address and port override (same schema as above).
    Name string
    Member name.
    ProtocolPort int
    Port used by the member.
    ResourceStatus string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentState
    Current state of the member:
    Id string
    Member ID.
    Monitor GetCloudLoadbalancerPoolMembersMemberMonitor
    Health monitor address and port override (same schema as above).
    Name string
    Member name.
    ProtocolPort int
    Port used by the member.
    ResourceStatus string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    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
    Member ID.
    monitor object
    Health monitor address and port override (same schema as above).
    name string
    Member name.
    protocol_port number
    Port used by the member.
    resource_status string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentState
    Current state of the member:
    id String
    Member ID.
    monitor GetCloudLoadbalancerPoolMembersMemberMonitor
    Health monitor address and port override (same schema as above).
    name String
    Member name.
    protocolPort Integer
    Port used by the member.
    resourceStatus String
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentState
    Current state of the member:
    id string
    Member ID.
    monitor GetCloudLoadbalancerPoolMembersMemberMonitor
    Health monitor address and port override (same schema as above).
    name string
    Member name.
    protocolPort number
    Port used by the member.
    resourceStatus string
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentState
    Current state of the member:
    id str
    Member ID.
    monitor GetCloudLoadbalancerPoolMembersMemberMonitor
    Health monitor address and port override (same schema as above).
    name str
    Member name.
    protocol_port int
    Port used by the member.
    resource_status str
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    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
    Member ID.
    monitor Property Map
    Health monitor address and port override (same schema as above).
    name String
    Member name.
    protocolPort Number
    Port used by the member.
    resourceStatus String
    Member readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    subnetId String
    ID of the subnet the member is in.
    updatedAt String
    Last update date of the member.
    weight Number
    Weight of the member.

    GetCloudLoadbalancerPoolMembersMemberCurrentState

    Address string
    IP address of the member.
    Backup bool
    Whether this member is a backup member.
    Monitor GetCloudLoadbalancerPoolMembersMemberCurrentStateMonitor
    Health monitor address and port override (same schema as above).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentStateMonitor
    Health monitor address and port override (same schema as above).
    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 above).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentStateMonitor
    Health monitor address and port override (same schema as above).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentStateMonitor
    Health monitor address and port override (same schema as above).
    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 GetCloudLoadbalancerPoolMembersMemberCurrentStateMonitor
    Health monitor address and port override (same schema as above).
    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 above).
    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.

    GetCloudLoadbalancerPoolMembersMemberCurrentStateMonitor

    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.

    GetCloudLoadbalancerPoolMembersMemberMonitor

    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