ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getContainerAlb
Retrieve information about all the Kubernetes cluster ALB on IBM Cloud as a read-only data source. For more information, about Ingress ALBs, see about Ingress ALBs
Example Usage
In the following example, you can retrive alb configurations :
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const alb = ibm.getContainerAlb({
    albId: "public-cr083d810e501d4c73b42184eab5a7ad56-alb",
});
import pulumi
import pulumi_ibm as ibm
alb = ibm.get_container_alb(alb_id="public-cr083d810e501d4c73b42184eab5a7ad56-alb")
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.LookupContainerAlb(ctx, &ibm.LookupContainerAlbArgs{
			AlbId: "public-cr083d810e501d4c73b42184eab5a7ad56-alb",
		}, 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 alb = Ibm.GetContainerAlb.Invoke(new()
    {
        AlbId = "public-cr083d810e501d4c73b42184eab5a7ad56-alb",
    });
});
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.GetContainerAlbArgs;
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 alb = IbmFunctions.getContainerAlb(GetContainerAlbArgs.builder()
            .albId("public-cr083d810e501d4c73b42184eab5a7ad56-alb")
            .build());
    }
}
variables:
  alb:
    fn::invoke:
      function: ibm:getContainerAlb
      arguments:
        albId: public-cr083d810e501d4c73b42184eab5a7ad56-alb
Using getContainerAlb
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 getContainerAlb(args: GetContainerAlbArgs, opts?: InvokeOptions): Promise<GetContainerAlbResult>
function getContainerAlbOutput(args: GetContainerAlbOutputArgs, opts?: InvokeOptions): Output<GetContainerAlbResult>def get_container_alb(alb_id: Optional[str] = None,
                      id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetContainerAlbResult
def get_container_alb_output(alb_id: Optional[pulumi.Input[str]] = None,
                      id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetContainerAlbResult]func LookupContainerAlb(ctx *Context, args *LookupContainerAlbArgs, opts ...InvokeOption) (*LookupContainerAlbResult, error)
func LookupContainerAlbOutput(ctx *Context, args *LookupContainerAlbOutputArgs, opts ...InvokeOption) LookupContainerAlbResultOutput> Note: This function is named LookupContainerAlb in the Go SDK.
public static class GetContainerAlb 
{
    public static Task<GetContainerAlbResult> InvokeAsync(GetContainerAlbArgs args, InvokeOptions? opts = null)
    public static Output<GetContainerAlbResult> Invoke(GetContainerAlbInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContainerAlbResult> getContainerAlb(GetContainerAlbArgs args, InvokeOptions options)
public static Output<GetContainerAlbResult> getContainerAlb(GetContainerAlbArgs args, InvokeOptions options)
fn::invoke:
  function: ibm:index/getContainerAlb:getContainerAlb
  arguments:
    # arguments dictionaryThe following arguments are supported:
getContainerAlb Result
The following output properties are available:
- Alb
Id string - Alb
Type string - (String) The ALB type.
 - Cluster string
 - (String) The name of the cluster.
 - Disable
Deployment bool - (String) Disable the ALB deployment details.
 - Enable bool
 - (String) Enable an ALB for the cluster.
 - Id string
 - (String) The ALB ID.
 - Name string
 - (String) The name of the ALB.
 - User
Ip string - (String) The IP address assigned by the user.
 - Zone string
 - (String) The name of the zone.
 
- Alb
Id string - Alb
Type string - (String) The ALB type.
 - Cluster string
 - (String) The name of the cluster.
 - Disable
Deployment bool - (String) Disable the ALB deployment details.
 - Enable bool
 - (String) Enable an ALB for the cluster.
 - Id string
 - (String) The ALB ID.
 - Name string
 - (String) The name of the ALB.
 - User
Ip string - (String) The IP address assigned by the user.
 - Zone string
 - (String) The name of the zone.
 
- alb
Id String - alb
Type String - (String) The ALB type.
 - cluster String
 - (String) The name of the cluster.
 - disable
Deployment Boolean - (String) Disable the ALB deployment details.
 - enable Boolean
 - (String) Enable an ALB for the cluster.
 - id String
 - (String) The ALB ID.
 - name String
 - (String) The name of the ALB.
 - user
Ip String - (String) The IP address assigned by the user.
 - zone String
 - (String) The name of the zone.
 
- alb
Id string - alb
Type string - (String) The ALB type.
 - cluster string
 - (String) The name of the cluster.
 - disable
Deployment boolean - (String) Disable the ALB deployment details.
 - enable boolean
 - (String) Enable an ALB for the cluster.
 - id string
 - (String) The ALB ID.
 - name string
 - (String) The name of the ALB.
 - user
Ip string - (String) The IP address assigned by the user.
 - zone string
 - (String) The name of the zone.
 
- alb_
id str - alb_
type str - (String) The ALB type.
 - cluster str
 - (String) The name of the cluster.
 - disable_
deployment bool - (String) Disable the ALB deployment details.
 - enable bool
 - (String) Enable an ALB for the cluster.
 - id str
 - (String) The ALB ID.
 - name str
 - (String) The name of the ALB.
 - user_
ip str - (String) The IP address assigned by the user.
 - zone str
 - (String) The name of the zone.
 
- alb
Id String - alb
Type String - (String) The ALB type.
 - cluster String
 - (String) The name of the cluster.
 - disable
Deployment Boolean - (String) Disable the ALB deployment details.
 - enable Boolean
 - (String) Enable an ALB for the cluster.
 - id String
 - (String) The ALB ID.
 - name String
 - (String) The name of the ALB.
 - user
Ip String - (String) The IP address assigned by the user.
 - zone String
 - (String) The name of the zone.
 
Package Details
- Repository
 - ibm ibm-cloud/terraform-provider-ibm
 - License
 - Notes
 - This Pulumi package is based on the 
ibmTerraform Provider. 
