Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud
published on Friday, Sep 25, 2026 by OVHcloud
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud
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 dictionarydata "ovh_get_cloud_loadbalancer_pool_member" "name" {
# arguments
}The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
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.
- Created
At string - Creation date of the member.
- Current
State GetCloud Loadbalancer Pool Member Current State - Current state of the member:
- Id string
- Loadbalancer
Id string - Monitor
Get
Cloud Loadbalancer Pool Member Monitor - Health monitor address and port override (same schema as
monitor). - Name string
- Member name.
- Pool
Id string - Protocol
Port int - 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 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 GetCloud Loadbalancer Pool Member Current State - Current state of the member:
- Id string
- Loadbalancer
Id string - Monitor
Get
Cloud Loadbalancer Pool Member Monitor - Health monitor address and port override (same schema as
monitor). - Name string
- Member name.
- Pool
Id string - Protocol
Port int - 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 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.
- created
At String - Creation date of the member.
- current
State GetCloud Loadbalancer Pool Member Current State - Current state of the member:
- id String
- loadbalancer
Id String - monitor
Get
Cloud Loadbalancer Pool Member Monitor - Health monitor address and port override (same schema as
monitor). - name String
- Member name.
- pool
Id String - protocol
Port Integer - 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 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.
- created
At string - Creation date of the member.
- current
State GetCloud Loadbalancer Pool Member Current State - Current state of the member:
- id string
- loadbalancer
Id string - monitor
Get
Cloud Loadbalancer Pool Member Monitor - 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 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 GetCloud Loadbalancer Pool Member Current State - Current state of the member:
- id str
- loadbalancer_
id str - monitor
Get
Cloud Loadbalancer Pool Member Monitor - 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.
- created
At String - Creation date of the member.
- current
State Property Map - Current state of the member:
- id String
- loadbalancer
Id String - monitor Property Map
- 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.
Supporting Types
GetCloudLoadbalancerPoolMemberCurrentState
- Address string
- IP address of the member.
- Backup bool
- Whether this member is a backup member.
- Monitor
Get
Cloud Loadbalancer Pool Member Current State Monitor - Health monitor address and port override (same schema as
monitor). - Name string
- Member name.
- Operating
Status string - Operating status of the member.
- Protocol
Port int - 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 int
- Weight of the member.
- Address string
- IP address of the member.
- Backup bool
- Whether this member is a backup member.
- Monitor
Get
Cloud Loadbalancer Pool Member Current State Monitor - Health monitor address and port override (same schema as
monitor). - Name string
- Member name.
- Operating
Status string - Operating status of the member.
- Protocol
Port int - 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 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
Get
Cloud Loadbalancer Pool Member Current State Monitor - Health monitor address and port override (same schema as
monitor). - name String
- Member name.
- operating
Status String - Operating status of the member.
- protocol
Port Integer - 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 Integer
- Weight of the member.
- address string
- IP address of the member.
- backup boolean
- Whether this member is a backup member.
- monitor
Get
Cloud Loadbalancer Pool Member Current State Monitor - 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 str
- IP address of the member.
- backup bool
- Whether this member is a backup member.
- monitor
Get
Cloud Loadbalancer Pool Member Current State Monitor - 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.
- 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.
GetCloudLoadbalancerPoolMemberCurrentStateMonitor
GetCloudLoadbalancerPoolMemberMonitor
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud
published on Friday, Sep 25, 2026 by OVHcloud