1. Packages
  2. Ibm Provider
  3. API Docs
  4. getContainerIngressInstance
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getContainerIngressInstance

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_ibm as ibm

instance = ibm.get_container_ingress_instance(cluster="mycluster",
    instance_name="myinstance")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  instance:
    fn::invoke:
      function: ibm:getContainerIngressInstance
      arguments:
        cluster: mycluster
        instanceName: myinstance
Copy

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>
Copy
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]
Copy
func LookupContainerIngressInstance(ctx *Context, args *LookupContainerIngressInstanceArgs, opts ...InvokeOption) (*LookupContainerIngressInstanceResult, error)
func LookupContainerIngressInstanceOutput(ctx *Context, args *LookupContainerIngressInstanceOutputArgs, opts ...InvokeOption) LookupContainerIngressInstanceResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetContainerIngressInstanceResult> getContainerIngressInstance(GetContainerIngressInstanceArgs args, InvokeOptions options)
public static Output<GetContainerIngressInstanceResult> getContainerIngressInstance(GetContainerIngressInstanceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getContainerIngressInstance:getContainerIngressInstance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Cluster This property is required. string
The name or ID of the cluster.
InstanceName This property is required. string
The name of the instance registration.
Id string
Cluster This property is required. string
The name or ID of the cluster.
InstanceName This property is required. string
The name of the instance registration.
Id string
cluster This property is required. String
The name or ID of the cluster.
instanceName This property is required. String
The name of the instance registration.
id String
cluster This property is required. string
The name or ID of the cluster.
instanceName This property is required. string
The name of the instance registration.
id string
cluster This property is required. str
The name or ID of the cluster.
instance_name This property is required. str
The name of the instance registration.
id str
cluster This property is required. String
The name or ID of the cluster.
instanceName This property is required. 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.