ibm.getIsLbProfile
Explore with Pulumi AI
Retrieve information of an existing IBM Cloud infrastructure load balancer profile as a read-only data source. For more information, about infrastructure load balance profile, see managing security and compliance with load balancers for VPC.
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
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsLbProfile({
name: "network-fixed",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_lb_profile(name="network-fixed")
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.GetIsLbProfile(ctx, &ibm.GetIsLbProfileArgs{
Name: "network-fixed",
}, 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.GetIsLbProfile.Invoke(new()
{
Name = "network-fixed",
});
});
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.GetIsLbProfileArgs;
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.getIsLbProfile(GetIsLbProfileArgs.builder()
.name("network-fixed")
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsLbProfile
arguments:
name: network-fixed
Using getIsLbProfile
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 getIsLbProfile(args: GetIsLbProfileArgs, opts?: InvokeOptions): Promise<GetIsLbProfileResult>
function getIsLbProfileOutput(args: GetIsLbProfileOutputArgs, opts?: InvokeOptions): Output<GetIsLbProfileResult>
def get_is_lb_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsLbProfileResult
def get_is_lb_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsLbProfileResult]
func GetIsLbProfile(ctx *Context, args *GetIsLbProfileArgs, opts ...InvokeOption) (*GetIsLbProfileResult, error)
func GetIsLbProfileOutput(ctx *Context, args *GetIsLbProfileOutputArgs, opts ...InvokeOption) GetIsLbProfileResultOutput
> Note: This function is named GetIsLbProfile
in the Go SDK.
public static class GetIsLbProfile
{
public static Task<GetIsLbProfileResult> InvokeAsync(GetIsLbProfileArgs args, InvokeOptions? opts = null)
public static Output<GetIsLbProfileResult> Invoke(GetIsLbProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsLbProfileResult> getIsLbProfile(GetIsLbProfileArgs args, InvokeOptions options)
public static Output<GetIsLbProfileResult> getIsLbProfile(GetIsLbProfileArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsLbProfile:getIsLbProfile
arguments:
# arguments dictionary
The following arguments are supported:
getIsLbProfile Result
The following output properties are available:
- Access
Modes List<GetIs Lb Profile Access Mode> - (List) The instance groups support for a load balancer with this profile.
- Failsafe
Policy List<GetActions Is Lb Profile Failsafe Policy Action> - (List) The failsafe policy configuration for a load balancer with this profile.
- Family string
- (String) The product family this load balancer profile belongs to.
- Href string
- (String) The URL for this load balancer profile.
- Id string
- (String) The id(
name
) for this load balancer profile. - Name string
- (String) The name for this load balancer profile.
- Route
Mode boolSupported - (Bool) The route mode support for a load balancer with this profile.
- Route
Mode stringType - (String) The route mode type for this load balancer profile, one of [fixed, dependent]
- Targetable
Load List<GetBalancer Profiles Is Lb Profile Targetable Load Balancer Profile> - (List) The load balancer profiles that load balancers with this profile can target.
Nested scheme for
targetable_load_balancer_profiles
: - Udp
Supported bool - (Bool) The UDP support for a load balancer with this profile.
- Udp
Supported stringType - (String) The UDP support type for a load balancer with this profile, one of [fixed, dependent]
- Access
Modes []GetIs Lb Profile Access Mode - (List) The instance groups support for a load balancer with this profile.
- Failsafe
Policy []GetActions Is Lb Profile Failsafe Policy Action - (List) The failsafe policy configuration for a load balancer with this profile.
- Family string
- (String) The product family this load balancer profile belongs to.
- Href string
- (String) The URL for this load balancer profile.
- Id string
- (String) The id(
name
) for this load balancer profile. - Name string
- (String) The name for this load balancer profile.
- Route
Mode boolSupported - (Bool) The route mode support for a load balancer with this profile.
- Route
Mode stringType - (String) The route mode type for this load balancer profile, one of [fixed, dependent]
- Targetable
Load []GetBalancer Profiles Is Lb Profile Targetable Load Balancer Profile - (List) The load balancer profiles that load balancers with this profile can target.
Nested scheme for
targetable_load_balancer_profiles
: - Udp
Supported bool - (Bool) The UDP support for a load balancer with this profile.
- Udp
Supported stringType - (String) The UDP support type for a load balancer with this profile, one of [fixed, dependent]
- access
Modes List<GetIs Lb Profile Access Mode> - (List) The instance groups support for a load balancer with this profile.
- failsafe
Policy List<GetActions Is Lb Profile Failsafe Policy Action> - (List) The failsafe policy configuration for a load balancer with this profile.
- family String
- (String) The product family this load balancer profile belongs to.
- href String
- (String) The URL for this load balancer profile.
- id String
- (String) The id(
name
) for this load balancer profile. - name String
- (String) The name for this load balancer profile.
- route
Mode BooleanSupported - (Bool) The route mode support for a load balancer with this profile.
- route
Mode StringType - (String) The route mode type for this load balancer profile, one of [fixed, dependent]
- targetable
Load List<GetBalancer Profiles Is Lb Profile Targetable Load Balancer Profile> - (List) The load balancer profiles that load balancers with this profile can target.
Nested scheme for
targetable_load_balancer_profiles
: - udp
Supported Boolean - (Bool) The UDP support for a load balancer with this profile.
- udp
Supported StringType - (String) The UDP support type for a load balancer with this profile, one of [fixed, dependent]
- access
Modes GetIs Lb Profile Access Mode[] - (List) The instance groups support for a load balancer with this profile.
- failsafe
Policy GetActions Is Lb Profile Failsafe Policy Action[] - (List) The failsafe policy configuration for a load balancer with this profile.
- family string
- (String) The product family this load balancer profile belongs to.
- href string
- (String) The URL for this load balancer profile.
- id string
- (String) The id(
name
) for this load balancer profile. - name string
- (String) The name for this load balancer profile.
- route
Mode booleanSupported - (Bool) The route mode support for a load balancer with this profile.
- route
Mode stringType - (String) The route mode type for this load balancer profile, one of [fixed, dependent]
- targetable
Load GetBalancer Profiles Is Lb Profile Targetable Load Balancer Profile[] - (List) The load balancer profiles that load balancers with this profile can target.
Nested scheme for
targetable_load_balancer_profiles
: - udp
Supported boolean - (Bool) The UDP support for a load balancer with this profile.
- udp
Supported stringType - (String) The UDP support type for a load balancer with this profile, one of [fixed, dependent]
- access_
modes Sequence[GetIs Lb Profile Access Mode] - (List) The instance groups support for a load balancer with this profile.
- failsafe_
policy_ Sequence[Getactions Is Lb Profile Failsafe Policy Action] - (List) The failsafe policy configuration for a load balancer with this profile.
- family str
- (String) The product family this load balancer profile belongs to.
- href str
- (String) The URL for this load balancer profile.
- id str
- (String) The id(
name
) for this load balancer profile. - name str
- (String) The name for this load balancer profile.
- route_
mode_ boolsupported - (Bool) The route mode support for a load balancer with this profile.
- route_
mode_ strtype - (String) The route mode type for this load balancer profile, one of [fixed, dependent]
- targetable_
load_ Sequence[Getbalancer_ profiles Is Lb Profile Targetable Load Balancer Profile] - (List) The load balancer profiles that load balancers with this profile can target.
Nested scheme for
targetable_load_balancer_profiles
: - udp_
supported bool - (Bool) The UDP support for a load balancer with this profile.
- udp_
supported_ strtype - (String) The UDP support type for a load balancer with this profile, one of [fixed, dependent]
- access
Modes List<Property Map> - (List) The instance groups support for a load balancer with this profile.
- failsafe
Policy List<Property Map>Actions - (List) The failsafe policy configuration for a load balancer with this profile.
- family String
- (String) The product family this load balancer profile belongs to.
- href String
- (String) The URL for this load balancer profile.
- id String
- (String) The id(
name
) for this load balancer profile. - name String
- (String) The name for this load balancer profile.
- route
Mode BooleanSupported - (Bool) The route mode support for a load balancer with this profile.
- route
Mode StringType - (String) The route mode type for this load balancer profile, one of [fixed, dependent]
- targetable
Load List<Property Map>Balancer Profiles - (List) The load balancer profiles that load balancers with this profile can target.
Nested scheme for
targetable_load_balancer_profiles
: - udp
Supported Boolean - (Bool) The UDP support for a load balancer with this profile.
- udp
Supported StringType - (String) The UDP support type for a load balancer with this profile, one of [fixed, dependent]
Supporting Types
GetIsLbProfileAccessMode
GetIsLbProfileFailsafePolicyAction
GetIsLbProfileTargetableLoadBalancerProfile
- Family string
- (String) The product family this load balancer profile belongs to.
- Href string
- (String) The URL for this load balancer profile.
- Name string
- The name of the load balancer profile. This will fetch only one profile if it exists with the
name
and profile can be accessed usingdata.ibm_is_lb_profile.profile.lb_profile.0
- Family string
- (String) The product family this load balancer profile belongs to.
- Href string
- (String) The URL for this load balancer profile.
- Name string
- The name of the load balancer profile. This will fetch only one profile if it exists with the
name
and profile can be accessed usingdata.ibm_is_lb_profile.profile.lb_profile.0
- family String
- (String) The product family this load balancer profile belongs to.
- href String
- (String) The URL for this load balancer profile.
- name String
- The name of the load balancer profile. This will fetch only one profile if it exists with the
name
and profile can be accessed usingdata.ibm_is_lb_profile.profile.lb_profile.0
- family string
- (String) The product family this load balancer profile belongs to.
- href string
- (String) The URL for this load balancer profile.
- name string
- The name of the load balancer profile. This will fetch only one profile if it exists with the
name
and profile can be accessed usingdata.ibm_is_lb_profile.profile.lb_profile.0
- family str
- (String) The product family this load balancer profile belongs to.
- href str
- (String) The URL for this load balancer profile.
- name str
- The name of the load balancer profile. This will fetch only one profile if it exists with the
name
and profile can be accessed usingdata.ibm_is_lb_profile.profile.lb_profile.0
- family String
- (String) The product family this load balancer profile belongs to.
- href String
- (String) The URL for this load balancer profile.
- name String
- The name of the load balancer profile. This will fetch only one profile if it exists with the
name
and profile can be accessed usingdata.ibm_is_lb_profile.profile.lb_profile.0
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.