ibm.getIsLbProfiles
Explore with Pulumi AI
Retrieve information of an existing IBM Cloud infrastructure load balancer profiles as a read-only data source. For more information, about infrastructure load balance profiles, 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.getIsLbProfiles({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_lb_profiles()
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.GetIsLbProfiles(ctx, &ibm.GetIsLbProfilesArgs{}, 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.GetIsLbProfiles.Invoke();
});
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.GetIsLbProfilesArgs;
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.getIsLbProfiles();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsLbProfiles
arguments: {}
Using getIsLbProfiles
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 getIsLbProfiles(args: GetIsLbProfilesArgs, opts?: InvokeOptions): Promise<GetIsLbProfilesResult>
function getIsLbProfilesOutput(args: GetIsLbProfilesOutputArgs, opts?: InvokeOptions): Output<GetIsLbProfilesResult>
def get_is_lb_profiles(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsLbProfilesResult
def get_is_lb_profiles_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsLbProfilesResult]
func GetIsLbProfiles(ctx *Context, args *GetIsLbProfilesArgs, opts ...InvokeOption) (*GetIsLbProfilesResult, error)
func GetIsLbProfilesOutput(ctx *Context, args *GetIsLbProfilesOutputArgs, opts ...InvokeOption) GetIsLbProfilesResultOutput
> Note: This function is named GetIsLbProfiles
in the Go SDK.
public static class GetIsLbProfiles
{
public static Task<GetIsLbProfilesResult> InvokeAsync(GetIsLbProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetIsLbProfilesResult> Invoke(GetIsLbProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsLbProfilesResult> getIsLbProfiles(GetIsLbProfilesArgs args, InvokeOptions options)
public static Output<GetIsLbProfilesResult> getIsLbProfiles(GetIsLbProfilesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsLbProfiles:getIsLbProfiles
arguments:
# arguments dictionary
The following arguments are supported:
getIsLbProfiles Result
The following output properties are available:
- Id string
- Lb
Profiles List<GetIs Lb Profiles Lb Profile> - (List) List of all load balancer profiles in the IBM Cloud Infrastructure.
- Name string
- (String) The name for this load balancer profile.
- Id string
- Lb
Profiles []GetIs Lb Profiles Lb Profile - (List) List of all load balancer profiles in the IBM Cloud Infrastructure.
- Name string
- (String) The name for this load balancer profile.
- id String
- lb
Profiles List<GetIs Lb Profiles Lb Profile> - (List) List of all load balancer profiles in the IBM Cloud Infrastructure.
- name String
- (String) The name for this load balancer profile.
- id string
- lb
Profiles GetIs Lb Profiles Lb Profile[] - (List) List of all load balancer profiles in the IBM Cloud Infrastructure.
- name string
- (String) The name for this load balancer profile.
- id str
- lb_
profiles Sequence[GetIs Lb Profiles Lb Profile] - (List) List of all load balancer profiles in the IBM Cloud Infrastructure.
- name str
- (String) The name for this load balancer profile.
- id String
- lb
Profiles List<Property Map> - (List) List of all load balancer profiles in the IBM Cloud Infrastructure.
- name String
- (String) The name for this load balancer profile.
Supporting Types
GetIsLbProfilesLbProfile
- Access
Modes List<GetIs Lb Profiles Lb Profile Access Mode> - (List) The instance groups support for a load balancer with this profile
- Availabilities
List<Get
Is Lb Profiles Lb Profile Availability> - (List) The availability mode for a load balancer with this profile
- Failsafe
Policy List<GetActions Is Lb Profiles 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.
- Instance
Groups List<GetSupporteds Is Lb Profiles Lb Profile Instance Groups Supported> - (List) The instance groups support for a load balancer with this 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_profiles.profile.lb_profiles.0
- 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]
- Source
Ip List<GetSession Persistence Supporteds Is Lb Profiles Lb Profile Source Ip Session Persistence Supported> - (List) The source IP session persistence support for a load balancer with this profile
- Targetable
Load List<GetBalancer Profiles Is Lb Profiles Lb Profile Targetable Load Balancer Profile> - (List) The load balancer profiles that load balancers with this profile can target
- 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 Profiles Lb Profile Access Mode - (List) The instance groups support for a load balancer with this profile
- Availabilities
[]Get
Is Lb Profiles Lb Profile Availability - (List) The availability mode for a load balancer with this profile
- Failsafe
Policy []GetActions Is Lb Profiles 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.
- Instance
Groups []GetSupporteds Is Lb Profiles Lb Profile Instance Groups Supported - (List) The instance groups support for a load balancer with this 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_profiles.profile.lb_profiles.0
- 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]
- Source
Ip []GetSession Persistence Supporteds Is Lb Profiles Lb Profile Source Ip Session Persistence Supported - (List) The source IP session persistence support for a load balancer with this profile
- Targetable
Load []GetBalancer Profiles Is Lb Profiles Lb Profile Targetable Load Balancer Profile - (List) The load balancer profiles that load balancers with this profile can target
- 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 Profiles Lb Profile Access Mode> - (List) The instance groups support for a load balancer with this profile
- availabilities
List<Get
Is Lb Profiles Lb Profile Availability> - (List) The availability mode for a load balancer with this profile
- failsafe
Policy List<GetActions Is Lb Profiles 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.
- instance
Groups List<GetSupporteds Is Lb Profiles Lb Profile Instance Groups Supported> - (List) The instance groups support for a load balancer with this 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_profiles.profile.lb_profiles.0
- 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]
- source
Ip List<GetSession Persistence Supporteds Is Lb Profiles Lb Profile Source Ip Session Persistence Supported> - (List) The source IP session persistence support for a load balancer with this profile
- targetable
Load List<GetBalancer Profiles Is Lb Profiles Lb Profile Targetable Load Balancer Profile> - (List) The load balancer profiles that load balancers with this profile can target
- 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 Profiles Lb Profile Access Mode[] - (List) The instance groups support for a load balancer with this profile
- availabilities
Get
Is Lb Profiles Lb Profile Availability[] - (List) The availability mode for a load balancer with this profile
- failsafe
Policy GetActions Is Lb Profiles 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.
- instance
Groups GetSupporteds Is Lb Profiles Lb Profile Instance Groups Supported[] - (List) The instance groups support for a load balancer with this 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_profiles.profile.lb_profiles.0
- 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]
- source
Ip GetSession Persistence Supporteds Is Lb Profiles Lb Profile Source Ip Session Persistence Supported[] - (List) The source IP session persistence support for a load balancer with this profile
- targetable
Load GetBalancer Profiles Is Lb Profiles Lb Profile Targetable Load Balancer Profile[] - (List) The load balancer profiles that load balancers with this profile can target
- 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 Profiles Lb Profile Access Mode] - (List) The instance groups support for a load balancer with this profile
- availabilities
Sequence[Get
Is Lb Profiles Lb Profile Availability] - (List) The availability mode for a load balancer with this profile
- failsafe_
policy_ Sequence[Getactions Is Lb Profiles 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.
- instance_
groups_ Sequence[Getsupporteds Is Lb Profiles Lb Profile Instance Groups Supported] - (List) The instance groups support for a load balancer with this 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_profiles.profile.lb_profiles.0
- 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]
- source_
ip_ Sequence[Getsession_ persistence_ supporteds Is Lb Profiles Lb Profile Source Ip Session Persistence Supported] - (List) The source IP session persistence support for a load balancer with this profile
- targetable_
load_ Sequence[Getbalancer_ profiles Is Lb Profiles Lb Profile Targetable Load Balancer Profile] - (List) The load balancer profiles that load balancers with this profile can target
- 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
- availabilities List<Property Map>
- (List) The availability mode 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.
- instance
Groups List<Property Map>Supporteds - (List) The instance groups support for a load balancer with this 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_profiles.profile.lb_profiles.0
- 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]
- source
Ip List<Property Map>Session Persistence Supporteds - (List) The source IP session persistence support for a load balancer with this profile
- targetable
Load List<Property Map>Balancer Profiles - (List) The load balancer profiles that load balancers with this profile can target
- 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]
GetIsLbProfilesLbProfileAccessMode
GetIsLbProfilesLbProfileAvailability
GetIsLbProfilesLbProfileFailsafePolicyAction
GetIsLbProfilesLbProfileInstanceGroupsSupported
GetIsLbProfilesLbProfileSourceIpSessionPersistenceSupported
GetIsLbProfilesLbProfileTargetableLoadBalancerProfile
- 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_profiles.profile.lb_profiles.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_profiles.profile.lb_profiles.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_profiles.profile.lb_profiles.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_profiles.profile.lb_profiles.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_profiles.profile.lb_profiles.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_profiles.profile.lb_profiles.0
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.