ibm 1.78.0 published on Wednesday, Apr 30, 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",
});
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.
- Instance
Name string - The name of the instance registration.
- Id string
- Cluster string
- The name or ID of the cluster.
- Instance
Name string - The name of the instance registration.
- Id string
- cluster String
- The name or ID of the cluster.
- instance
Name String - The name of the instance registration.
- id String
- cluster string
- The name or ID of the cluster.
- instance
Name 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.
- instance
Name String - The name of the instance registration.
- id String
getContainerIngressInstance Result
The following output properties are available:
- Cluster string
- Id string
- Instance
Crn string - (String) The unique identifier of the instance.
- Instance
Name string - Instance
Type string - (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 stringId - (String) The ID of the secret group if set.
- Secret
Group stringName - (String) The name of the secret group if set.
- Status string
- (String) Indicates the status of the instance registration.
- User
Managed bool - (Bool) Indicates the user created and registered the instance.
- Cluster string
- Id string
- Instance
Crn string - (String) The unique identifier of the instance.
- Instance
Name string - Instance
Type string - (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 stringId - (String) The ID of the secret group if set.
- Secret
Group stringName - (String) The name of the secret group if set.
- Status string
- (String) Indicates the status of the instance registration.
- User
Managed bool - (Bool) Indicates the user created and registered the instance.
- cluster String
- id String
- instance
Crn String - (String) The unique identifier of the instance.
- instance
Name String - instance
Type String - (String) Indicate whether the instance is of type Secrets Manager
- is
Default Boolean - (Bool) Indicates whether the instance is the registered default for the cluster.
- secret
Group StringId - (String) The ID of the secret group if set.
- secret
Group StringName - (String) The name of the secret group if set.
- status String
- (String) Indicates the status of the instance registration.
- user
Managed Boolean - (Bool) Indicates the user created and registered the instance.
- cluster string
- id string
- instance
Crn string - (String) The unique identifier of the instance.
- instance
Name string - instance
Type string - (String) Indicate whether the instance is of type Secrets Manager
- is
Default boolean - (Bool) Indicates whether the instance is the registered default for the cluster.
- secret
Group stringId - (String) The ID of the secret group if set.
- secret
Group stringName - (String) The name of the secret group if set.
- status string
- (String) Indicates the status of the instance registration.
- user
Managed 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_ strid - (String) The ID of the secret group if set.
- secret_
group_ strname - (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
- instance
Crn String - (String) The unique identifier of the instance.
- instance
Name String - instance
Type String - (String) Indicate whether the instance is of type Secrets Manager
- is
Default Boolean - (Bool) Indicates whether the instance is the registered default for the cluster.
- secret
Group StringId - (String) The ID of the secret group if set.
- secret
Group StringName - (String) The name of the secret group if set.
- status String
- (String) Indicates the status of the instance registration.
- user
Managed 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.