1. Packages
  2. Ibm Provider
  3. API Docs
  4. getContainerIngressInstance
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getContainerIngressInstance

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Get details about a registered IBM Cloud Secrets Manager instance for your cluster.

    Example Usage

    The following example retrieves information about the registered Secrets Manager instance that is named myinstance of a cluster that is named mycluster.

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const instance = ibm.getContainerIngressInstance({
        cluster: "mycluster",
        instanceName: "myinstance",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    instance = ibm.get_container_ingress_instance(cluster="mycluster",
        instance_name="myinstance")
    
    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.LookupContainerIngressInstance(ctx, &ibm.LookupContainerIngressInstanceArgs{
    			Cluster:      "mycluster",
    			InstanceName: "myinstance",
    		}, 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 instance = Ibm.GetContainerIngressInstance.Invoke(new()
        {
            Cluster = "mycluster",
            InstanceName = "myinstance",
        });
    
    });
    
    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.GetContainerIngressInstanceArgs;
    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 instance = IbmFunctions.getContainerIngressInstance(GetContainerIngressInstanceArgs.builder()
                .cluster("mycluster")
                .instanceName("myinstance")
                .build());
    
        }
    }
    
    variables:
      instance:
        fn::invoke:
          function: ibm:getContainerIngressInstance
          arguments:
            cluster: mycluster
            instanceName: myinstance
    

    Using getContainerIngressInstance

    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 getContainerIngressInstance(args: GetContainerIngressInstanceArgs, opts?: InvokeOptions): Promise<GetContainerIngressInstanceResult>
    function getContainerIngressInstanceOutput(args: GetContainerIngressInstanceOutputArgs, opts?: InvokeOptions): Output<GetContainerIngressInstanceResult>
    def get_container_ingress_instance(cluster: Optional[str] = None,
                                       id: Optional[str] = None,
                                       instance_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetContainerIngressInstanceResult
    def get_container_ingress_instance_output(cluster: Optional[pulumi.Input[str]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       instance_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetContainerIngressInstanceResult]
    func LookupContainerIngressInstance(ctx *Context, args *LookupContainerIngressInstanceArgs, opts ...InvokeOption) (*LookupContainerIngressInstanceResult, error)
    func LookupContainerIngressInstanceOutput(ctx *Context, args *LookupContainerIngressInstanceOutputArgs, opts ...InvokeOption) LookupContainerIngressInstanceResultOutput

    > Note: This function is named LookupContainerIngressInstance in the Go SDK.

    public static class GetContainerIngressInstance 
    {
        public static Task<GetContainerIngressInstanceResult> InvokeAsync(GetContainerIngressInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetContainerIngressInstanceResult> Invoke(GetContainerIngressInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetContainerIngressInstanceResult> getContainerIngressInstance(GetContainerIngressInstanceArgs args, InvokeOptions options)
    public static Output<GetContainerIngressInstanceResult> getContainerIngressInstance(GetContainerIngressInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getContainerIngressInstance:getContainerIngressInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Cluster string
    The name or ID of the cluster.
    InstanceName string
    The name of the instance registration.
    Id string
    Cluster string
    The name or ID of the cluster.
    InstanceName string
    The name of the instance registration.
    Id string
    cluster String
    The name or ID of the cluster.
    instanceName String
    The name of the instance registration.
    id String
    cluster string
    The name or ID of the cluster.
    instanceName string
    The name of the instance registration.
    id string
    cluster str
    The name or ID of the cluster.
    instance_name str
    The name of the instance registration.
    id str
    cluster String
    The name or ID of the cluster.
    instanceName String
    The name of the instance registration.
    id String

    getContainerIngressInstance Result

    The following output properties are available:

    Cluster string
    Id string
    InstanceCrn string
    (String) The unique identifier of the instance.
    InstanceName string
    InstanceType string
    (String) Indicate whether the instance is of type Secrets Manager
    IsDefault bool
    (Bool) Indicates whether the instance is the registered default for the cluster.
    SecretGroupId string
    (String) The ID of the secret group if set.
    SecretGroupName string
    (String) The name of the secret group if set.
    Status string
    (String) Indicates the status of the instance registration.
    UserManaged bool
    (Bool) Indicates the user created and registered the instance.
    Cluster string
    Id string
    InstanceCrn string
    (String) The unique identifier of the instance.
    InstanceName string
    InstanceType string
    (String) Indicate whether the instance is of type Secrets Manager
    IsDefault bool
    (Bool) Indicates whether the instance is the registered default for the cluster.
    SecretGroupId string
    (String) The ID of the secret group if set.
    SecretGroupName string
    (String) The name of the secret group if set.
    Status string
    (String) Indicates the status of the instance registration.
    UserManaged bool
    (Bool) Indicates the user created and registered the instance.
    cluster String
    id String
    instanceCrn String
    (String) The unique identifier of the instance.
    instanceName String
    instanceType String
    (String) Indicate whether the instance is of type Secrets Manager
    isDefault Boolean
    (Bool) Indicates whether the instance is the registered default for the cluster.
    secretGroupId String
    (String) The ID of the secret group if set.
    secretGroupName String
    (String) The name of the secret group if set.
    status String
    (String) Indicates the status of the instance registration.
    userManaged Boolean
    (Bool) Indicates the user created and registered the instance.
    cluster string
    id string
    instanceCrn string
    (String) The unique identifier of the instance.
    instanceName string
    instanceType string
    (String) Indicate whether the instance is of type Secrets Manager
    isDefault boolean
    (Bool) Indicates whether the instance is the registered default for the cluster.
    secretGroupId string
    (String) The ID of the secret group if set.
    secretGroupName string
    (String) The name of the secret group if set.
    status string
    (String) Indicates the status of the instance registration.
    userManaged boolean
    (Bool) Indicates the user created and registered the instance.
    cluster str
    id str
    instance_crn str
    (String) The unique identifier of the instance.
    instance_name str
    instance_type str
    (String) Indicate whether the instance is of type Secrets Manager
    is_default bool
    (Bool) Indicates whether the instance is the registered default for the cluster.
    secret_group_id str
    (String) The ID of the secret group if set.
    secret_group_name str
    (String) The name of the secret group if set.
    status str
    (String) Indicates the status of the instance registration.
    user_managed bool
    (Bool) Indicates the user created and registered the instance.
    cluster String
    id String
    instanceCrn String
    (String) The unique identifier of the instance.
    instanceName String
    instanceType String
    (String) Indicate whether the instance is of type Secrets Manager
    isDefault Boolean
    (Bool) Indicates whether the instance is the registered default for the cluster.
    secretGroupId String
    (String) The ID of the secret group if set.
    secretGroupName String
    (String) The name of the secret group if set.
    status String
    (String) Indicates the status of the instance registration.
    userManaged Boolean
    (Bool) Indicates the user created and registered the instance.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud