ibm.IsLbPool
Explore with Pulumi AI
Create, update, or delete a VPC load balancer pool. For more information, about load balancer pool, see working with pool.
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.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "http",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "http",
proxyProtocol: "v1",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="http",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="http",
proxy_protocol="v1")
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.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("http"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("http"),
ProxyProtocol: pulumi.String("v1"),
})
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.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "http",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "http",
ProxyProtocol = "v1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("http")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("http")
.proxyProtocol("v1")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: http
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: http
proxyProtocol: v1
Sample to create a load balancer pool with https
protocol.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1")
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.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
})
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.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
In the following example, you can create a load balancer pool with app_cookie
session persistence:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
sessionPersistenceType: "app_cookie",
sessionPersistenceAppCookieName: "cookie1",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1",
session_persistence_type="app_cookie",
session_persistence_app_cookie_name="cookie1")
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.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
SessionPersistenceType: pulumi.String("app_cookie"),
SessionPersistenceAppCookieName: pulumi.String("cookie1"),
})
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.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
SessionPersistenceType = "app_cookie",
SessionPersistenceAppCookieName = "cookie1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.sessionPersistenceType("app_cookie")
.sessionPersistenceAppCookieName("cookie1")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
sessionPersistenceType: app_cookie
sessionPersistenceAppCookieName: cookie1
In the following example, you can create a load balancer pool with http_cookie
session persistence:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
sessionPersistenceType: "http_cookie",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1",
session_persistence_type="http_cookie")
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.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
SessionPersistenceType: pulumi.String("http_cookie"),
})
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.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
SessionPersistenceType = "http_cookie",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.sessionPersistenceType("http_cookie")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
sessionPersistenceType: http_cookie
In the following example, you can create a load balancer pool with source_ip
session persistence:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = new ibm.IsLbPool("example", {
lb: ibm_is_lb.example.id,
algorithm: "round_robin",
protocol: "https",
healthDelay: 60,
healthRetries: 5,
healthTimeout: 30,
healthType: "https",
proxyProtocol: "v1",
sessionPersistenceType: "source_ip",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsLbPool("example",
lb=ibm_is_lb["example"]["id"],
algorithm="round_robin",
protocol="https",
health_delay=60,
health_retries=5,
health_timeout=30,
health_type="https",
proxy_protocol="v1",
session_persistence_type="source_ip")
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.NewIsLbPool(ctx, "example", &ibm.IsLbPoolArgs{
Lb: pulumi.Any(ibm_is_lb.Example.Id),
Algorithm: pulumi.String("round_robin"),
Protocol: pulumi.String("https"),
HealthDelay: pulumi.Float64(60),
HealthRetries: pulumi.Float64(5),
HealthTimeout: pulumi.Float64(30),
HealthType: pulumi.String("https"),
ProxyProtocol: pulumi.String("v1"),
SessionPersistenceType: pulumi.String("source_ip"),
})
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.IsLbPool("example", new()
{
Lb = ibm_is_lb.Example.Id,
Algorithm = "round_robin",
Protocol = "https",
HealthDelay = 60,
HealthRetries = 5,
HealthTimeout = 30,
HealthType = "https",
ProxyProtocol = "v1",
SessionPersistenceType = "source_ip",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsLbPool;
import com.pulumi.ibm.IsLbPoolArgs;
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 IsLbPool("example", IsLbPoolArgs.builder()
.lb(ibm_is_lb.example().id())
.algorithm("round_robin")
.protocol("https")
.healthDelay(60)
.healthRetries(5)
.healthTimeout(30)
.healthType("https")
.proxyProtocol("v1")
.sessionPersistenceType("source_ip")
.build());
}
}
resources:
example:
type: ibm:IsLbPool
properties:
lb: ${ibm_is_lb.example.id}
algorithm: round_robin
protocol: https
healthDelay: 60
healthRetries: 5
healthTimeout: 30
healthType: https
proxyProtocol: v1
sessionPersistenceType: source_ip
Create IsLbPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsLbPool(name: string, args: IsLbPoolArgs, opts?: CustomResourceOptions);
@overload
def IsLbPool(resource_name: str,
args: IsLbPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsLbPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
health_type: Optional[str] = None,
protocol: Optional[str] = None,
health_delay: Optional[float] = None,
lb: Optional[str] = None,
algorithm: Optional[str] = None,
health_retries: Optional[float] = None,
health_timeout: Optional[float] = None,
is_lb_pool_id: Optional[str] = None,
health_monitor_url: Optional[str] = None,
health_monitor_port: Optional[float] = None,
name: Optional[str] = None,
failsafe_policy: Optional[IsLbPoolFailsafePolicyArgs] = None,
proxy_protocol: Optional[str] = None,
session_persistence_app_cookie_name: Optional[str] = None,
session_persistence_type: Optional[str] = None,
timeouts: Optional[IsLbPoolTimeoutsArgs] = None)
func NewIsLbPool(ctx *Context, name string, args IsLbPoolArgs, opts ...ResourceOption) (*IsLbPool, error)
public IsLbPool(string name, IsLbPoolArgs args, CustomResourceOptions? opts = null)
public IsLbPool(String name, IsLbPoolArgs args)
public IsLbPool(String name, IsLbPoolArgs args, CustomResourceOptions options)
type: ibm:IsLbPool
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 IsLbPoolArgs
- 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 IsLbPoolArgs
- 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 IsLbPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsLbPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsLbPoolArgs
- 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 isLbPoolResource = new Ibm.IsLbPool("isLbPoolResource", new()
{
HealthType = "string",
Protocol = "string",
HealthDelay = 0,
Lb = "string",
Algorithm = "string",
HealthRetries = 0,
HealthTimeout = 0,
IsLbPoolId = "string",
HealthMonitorUrl = "string",
HealthMonitorPort = 0,
Name = "string",
FailsafePolicy = new Ibm.Inputs.IsLbPoolFailsafePolicyArgs
{
Action = "string",
HealthyMemberThresholdCount = 0,
Target = new Ibm.Inputs.IsLbPoolFailsafePolicyTargetArgs
{
Deleteds = new[]
{
new Ibm.Inputs.IsLbPoolFailsafePolicyTargetDeletedArgs
{
MoreInfo = "string",
},
},
Href = "string",
Id = "string",
Name = "string",
},
},
ProxyProtocol = "string",
SessionPersistenceAppCookieName = "string",
SessionPersistenceType = "string",
Timeouts = new Ibm.Inputs.IsLbPoolTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewIsLbPool(ctx, "isLbPoolResource", &ibm.IsLbPoolArgs{
HealthType: pulumi.String("string"),
Protocol: pulumi.String("string"),
HealthDelay: pulumi.Float64(0),
Lb: pulumi.String("string"),
Algorithm: pulumi.String("string"),
HealthRetries: pulumi.Float64(0),
HealthTimeout: pulumi.Float64(0),
IsLbPoolId: pulumi.String("string"),
HealthMonitorUrl: pulumi.String("string"),
HealthMonitorPort: pulumi.Float64(0),
Name: pulumi.String("string"),
FailsafePolicy: &ibm.IsLbPoolFailsafePolicyArgs{
Action: pulumi.String("string"),
HealthyMemberThresholdCount: pulumi.Float64(0),
Target: &ibm.IsLbPoolFailsafePolicyTargetArgs{
Deleteds: ibm.IsLbPoolFailsafePolicyTargetDeletedArray{
&ibm.IsLbPoolFailsafePolicyTargetDeletedArgs{
MoreInfo: pulumi.String("string"),
},
},
Href: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
ProxyProtocol: pulumi.String("string"),
SessionPersistenceAppCookieName: pulumi.String("string"),
SessionPersistenceType: pulumi.String("string"),
Timeouts: &ibm.IsLbPoolTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var isLbPoolResource = new IsLbPool("isLbPoolResource", IsLbPoolArgs.builder()
.healthType("string")
.protocol("string")
.healthDelay(0)
.lb("string")
.algorithm("string")
.healthRetries(0)
.healthTimeout(0)
.isLbPoolId("string")
.healthMonitorUrl("string")
.healthMonitorPort(0)
.name("string")
.failsafePolicy(IsLbPoolFailsafePolicyArgs.builder()
.action("string")
.healthyMemberThresholdCount(0)
.target(IsLbPoolFailsafePolicyTargetArgs.builder()
.deleteds(IsLbPoolFailsafePolicyTargetDeletedArgs.builder()
.moreInfo("string")
.build())
.href("string")
.id("string")
.name("string")
.build())
.build())
.proxyProtocol("string")
.sessionPersistenceAppCookieName("string")
.sessionPersistenceType("string")
.timeouts(IsLbPoolTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
is_lb_pool_resource = ibm.IsLbPool("isLbPoolResource",
health_type="string",
protocol="string",
health_delay=0,
lb="string",
algorithm="string",
health_retries=0,
health_timeout=0,
is_lb_pool_id="string",
health_monitor_url="string",
health_monitor_port=0,
name="string",
failsafe_policy={
"action": "string",
"healthy_member_threshold_count": 0,
"target": {
"deleteds": [{
"more_info": "string",
}],
"href": "string",
"id": "string",
"name": "string",
},
},
proxy_protocol="string",
session_persistence_app_cookie_name="string",
session_persistence_type="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const isLbPoolResource = new ibm.IsLbPool("isLbPoolResource", {
healthType: "string",
protocol: "string",
healthDelay: 0,
lb: "string",
algorithm: "string",
healthRetries: 0,
healthTimeout: 0,
isLbPoolId: "string",
healthMonitorUrl: "string",
healthMonitorPort: 0,
name: "string",
failsafePolicy: {
action: "string",
healthyMemberThresholdCount: 0,
target: {
deleteds: [{
moreInfo: "string",
}],
href: "string",
id: "string",
name: "string",
},
},
proxyProtocol: "string",
sessionPersistenceAppCookieName: "string",
sessionPersistenceType: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:IsLbPool
properties:
algorithm: string
failsafePolicy:
action: string
healthyMemberThresholdCount: 0
target:
deleteds:
- moreInfo: string
href: string
id: string
name: string
healthDelay: 0
healthMonitorPort: 0
healthMonitorUrl: string
healthRetries: 0
healthTimeout: 0
healthType: string
isLbPoolId: string
lb: string
name: string
protocol: string
proxyProtocol: string
sessionPersistenceAppCookieName: string
sessionPersistenceType: string
timeouts:
create: string
delete: string
update: string
IsLbPool 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 IsLbPool resource accepts the following input properties:
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - Health
Delay double - The health check interval in seconds. Interval must be greater than
timeout
value. - Health
Retries double - The health check max retries.
- Health
Timeout double - The health check timeout in seconds.
- Health
Type string - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - Lb string
- The load balancer unique identifier.
- Protocol string
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - Failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- Health
Monitor doublePort - The health check port number. Specify
0
to remove an existing health check port. - Health
Monitor stringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Name string
- The name of the pool.
- Proxy
Protocol string - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - string
- Session persistence app cookie name. This is applicable only to app_cookie type.
- Session
Persistence stringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- Timeouts
Is
Lb Pool Timeouts
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - Health
Delay float64 - The health check interval in seconds. Interval must be greater than
timeout
value. - Health
Retries float64 - The health check max retries.
- Health
Timeout float64 - The health check timeout in seconds.
- Health
Type string - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - Lb string
- The load balancer unique identifier.
- Protocol string
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - Failsafe
Policy IsLb Pool Failsafe Policy Args - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- Health
Monitor float64Port - The health check port number. Specify
0
to remove an existing health check port. - Health
Monitor stringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Name string
- The name of the pool.
- Proxy
Protocol string - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - string
- Session persistence app cookie name. This is applicable only to app_cookie type.
- Session
Persistence stringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- Timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - health
Delay Double - The health check interval in seconds. Interval must be greater than
timeout
value. - health
Retries Double - The health check max retries.
- health
Timeout Double - The health check timeout in seconds.
- health
Type String - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - lb String
- The load balancer unique identifier.
- protocol String
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health
Monitor DoublePort - The health check port number. Specify
0
to remove an existing health check port. - health
Monitor StringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- name String
- The name of the pool.
- proxy
Protocol String - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - String
- Session persistence app cookie name. This is applicable only to app_cookie type.
- session
Persistence StringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts
Is
Lb Pool Timeouts
- algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - health
Delay number - The health check interval in seconds. Interval must be greater than
timeout
value. - health
Retries number - The health check max retries.
- health
Timeout number - The health check timeout in seconds.
- health
Type string - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - lb string
- The load balancer unique identifier.
- protocol string
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health
Monitor numberPort - The health check port number. Specify
0
to remove an existing health check port. - health
Monitor stringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- name string
- The name of the pool.
- proxy
Protocol string - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - string
- Session persistence app cookie name. This is applicable only to app_cookie type.
- session
Persistence stringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts
Is
Lb Pool Timeouts
- algorithm str
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - health_
delay float - The health check interval in seconds. Interval must be greater than
timeout
value. - health_
retries float - The health check max retries.
- health_
timeout float - The health check timeout in seconds.
- health_
type str - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - lb str
- The load balancer unique identifier.
- protocol str
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - failsafe_
policy IsLb Pool Failsafe Policy Args - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health_
monitor_ floatport - The health check port number. Specify
0
to remove an existing health check port. - health_
monitor_ strurl - The health check URL. This option is applicable only to the HTTP
health-type
. - is_
lb_ strpool_ id - (String) The unique identifier for this load balancer pool.
- name str
- The name of the pool.
- proxy_
protocol str - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - str
- Session persistence app cookie name. This is applicable only to app_cookie type.
- session_
persistence_ strtype - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - health
Delay Number - The health check interval in seconds. Interval must be greater than
timeout
value. - health
Retries Number - The health check max retries.
- health
Timeout Number - The health check timeout in seconds.
- health
Type String - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - lb String
- The load balancer unique identifier.
- protocol String
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - failsafe
Policy Property Map - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health
Monitor NumberPort - The health check port number. Specify
0
to remove an existing health check port. - health
Monitor StringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- name String
- The name of the pool.
- proxy
Protocol String - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - String
- Session persistence app cookie name. This is applicable only to app_cookie type.
- session
Persistence StringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IsLbPool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Pool
Id string - (String) ID of the load balancer pool.
- Provisioning
Status string - (String) The status of load balancer pool.
- string
- (String) The CRN of the load balancer resource.
- string
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pool
Id string - (String) ID of the load balancer pool.
- Provisioning
Status string - (String) The status of load balancer pool.
- string
- (String) The CRN of the load balancer resource.
- string
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- id String
- The provider-assigned unique ID for this managed resource.
- pool
Id String - (String) ID of the load balancer pool.
- provisioning
Status String - (String) The status of load balancer pool.
- String
- (String) The CRN of the load balancer resource.
- String
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- id string
- The provider-assigned unique ID for this managed resource.
- pool
Id string - (String) ID of the load balancer pool.
- provisioning
Status string - (String) The status of load balancer pool.
- string
- (String) The CRN of the load balancer resource.
- string
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- id str
- The provider-assigned unique ID for this managed resource.
- pool_
id str - (String) ID of the load balancer pool.
- provisioning_
status str - (String) The status of load balancer pool.
- str
- (String) The CRN of the load balancer resource.
- str
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- id String
- The provider-assigned unique ID for this managed resource.
- pool
Id String - (String) ID of the load balancer pool.
- provisioning
Status String - (String) The status of load balancer pool.
- String
- (String) The CRN of the load balancer resource.
- String
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
Look up Existing IsLbPool Resource
Get an existing IsLbPool 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?: IsLbPoolState, opts?: CustomResourceOptions): IsLbPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
algorithm: Optional[str] = None,
failsafe_policy: Optional[IsLbPoolFailsafePolicyArgs] = None,
health_delay: Optional[float] = None,
health_monitor_port: Optional[float] = None,
health_monitor_url: Optional[str] = None,
health_retries: Optional[float] = None,
health_timeout: Optional[float] = None,
health_type: Optional[str] = None,
is_lb_pool_id: Optional[str] = None,
lb: Optional[str] = None,
name: Optional[str] = None,
pool_id: Optional[str] = None,
protocol: Optional[str] = None,
provisioning_status: Optional[str] = None,
proxy_protocol: Optional[str] = None,
related_crn: Optional[str] = None,
session_persistence_app_cookie_name: Optional[str] = None,
session_persistence_http_cookie_name: Optional[str] = None,
session_persistence_type: Optional[str] = None,
timeouts: Optional[IsLbPoolTimeoutsArgs] = None) -> IsLbPool
func GetIsLbPool(ctx *Context, name string, id IDInput, state *IsLbPoolState, opts ...ResourceOption) (*IsLbPool, error)
public static IsLbPool Get(string name, Input<string> id, IsLbPoolState? state, CustomResourceOptions? opts = null)
public static IsLbPool get(String name, Output<String> id, IsLbPoolState state, CustomResourceOptions options)
resources: _: type: ibm:IsLbPool 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.
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - Failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- Health
Delay double - The health check interval in seconds. Interval must be greater than
timeout
value. - Health
Monitor doublePort - The health check port number. Specify
0
to remove an existing health check port. - Health
Monitor stringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - Health
Retries double - The health check max retries.
- Health
Timeout double - The health check timeout in seconds.
- Health
Type string - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Lb string
- The load balancer unique identifier.
- Name string
- The name of the pool.
- Pool
Id string - (String) ID of the load balancer pool.
- Protocol string
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - Provisioning
Status string - (String) The status of load balancer pool.
- Proxy
Protocol string - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - string
- (String) The CRN of the load balancer resource.
- string
- Session persistence app cookie name. This is applicable only to app_cookie type.
- string
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- Session
Persistence stringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- Timeouts
Is
Lb Pool Timeouts
- Algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - Failsafe
Policy IsLb Pool Failsafe Policy Args - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- Health
Delay float64 - The health check interval in seconds. Interval must be greater than
timeout
value. - Health
Monitor float64Port - The health check port number. Specify
0
to remove an existing health check port. - Health
Monitor stringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - Health
Retries float64 - The health check max retries.
- Health
Timeout float64 - The health check timeout in seconds.
- Health
Type string - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - Is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- Lb string
- The load balancer unique identifier.
- Name string
- The name of the pool.
- Pool
Id string - (String) ID of the load balancer pool.
- Protocol string
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - Provisioning
Status string - (String) The status of load balancer pool.
- Proxy
Protocol string - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - string
- (String) The CRN of the load balancer resource.
- string
- Session persistence app cookie name. This is applicable only to app_cookie type.
- string
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- Session
Persistence stringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- Timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health
Delay Double - The health check interval in seconds. Interval must be greater than
timeout
value. - health
Monitor DoublePort - The health check port number. Specify
0
to remove an existing health check port. - health
Monitor StringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - health
Retries Double - The health check max retries.
- health
Timeout Double - The health check timeout in seconds.
- health
Type String - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- lb String
- The load balancer unique identifier.
- name String
- The name of the pool.
- pool
Id String - (String) ID of the load balancer pool.
- protocol String
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - provisioning
Status String - (String) The status of load balancer pool.
- proxy
Protocol String - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - String
- (String) The CRN of the load balancer resource.
- String
- Session persistence app cookie name. This is applicable only to app_cookie type.
- String
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- session
Persistence StringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts
Is
Lb Pool Timeouts
- algorithm string
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - failsafe
Policy IsLb Pool Failsafe Policy - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health
Delay number - The health check interval in seconds. Interval must be greater than
timeout
value. - health
Monitor numberPort - The health check port number. Specify
0
to remove an existing health check port. - health
Monitor stringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - health
Retries number - The health check max retries.
- health
Timeout number - The health check timeout in seconds.
- health
Type string - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - is
Lb stringPool Id - (String) The unique identifier for this load balancer pool.
- lb string
- The load balancer unique identifier.
- name string
- The name of the pool.
- pool
Id string - (String) ID of the load balancer pool.
- protocol string
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - provisioning
Status string - (String) The status of load balancer pool.
- proxy
Protocol string - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - string
- (String) The CRN of the load balancer resource.
- string
- Session persistence app cookie name. This is applicable only to app_cookie type.
- string
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- session
Persistence stringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts
Is
Lb Pool Timeouts
- algorithm str
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - failsafe_
policy IsLb Pool Failsafe Policy Args - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health_
delay float - The health check interval in seconds. Interval must be greater than
timeout
value. - health_
monitor_ floatport - The health check port number. Specify
0
to remove an existing health check port. - health_
monitor_ strurl - The health check URL. This option is applicable only to the HTTP
health-type
. - health_
retries float - The health check max retries.
- health_
timeout float - The health check timeout in seconds.
- health_
type str - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - is_
lb_ strpool_ id - (String) The unique identifier for this load balancer pool.
- lb str
- The load balancer unique identifier.
- name str
- The name of the pool.
- pool_
id str - (String) ID of the load balancer pool.
- protocol str
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - provisioning_
status str - (String) The status of load balancer pool.
- proxy_
protocol str - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - str
- (String) The CRN of the load balancer resource.
- str
- Session persistence app cookie name. This is applicable only to app_cookie type.
- str
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- session_
persistence_ strtype - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts
Is
Lb Pool Timeouts Args
- algorithm String
- The load-balancing algorithm. Supported values are
round_robin
,weighted_round_robin
, orleast_connections
. - failsafe
Policy Property Map - The failsafe policy to use for this pool. If unspecified, the default failsafe policy action from the profile will be used. Nested schema for failsafe_policy:
- health
Delay Number - The health check interval in seconds. Interval must be greater than
timeout
value. - health
Monitor NumberPort - The health check port number. Specify
0
to remove an existing health check port. - health
Monitor StringUrl - The health check URL. This option is applicable only to the HTTP
health-type
. - health
Retries Number - The health check max retries.
- health
Timeout Number - The health check timeout in seconds.
- health
Type String - The pool protocol. Enumeration type:
http
,https
,tcp
are supported. - is
Lb StringPool Id - (String) The unique identifier for this load balancer pool.
- lb String
- The load balancer unique identifier.
- name String
- The name of the pool.
- pool
Id String - (String) ID of the load balancer pool.
- protocol String
- The pool protocol. Enumeration type:
http
,https
,tcp
,udp
are supported. - provisioning
Status String - (String) The status of load balancer pool.
- proxy
Protocol String - The proxy protocol setting for the pool that is supported by the load balancers in the application family. Valid values are
disabled
,v1
, andv2
. Default value isdisabled
. - String
- (String) The CRN of the load balancer resource.
- String
- Session persistence app cookie name. This is applicable only to app_cookie type.
- String
- (String) HTTP cookie name for session persistence. Only applicable for http_cookie session persistence type.
- session
Persistence StringType - The session persistence type, Enumeration type: source_ip, app_cookie, http_cookie
- timeouts Property Map
Supporting Types
IsLbPoolFailsafePolicy, IsLbPoolFailsafePolicyArgs
- Action string
- A load balancer failsafe policy action:-
forward
: Forwards requests to thetarget
pool.-fail
: Rejects requests with an HTTP503
status code.The enumerated values for this property mayexpand in the future. - Healthy
Member doubleThreshold Count - (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always
0
, but may be modifiable in the future. The minimum value is0
. - Target
Is
Lb Pool Failsafe Policy Target - If
action
isforward
, the target pool to forward to.Ifaction
isfail
, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
- Action string
- A load balancer failsafe policy action:-
forward
: Forwards requests to thetarget
pool.-fail
: Rejects requests with an HTTP503
status code.The enumerated values for this property mayexpand in the future. - Healthy
Member float64Threshold Count - (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always
0
, but may be modifiable in the future. The minimum value is0
. - Target
Is
Lb Pool Failsafe Policy Target - If
action
isforward
, the target pool to forward to.Ifaction
isfail
, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
- action String
- A load balancer failsafe policy action:-
forward
: Forwards requests to thetarget
pool.-fail
: Rejects requests with an HTTP503
status code.The enumerated values for this property mayexpand in the future. - healthy
Member DoubleThreshold Count - (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always
0
, but may be modifiable in the future. The minimum value is0
. - target
Is
Lb Pool Failsafe Policy Target - If
action
isforward
, the target pool to forward to.Ifaction
isfail
, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
- action string
- A load balancer failsafe policy action:-
forward
: Forwards requests to thetarget
pool.-fail
: Rejects requests with an HTTP503
status code.The enumerated values for this property mayexpand in the future. - healthy
Member numberThreshold Count - (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always
0
, but may be modifiable in the future. The minimum value is0
. - target
Is
Lb Pool Failsafe Policy Target - If
action
isforward
, the target pool to forward to.Ifaction
isfail
, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
- action str
- A load balancer failsafe policy action:-
forward
: Forwards requests to thetarget
pool.-fail
: Rejects requests with an HTTP503
status code.The enumerated values for this property mayexpand in the future. - healthy_
member_ floatthreshold_ count - (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always
0
, but may be modifiable in the future. The minimum value is0
. - target
Is
Lb Pool Failsafe Policy Target - If
action
isforward
, the target pool to forward to.Ifaction
isfail
, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
- action String
- A load balancer failsafe policy action:-
forward
: Forwards requests to thetarget
pool.-fail
: Rejects requests with an HTTP503
status code.The enumerated values for this property mayexpand in the future. - healthy
Member NumberThreshold Count - (Integer) The healthy member count at which the failsafe policy action will be triggered. At present, this is always
0
, but may be modifiable in the future. The minimum value is0
. - target Property Map
- If
action
isforward
, the target pool to forward to.Ifaction
isfail
, this property will be absent.The targets supported by this property mayexpand in the future. Nested schema for target:
IsLbPoolFailsafePolicyTarget, IsLbPoolFailsafePolicyTargetArgs
- Deleteds
List<Is
Lb Pool Failsafe Policy Target Deleted> - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this load balancer pool. Mutually exclusive with
id
. On update, specify "null" to remove an existing failsafe target pool. - Id string
- The unique identifier for this load balancer pool. Mutually exclusive with
href
. On update, specify "null" to remove an existing failsafe target pool. - Name string
- The name of the pool.
- Deleteds
[]Is
Lb Pool Failsafe Policy Target Deleted - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- The URL for this load balancer pool. Mutually exclusive with
id
. On update, specify "null" to remove an existing failsafe target pool. - Id string
- The unique identifier for this load balancer pool. Mutually exclusive with
href
. On update, specify "null" to remove an existing failsafe target pool. - Name string
- The name of the pool.
- deleteds
List<Is
Lb Pool Failsafe Policy Target Deleted> - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this load balancer pool. Mutually exclusive with
id
. On update, specify "null" to remove an existing failsafe target pool. - id String
- The unique identifier for this load balancer pool. Mutually exclusive with
href
. On update, specify "null" to remove an existing failsafe target pool. - name String
- The name of the pool.
- deleteds
Is
Lb Pool Failsafe Policy Target Deleted[] - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- The URL for this load balancer pool. Mutually exclusive with
id
. On update, specify "null" to remove an existing failsafe target pool. - id string
- The unique identifier for this load balancer pool. Mutually exclusive with
href
. On update, specify "null" to remove an existing failsafe target pool. - name string
- The name of the pool.
- deleteds
Sequence[Is
Lb Pool Failsafe Policy Target Deleted] - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- The URL for this load balancer pool. Mutually exclusive with
id
. On update, specify "null" to remove an existing failsafe target pool. - id str
- The unique identifier for this load balancer pool. Mutually exclusive with
href
. On update, specify "null" to remove an existing failsafe target pool. - name str
- The name of the pool.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- The URL for this load balancer pool. Mutually exclusive with
id
. On update, specify "null" to remove an existing failsafe target pool. - id String
- The unique identifier for this load balancer pool. Mutually exclusive with
href
. On update, specify "null" to remove an existing failsafe target pool. - name String
- The name of the pool.
IsLbPoolFailsafePolicyTargetDeleted, IsLbPoolFailsafePolicyTargetDeletedArgs
- 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.
IsLbPoolTimeouts, IsLbPoolTimeoutsArgs
Import
The ibm_is_lb_pool
resource can be imported by using the load balancer ID and pool ID.
Syntax
$ pulumi import ibm:index/isLbPool:IsLbPool example <loadbalancer_ID>/<pool_ID>
Example
$ pulumi import ibm:index/isLbPool:IsLbPool example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770bbf3ebb
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.