ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsLbPoolMembers
Explore with Pulumi AI
Provides a read-only data source for LoadBalancerPoolMemberCollection.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsLbPoolMembers({
lb: ibm_is_lb.example.id,
pool: ibm_is_lb_pool.example.pool_id,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_lb_pool_members(lb=ibm_is_lb["example"]["id"],
pool=ibm_is_lb_pool["example"]["pool_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetIsLbPoolMembers(ctx, &ibm.GetIsLbPoolMembersArgs{
Lb: ibm_is_lb.Example.Id,
Pool: ibm_is_lb_pool.Example.Pool_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetIsLbPoolMembers.Invoke(new()
{
Lb = ibm_is_lb.Example.Id,
Pool = ibm_is_lb_pool.Example.Pool_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsLbPoolMembersArgs;
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 example = IbmFunctions.getIsLbPoolMembers(GetIsLbPoolMembersArgs.builder()
.lb(ibm_is_lb.example().id())
.pool(ibm_is_lb_pool.example().pool_id())
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsLbPoolMembers
arguments:
lb: ${ibm_is_lb.example.id}
pool: ${ibm_is_lb_pool.example.pool_id}
Using getIsLbPoolMembers
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 getIsLbPoolMembers(args: GetIsLbPoolMembersArgs, opts?: InvokeOptions): Promise<GetIsLbPoolMembersResult>
function getIsLbPoolMembersOutput(args: GetIsLbPoolMembersOutputArgs, opts?: InvokeOptions): Output<GetIsLbPoolMembersResult>
def get_is_lb_pool_members(id: Optional[str] = None,
lb: Optional[str] = None,
pool: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsLbPoolMembersResult
def get_is_lb_pool_members_output(id: Optional[pulumi.Input[str]] = None,
lb: Optional[pulumi.Input[str]] = None,
pool: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsLbPoolMembersResult]
func GetIsLbPoolMembers(ctx *Context, args *GetIsLbPoolMembersArgs, opts ...InvokeOption) (*GetIsLbPoolMembersResult, error)
func GetIsLbPoolMembersOutput(ctx *Context, args *GetIsLbPoolMembersOutputArgs, opts ...InvokeOption) GetIsLbPoolMembersResultOutput
> Note: This function is named GetIsLbPoolMembers
in the Go SDK.
public static class GetIsLbPoolMembers
{
public static Task<GetIsLbPoolMembersResult> InvokeAsync(GetIsLbPoolMembersArgs args, InvokeOptions? opts = null)
public static Output<GetIsLbPoolMembersResult> Invoke(GetIsLbPoolMembersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsLbPoolMembersResult> getIsLbPoolMembers(GetIsLbPoolMembersArgs args, InvokeOptions options)
public static Output<GetIsLbPoolMembersResult> getIsLbPoolMembers(GetIsLbPoolMembersArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsLbPoolMembers:getIsLbPoolMembers
arguments:
# arguments dictionary
The following arguments are supported:
getIsLbPoolMembers Result
The following output properties are available:
- Id string
- (String) The unique identifier for this virtual server instance.
- Lb string
- Members
List<Get
Is Lb Pool Members Member> - (List) Collection of members.
Nested scheme for
members
: - Pool string
- Id string
- (String) The unique identifier for this virtual server instance.
- Lb string
- Members
[]Get
Is Lb Pool Members Member - (List) Collection of members.
Nested scheme for
members
: - Pool string
- id String
- (String) The unique identifier for this virtual server instance.
- lb String
- members
List<Get
Is Lb Pool Members Member> - (List) Collection of members.
Nested scheme for
members
: - pool String
- id string
- (String) The unique identifier for this virtual server instance.
- lb string
- members
Get
Is Lb Pool Members Member[] - (List) Collection of members.
Nested scheme for
members
: - pool string
- id str
- (String) The unique identifier for this virtual server instance.
- lb str
- members
Sequence[Get
Is Lb Pool Members Member] - (List) Collection of members.
Nested scheme for
members
: - pool str
- id String
- (String) The unique identifier for this virtual server instance.
- lb String
- members List<Property Map>
- (List) Collection of members.
Nested scheme for
members
: - pool String
Supporting Types
GetIsLbPoolMembersMember
- Created
At string - (String) The date and time that this member was created.
- Health string
- (String) Health of the server member in the pool.
- Href string
- (String) The URL for this virtual server instance.
- Id string
- (String) The unique identifier for this virtual server instance.
- Port double
- (Integer) The port number of the application running in the server member.
- Provisioning
Status string - (String) The provisioning status of this member.
- Targets
List<Get
Is Lb Pool Members Member Target> - (List) The pool member target. Load balancers in the
network
family support virtual serverinstances. Load balancers in theapplication
family support IP addresses. Nested scheme fortarget
: - Weight double
- (Integer) Weight of the server member. Applicable only if the pool algorithm is
weighted_round_robin
.
- Created
At string - (String) The date and time that this member was created.
- Health string
- (String) Health of the server member in the pool.
- Href string
- (String) The URL for this virtual server instance.
- Id string
- (String) The unique identifier for this virtual server instance.
- Port float64
- (Integer) The port number of the application running in the server member.
- Provisioning
Status string - (String) The provisioning status of this member.
- Targets
[]Get
Is Lb Pool Members Member Target - (List) The pool member target. Load balancers in the
network
family support virtual serverinstances. Load balancers in theapplication
family support IP addresses. Nested scheme fortarget
: - Weight float64
- (Integer) Weight of the server member. Applicable only if the pool algorithm is
weighted_round_robin
.
- created
At String - (String) The date and time that this member was created.
- health String
- (String) Health of the server member in the pool.
- href String
- (String) The URL for this virtual server instance.
- id String
- (String) The unique identifier for this virtual server instance.
- port Double
- (Integer) The port number of the application running in the server member.
- provisioning
Status String - (String) The provisioning status of this member.
- targets
List<Get
Is Lb Pool Members Member Target> - (List) The pool member target. Load balancers in the
network
family support virtual serverinstances. Load balancers in theapplication
family support IP addresses. Nested scheme fortarget
: - weight Double
- (Integer) Weight of the server member. Applicable only if the pool algorithm is
weighted_round_robin
.
- created
At string - (String) The date and time that this member was created.
- health string
- (String) Health of the server member in the pool.
- href string
- (String) The URL for this virtual server instance.
- id string
- (String) The unique identifier for this virtual server instance.
- port number
- (Integer) The port number of the application running in the server member.
- provisioning
Status string - (String) The provisioning status of this member.
- targets
Get
Is Lb Pool Members Member Target[] - (List) The pool member target. Load balancers in the
network
family support virtual serverinstances. Load balancers in theapplication
family support IP addresses. Nested scheme fortarget
: - weight number
- (Integer) Weight of the server member. Applicable only if the pool algorithm is
weighted_round_robin
.
- created_
at str - (String) The date and time that this member was created.
- health str
- (String) Health of the server member in the pool.
- href str
- (String) The URL for this virtual server instance.
- id str
- (String) The unique identifier for this virtual server instance.
- port float
- (Integer) The port number of the application running in the server member.
- provisioning_
status str - (String) The provisioning status of this member.
- targets
Sequence[Get
Is Lb Pool Members Member Target] - (List) The pool member target. Load balancers in the
network
family support virtual serverinstances. Load balancers in theapplication
family support IP addresses. Nested scheme fortarget
: - weight float
- (Integer) Weight of the server member. Applicable only if the pool algorithm is
weighted_round_robin
.
- created
At String - (String) The date and time that this member was created.
- health String
- (String) Health of the server member in the pool.
- href String
- (String) The URL for this virtual server instance.
- id String
- (String) The unique identifier for this virtual server instance.
- port Number
- (Integer) The port number of the application running in the server member.
- provisioning
Status String - (String) The provisioning status of this member.
- targets List<Property Map>
- (List) The pool member target. Load balancers in the
network
family support virtual serverinstances. Load balancers in theapplication
family support IP addresses. Nested scheme fortarget
: - weight Number
- (Integer) Weight of the server member. Applicable only if the pool algorithm is
weighted_round_robin
.
GetIsLbPoolMembersMemberTarget
- Address string
- (String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Crn string
- (String) The CRN for this virtual server instance.
- Deleteds
List<Get
Is Lb Pool Members Member Target Deleted> - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - Href string
- (String) The URL for this virtual server instance.
- Id string
- (String) The unique identifier for this virtual server instance.
- Name string
- (String) The user-defined name for this virtual server instance (and default system hostname).
- Address string
- (String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Crn string
- (String) The CRN for this virtual server instance.
- Deleteds
[]Get
Is Lb Pool Members Member Target Deleted - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - Href string
- (String) The URL for this virtual server instance.
- Id string
- (String) The unique identifier for this virtual server instance.
- Name string
- (String) The user-defined name for this virtual server instance (and default system hostname).
- address String
- (String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- crn String
- (String) The CRN for this virtual server instance.
- deleteds
List<Get
Is Lb Pool Members Member Target Deleted> - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href String
- (String) The URL for this virtual server instance.
- id String
- (String) The unique identifier for this virtual server instance.
- name String
- (String) The user-defined name for this virtual server instance (and default system hostname).
- address string
- (String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- crn string
- (String) The CRN for this virtual server instance.
- deleteds
Get
Is Lb Pool Members Member Target Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href string
- (String) The URL for this virtual server instance.
- id string
- (String) The unique identifier for this virtual server instance.
- name string
- (String) The user-defined name for this virtual server instance (and default system hostname).
- address str
- (String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- crn str
- (String) The CRN for this virtual server instance.
- deleteds
Sequence[Get
Is Lb Pool Members Member Target Deleted] - (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href str
- (String) The URL for this virtual server instance.
- id str
- (String) The unique identifier for this virtual server instance.
- name str
- (String) The user-defined name for this virtual server instance (and default system hostname).
- address String
- (String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- crn String
- (String) The CRN for this virtual server instance.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href String
- (String) The URL for this virtual server instance.
- id String
- (String) The unique identifier for this virtual server instance.
- name String
- (String) The user-defined name for this virtual server instance (and default system hostname).
GetIsLbPoolMembersMemberTargetDeleted
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.