ibm.IsLbPoolMember
Explore with Pulumi AI
Create, update, or delete a pool member for a VPC load balancer. For more information, about load balancer listener pool member, see Creating managed pools and instance groups.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Example Usage
Sample to create a load balancer pool member for application load balancer.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPoolMember("example", {
lb: ibm_is_lb.example.id,
pool: ibm_is_lb_pool.example.id.split("/")[1],
port: 8080,
targetAddress: "127.0.0.1",
weight: 60,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPoolMember("example",
lb=ibm_is_lb["example"]["id"],
pool=ibm_is_lb_pool["example"]["id"].split("/")[1],
port=8080,
target_address="127.0.0.1",
weight=60)
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.NewIsLbPoolMember(ctx, "example", &ibm.IsLbPoolMemberArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Pool: pulumi.String("TODO: call element"),
Port: pulumi.Float64(8080),
TargetAddress: pulumi.String("127.0.0.1"),
Weight: pulumi.Float64(60),
})
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 = new Ibm.IsLbPoolMember("example", new()
{
Lb = ibm_is_lb.Example.Id,
Pool = ibm_is_lb_pool.Example.Id.Split("/")[1],
Port = 8080,
TargetAddress = "127.0.0.1",
Weight = 60,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPoolMember;
import com.pulumi.ibm.IsLbPoolMemberArgs;
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 example = new IsLbPoolMember("example", IsLbPoolMemberArgs.builder()
.lb(ibm_is_lb.example().id())
.pool(ibm_is_lb_pool.example().id().split("/")[1])
.port(8080)
.targetAddress("127.0.0.1")
.weight(60)
.build());
}
}
resources:
example:
type: ibm:IsLbPoolMember
properties:
lb: ${ibm_is_lb.example.id}
pool:
fn::select:
- 1
- fn::split:
- ${ibm_is_lb_pool.example.id}
- /
port: 8080
targetAddress: 127.0.0.1
weight: 60
Sample to create a load balancer pool member for network load balancer.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPoolMember("example", {
lb: ibm_is_lb.example.id,
pool: ibm_is_lb_pool.example.id.split("/")[1],
port: 8080,
targetId: ibm_is_instance.example.id,
weight: 60,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPoolMember("example",
lb=ibm_is_lb["example"]["id"],
pool=ibm_is_lb_pool["example"]["id"].split("/")[1],
port=8080,
target_id=ibm_is_instance["example"]["id"],
weight=60)
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.NewIsLbPoolMember(ctx, "example", &ibm.IsLbPoolMemberArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Pool: pulumi.String("TODO: call element"),
Port: pulumi.Float64(8080),
TargetId: pulumi.Any(ibm_is_instance.Example.Id),
Weight: pulumi.Float64(60),
})
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 = new Ibm.IsLbPoolMember("example", new()
{
Lb = ibm_is_lb.Example.Id,
Pool = ibm_is_lb_pool.Example.Id.Split("/")[1],
Port = 8080,
TargetId = ibm_is_instance.Example.Id,
Weight = 60,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPoolMember;
import com.pulumi.ibm.IsLbPoolMemberArgs;
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 example = new IsLbPoolMember("example", IsLbPoolMemberArgs.builder()
.lb(ibm_is_lb.example().id())
.pool(ibm_is_lb_pool.example().id().split("/")[1])
.port(8080)
.targetId(ibm_is_instance.example().id())
.weight(60)
.build());
}
}
resources:
example:
type: ibm:IsLbPoolMember
properties:
lb: ${ibm_is_lb.example.id}
pool:
fn::select:
- 1
- fn::split:
- ${ibm_is_lb_pool.example.id}
- /
port: 8080
targetId: ${ibm_is_instance.example.id}
weight: 60
Sample to create a application load balancer as member target for private path network load balancer.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPoolMember("example", {
lb: ibm_is_lb.example.id,
pool: ibm_is_lb_pool.example.id.split("/")[1],
port: 8080,
weight: 60,
targetId: ibm_is_lb.example.id,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPoolMember("example",
lb=ibm_is_lb["example"]["id"],
pool=ibm_is_lb_pool["example"]["id"].split("/")[1],
port=8080,
weight=60,
target_id=ibm_is_lb["example"]["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.NewIsLbPoolMember(ctx, "example", &ibm.IsLbPoolMemberArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Pool: pulumi.String("TODO: call element"),
Port: pulumi.Float64(8080),
Weight: pulumi.Float64(60),
TargetId: pulumi.Any(ibm_is_lb.Example.Id),
})
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 = new Ibm.IsLbPoolMember("example", new()
{
Lb = ibm_is_lb.Example.Id,
Pool = ibm_is_lb_pool.Example.Id.Split("/")[1],
Port = 8080,
Weight = 60,
TargetId = ibm_is_lb.Example.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPoolMember;
import com.pulumi.ibm.IsLbPoolMemberArgs;
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 example = new IsLbPoolMember("example", IsLbPoolMemberArgs.builder()
.lb(ibm_is_lb.example().id())
.pool(ibm_is_lb_pool.example().id().split("/")[1])
.port(8080)
.weight(60)
.targetId(ibm_is_lb.example().id())
.build());
}
}
resources:
example:
type: ibm:IsLbPoolMember
properties:
lb: ${ibm_is_lb.example.id}
pool:
fn::select:
- 1
- fn::split:
- ${ibm_is_lb_pool.example.id}
- /
port: 8080
weight: 60
targetId: ${ibm_is_lb.example.id}
Create IsLbPoolMember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsLbPoolMember(name: string, args: IsLbPoolMemberArgs, opts?: CustomResourceOptions);
@overload
def IsLbPoolMember(resource_name: str,
args: IsLbPoolMemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsLbPoolMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
lb: Optional[str] = None,
pool: Optional[str] = None,
port: Optional[float] = None,
is_lb_pool_member_id: Optional[str] = None,
target_address: Optional[str] = None,
target_id: Optional[str] = None,
timeouts: Optional[IsLbPoolMemberTimeoutsArgs] = None,
weight: Optional[float] = None)
func NewIsLbPoolMember(ctx *Context, name string, args IsLbPoolMemberArgs, opts ...ResourceOption) (*IsLbPoolMember, error)
public IsLbPoolMember(string name, IsLbPoolMemberArgs args, CustomResourceOptions? opts = null)
public IsLbPoolMember(String name, IsLbPoolMemberArgs args)
public IsLbPoolMember(String name, IsLbPoolMemberArgs args, CustomResourceOptions options)
type: ibm:IsLbPoolMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IsLbPoolMemberArgs
- 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 IsLbPoolMemberArgs
- 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 IsLbPoolMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsLbPoolMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsLbPoolMemberArgs
- 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 isLbPoolMemberResource = new Ibm.IsLbPoolMember("isLbPoolMemberResource", new()
{
Lb = "string",
Pool = "string",
Port = 0,
IsLbPoolMemberId = "string",
TargetAddress = "string",
TargetId = "string",
Timeouts = new Ibm.Inputs.IsLbPoolMemberTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Weight = 0,
});
example, err := ibm.NewIsLbPoolMember(ctx, "isLbPoolMemberResource", &ibm.IsLbPoolMemberArgs{
Lb: pulumi.String("string"),
Pool: pulumi.String("string"),
Port: pulumi.Float64(0),
IsLbPoolMemberId: pulumi.String("string"),
TargetAddress: pulumi.String("string"),
TargetId: pulumi.String("string"),
Timeouts: &ibm.IsLbPoolMemberTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Weight: pulumi.Float64(0),
})
var isLbPoolMemberResource = new IsLbPoolMember("isLbPoolMemberResource", IsLbPoolMemberArgs.builder()
.lb("string")
.pool("string")
.port(0)
.isLbPoolMemberId("string")
.targetAddress("string")
.targetId("string")
.timeouts(IsLbPoolMemberTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.weight(0)
.build());
is_lb_pool_member_resource = ibm.IsLbPoolMember("isLbPoolMemberResource",
lb="string",
pool="string",
port=0,
is_lb_pool_member_id="string",
target_address="string",
target_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
weight=0)
const isLbPoolMemberResource = new ibm.IsLbPoolMember("isLbPoolMemberResource", {
lb: "string",
pool: "string",
port: 0,
isLbPoolMemberId: "string",
targetAddress: "string",
targetId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
weight: 0,
});
type: ibm:IsLbPoolMember
properties:
isLbPoolMemberId: string
lb: string
pool: string
port: 0
targetAddress: string
targetId: string
timeouts:
create: string
delete: string
update: string
weight: 0
IsLbPoolMember 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 IsLbPoolMember resource accepts the following input properties:
- Lb string
- The load balancer unique identifier.
- Pool string
- The load balancer pool unique identifier.
- Port double
- The port number of the application running in the server member.
- Is
Lb stringPool Member Id - (String) The unique identifier of the load balancer pool member.
- Target
Address string - The IP address of the pool member.
- Target
Id string - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- Timeouts
Is
Lb Pool Member Timeouts - Weight double
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- Lb string
- The load balancer unique identifier.
- Pool string
- The load balancer pool unique identifier.
- Port float64
- The port number of the application running in the server member.
- Is
Lb stringPool Member Id - (String) The unique identifier of the load balancer pool member.
- Target
Address string - The IP address of the pool member.
- Target
Id string - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- Timeouts
Is
Lb Pool Member Timeouts Args - Weight float64
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- lb String
- The load balancer unique identifier.
- pool String
- The load balancer pool unique identifier.
- port Double
- The port number of the application running in the server member.
- is
Lb StringPool Member Id - (String) The unique identifier of the load balancer pool member.
- target
Address String - The IP address of the pool member.
- target
Id String - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts
Is
Lb Pool Member Timeouts - weight Double
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- lb string
- The load balancer unique identifier.
- pool string
- The load balancer pool unique identifier.
- port number
- The port number of the application running in the server member.
- is
Lb stringPool Member Id - (String) The unique identifier of the load balancer pool member.
- target
Address string - The IP address of the pool member.
- target
Id string - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts
Is
Lb Pool Member Timeouts - weight number
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- lb str
- The load balancer unique identifier.
- pool str
- The load balancer pool unique identifier.
- port float
- The port number of the application running in the server member.
- is_
lb_ strpool_ member_ id - (String) The unique identifier of the load balancer pool member.
- target_
address str - The IP address of the pool member.
- target_
id str - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts
Is
Lb Pool Member Timeouts Args - weight float
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- lb String
- The load balancer unique identifier.
- pool String
- The load balancer pool unique identifier.
- port Number
- The port number of the application running in the server member.
- is
Lb StringPool Member Id - (String) The unique identifier of the load balancer pool member.
- target
Address String - The IP address of the pool member.
- target
Id String - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts Property Map
- weight Number
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
Outputs
All input properties are implicitly available as output properties. Additionally, the IsLbPoolMember resource produces the following output properties:
- Health string
- (String) The health of the server member in the pool.
- Href string
- (String) The member’s canonical URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
Status string - Load balancer Pool member provisioning status
- string
- The crn of the LB resource
- Health string
- (String) The health of the server member in the pool.
- Href string
- (String) The member’s canonical URL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
Status string - Load balancer Pool member provisioning status
- string
- The crn of the LB resource
- health String
- (String) The health of the server member in the pool.
- href String
- (String) The member’s canonical URL.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
Status String - Load balancer Pool member provisioning status
- String
- The crn of the LB resource
- health string
- (String) The health of the server member in the pool.
- href string
- (String) The member’s canonical URL.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
Status string - Load balancer Pool member provisioning status
- string
- The crn of the LB resource
- health str
- (String) The health of the server member in the pool.
- href str
- (String) The member’s canonical URL.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
status str - Load balancer Pool member provisioning status
- str
- The crn of the LB resource
- health String
- (String) The health of the server member in the pool.
- href String
- (String) The member’s canonical URL.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
Status String - Load balancer Pool member provisioning status
- String
- The crn of the LB resource
Look up Existing IsLbPoolMember Resource
Get an existing IsLbPoolMember 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?: IsLbPoolMemberState, opts?: CustomResourceOptions): IsLbPoolMember
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
health: Optional[str] = None,
href: Optional[str] = None,
is_lb_pool_member_id: Optional[str] = None,
lb: Optional[str] = None,
pool: Optional[str] = None,
port: Optional[float] = None,
provisioning_status: Optional[str] = None,
related_crn: Optional[str] = None,
target_address: Optional[str] = None,
target_id: Optional[str] = None,
timeouts: Optional[IsLbPoolMemberTimeoutsArgs] = None,
weight: Optional[float] = None) -> IsLbPoolMember
func GetIsLbPoolMember(ctx *Context, name string, id IDInput, state *IsLbPoolMemberState, opts ...ResourceOption) (*IsLbPoolMember, error)
public static IsLbPoolMember Get(string name, Input<string> id, IsLbPoolMemberState? state, CustomResourceOptions? opts = null)
public static IsLbPoolMember get(String name, Output<String> id, IsLbPoolMemberState state, CustomResourceOptions options)
resources: _: type: ibm:IsLbPoolMember get: 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.
- Health string
- (String) The health of the server member in the pool.
- Href string
- (String) The member’s canonical URL.
- Is
Lb stringPool Member Id - (String) The unique identifier of the load balancer pool member.
- Lb string
- The load balancer unique identifier.
- Pool string
- The load balancer pool unique identifier.
- Port double
- The port number of the application running in the server member.
- Provisioning
Status string - Load balancer Pool member provisioning status
- string
- The crn of the LB resource
- Target
Address string - The IP address of the pool member.
- Target
Id string - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- Timeouts
Is
Lb Pool Member Timeouts - Weight double
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- Health string
- (String) The health of the server member in the pool.
- Href string
- (String) The member’s canonical URL.
- Is
Lb stringPool Member Id - (String) The unique identifier of the load balancer pool member.
- Lb string
- The load balancer unique identifier.
- Pool string
- The load balancer pool unique identifier.
- Port float64
- The port number of the application running in the server member.
- Provisioning
Status string - Load balancer Pool member provisioning status
- string
- The crn of the LB resource
- Target
Address string - The IP address of the pool member.
- Target
Id string - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- Timeouts
Is
Lb Pool Member Timeouts Args - Weight float64
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- health String
- (String) The health of the server member in the pool.
- href String
- (String) The member’s canonical URL.
- is
Lb StringPool Member Id - (String) The unique identifier of the load balancer pool member.
- lb String
- The load balancer unique identifier.
- pool String
- The load balancer pool unique identifier.
- port Double
- The port number of the application running in the server member.
- provisioning
Status String - Load balancer Pool member provisioning status
- String
- The crn of the LB resource
- target
Address String - The IP address of the pool member.
- target
Id String - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts
Is
Lb Pool Member Timeouts - weight Double
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- health string
- (String) The health of the server member in the pool.
- href string
- (String) The member’s canonical URL.
- is
Lb stringPool Member Id - (String) The unique identifier of the load balancer pool member.
- lb string
- The load balancer unique identifier.
- pool string
- The load balancer pool unique identifier.
- port number
- The port number of the application running in the server member.
- provisioning
Status string - Load balancer Pool member provisioning status
- string
- The crn of the LB resource
- target
Address string - The IP address of the pool member.
- target
Id string - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts
Is
Lb Pool Member Timeouts - weight number
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- health str
- (String) The health of the server member in the pool.
- href str
- (String) The member’s canonical URL.
- is_
lb_ strpool_ member_ id - (String) The unique identifier of the load balancer pool member.
- lb str
- The load balancer unique identifier.
- pool str
- The load balancer pool unique identifier.
- port float
- The port number of the application running in the server member.
- provisioning_
status str - Load balancer Pool member provisioning status
- str
- The crn of the LB resource
- target_
address str - The IP address of the pool member.
- target_
id str - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts
Is
Lb Pool Member Timeouts Args - weight float
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
- health String
- (String) The health of the server member in the pool.
- href String
- (String) The member’s canonical URL.
- is
Lb StringPool Member Id - (String) The unique identifier of the load balancer pool member.
- lb String
- The load balancer unique identifier.
- pool String
- The load balancer pool unique identifier.
- port Number
- The port number of the application running in the server member.
- provisioning
Status String - Load balancer Pool member provisioning status
- String
- The crn of the LB resource
- target
Address String - The IP address of the pool member.
- target
Id String - The unique identifier for the virtual server instance or application load balancer pool member. Required for network load balancer.
- timeouts Property Map
- weight Number
- Weight of the server member. This option takes effect only when the load-balancing algorithm of its belonging pool is
weighted_round_robin
, Minimum allowed weight is0
and Maximum allowed weight is100
. Default: 50, Weight of the server member. Applicable only if the pool algorithm is weighted_round_robin.
Supporting Types
IsLbPoolMemberTimeouts, IsLbPoolMemberTimeoutsArgs
Import
The ibm_is_lb_pool_member
resource can be imported by using the load balancer ID, pool ID, pool member ID.
Syntax
$ pulumi import ibm:index/isLbPoolMember:IsLbPoolMember example <loadbalancer_ID>/<pool_ID>/<pool_member_ID>
Example
$ pulumi import ibm:index/isLbPoolMember:IsLbPoolMember example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770bbf3ebb/gfe6651a-bc0a-5538-8h8a-b0770bbf32cc
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.