ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCmOfferingInstance
Explore with Pulumi AI
Provides a read-only data source for ibm.CmOfferingInstance
. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cmOfferingInstance = ibm.getCmOfferingInstance({
instanceIdentifier: "instance_identifier",
});
import pulumi
import pulumi_ibm as ibm
cm_offering_instance = ibm.get_cm_offering_instance(instance_identifier="instance_identifier")
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.LookupCmOfferingInstance(ctx, &ibm.LookupCmOfferingInstanceArgs{
InstanceIdentifier: "instance_identifier",
}, 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 cmOfferingInstance = Ibm.GetCmOfferingInstance.Invoke(new()
{
InstanceIdentifier = "instance_identifier",
});
});
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.GetCmOfferingInstanceArgs;
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 cmOfferingInstance = IbmFunctions.getCmOfferingInstance(GetCmOfferingInstanceArgs.builder()
.instanceIdentifier("instance_identifier")
.build());
}
}
variables:
cmOfferingInstance:
fn::invoke:
function: ibm:getCmOfferingInstance
arguments:
instanceIdentifier: instance_identifier
Using getCmOfferingInstance
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 getCmOfferingInstance(args: GetCmOfferingInstanceArgs, opts?: InvokeOptions): Promise<GetCmOfferingInstanceResult>
function getCmOfferingInstanceOutput(args: GetCmOfferingInstanceOutputArgs, opts?: InvokeOptions): Output<GetCmOfferingInstanceResult>
def get_cm_offering_instance(id: Optional[str] = None,
instance_identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCmOfferingInstanceResult
def get_cm_offering_instance_output(id: Optional[pulumi.Input[str]] = None,
instance_identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCmOfferingInstanceResult]
func LookupCmOfferingInstance(ctx *Context, args *LookupCmOfferingInstanceArgs, opts ...InvokeOption) (*LookupCmOfferingInstanceResult, error)
func LookupCmOfferingInstanceOutput(ctx *Context, args *LookupCmOfferingInstanceOutputArgs, opts ...InvokeOption) LookupCmOfferingInstanceResultOutput
> Note: This function is named LookupCmOfferingInstance
in the Go SDK.
public static class GetCmOfferingInstance
{
public static Task<GetCmOfferingInstanceResult> InvokeAsync(GetCmOfferingInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetCmOfferingInstanceResult> Invoke(GetCmOfferingInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCmOfferingInstanceResult> getCmOfferingInstance(GetCmOfferingInstanceArgs args, InvokeOptions options)
public static Output<GetCmOfferingInstanceResult> getCmOfferingInstance(GetCmOfferingInstanceArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCmOfferingInstance:getCmOfferingInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Identifier string - The version instance identifier.
- Id string
- (String) The unique identifier of the
ibm.CmOfferingInstance
.
- Instance
Identifier string - The version instance identifier.
- Id string
- (String) The unique identifier of the
ibm.CmOfferingInstance
.
- instance
Identifier String - The version instance identifier.
- id String
- (String) The unique identifier of the
ibm.CmOfferingInstance
.
- instance
Identifier string - The version instance identifier.
- id string
- (String) The unique identifier of the
ibm.CmOfferingInstance
.
- instance_
identifier str - The version instance identifier.
- id str
- (String) The unique identifier of the
ibm.CmOfferingInstance
.
- instance
Identifier String - The version instance identifier.
- id String
- (String) The unique identifier of the
ibm.CmOfferingInstance
.
getCmOfferingInstance Result
The following output properties are available:
- Catalog
Id string - (String) The catalog ID the instance that is created from.
- Channel string
- (String) Channel to target for the operator subscription. Required for operator bundles
- Cluster
All boolNamespaces - (String) Designate to install into all namespaces.
- Cluster
Id string - (String) The cluster ID.
- Cluster
Namespaces List<string> - (String) The list of target namespaces to install.
- Cluster
Region string - (String) The cluster region for example,
us-south
. - Crn string
- (String) The platform CRN for an instance.
- Id string
- (String) The unique identifier of the
ibm.CmOfferingInstance
. - Install
Plan string - (String) Install plan for the subscription of the operator- can be either Automatic or Manual. Required for operator bundles
- Instance
Identifier string - Kind
Format string - (String) The format this instance has such as
helm
,operator
. - Label string
- (String) The label for an instance.
- Offering
Id string - (String) The offering ID the instance that is created from.
- Parent
Crn string - (String) CRN of the parent instance.
- Plan
Id string - (String) The plan ID.
- Resource
Group stringId - (String) The ID of the resource group this instance was installed into
- Schematics
Workspace stringId - (String) The ID of the schematics workspace, for offering instances installed through schematics
- Url string
- (String) The URL reference to an object.
- Version string
- (String) The version an instance is installed from (but not from the version ID).
- _
rev string - (string) The cloudant revisionn of this object
- Catalog
Id string - (String) The catalog ID the instance that is created from.
- Channel string
- (String) Channel to target for the operator subscription. Required for operator bundles
- Cluster
All boolNamespaces - (String) Designate to install into all namespaces.
- Cluster
Id string - (String) The cluster ID.
- Cluster
Namespaces []string - (String) The list of target namespaces to install.
- Cluster
Region string - (String) The cluster region for example,
us-south
. - Crn string
- (String) The platform CRN for an instance.
- Id string
- (String) The unique identifier of the
ibm.CmOfferingInstance
. - Install
Plan string - (String) Install plan for the subscription of the operator- can be either Automatic or Manual. Required for operator bundles
- Instance
Identifier string - Kind
Format string - (String) The format this instance has such as
helm
,operator
. - Label string
- (String) The label for an instance.
- Offering
Id string - (String) The offering ID the instance that is created from.
- Parent
Crn string - (String) CRN of the parent instance.
- Plan
Id string - (String) The plan ID.
- Resource
Group stringId - (String) The ID of the resource group this instance was installed into
- Schematics
Workspace stringId - (String) The ID of the schematics workspace, for offering instances installed through schematics
- Url string
- (String) The URL reference to an object.
- Version string
- (String) The version an instance is installed from (but not from the version ID).
- _
rev string - (string) The cloudant revisionn of this object
- _
rev String - (string) The cloudant revisionn of this object
- catalog
Id String - (String) The catalog ID the instance that is created from.
- channel String
- (String) Channel to target for the operator subscription. Required for operator bundles
- cluster
All BooleanNamespaces - (String) Designate to install into all namespaces.
- cluster
Id String - (String) The cluster ID.
- cluster
Namespaces List<String> - (String) The list of target namespaces to install.
- cluster
Region String - (String) The cluster region for example,
us-south
. - crn String
- (String) The platform CRN for an instance.
- id String
- (String) The unique identifier of the
ibm.CmOfferingInstance
. - install
Plan String - (String) Install plan for the subscription of the operator- can be either Automatic or Manual. Required for operator bundles
- instance
Identifier String - kind
Format String - (String) The format this instance has such as
helm
,operator
. - label String
- (String) The label for an instance.
- offering
Id String - (String) The offering ID the instance that is created from.
- parent
Crn String - (String) CRN of the parent instance.
- plan
Id String - (String) The plan ID.
- resource
Group StringId - (String) The ID of the resource group this instance was installed into
- schematics
Workspace StringId - (String) The ID of the schematics workspace, for offering instances installed through schematics
- url String
- (String) The URL reference to an object.
- version String
- (String) The version an instance is installed from (but not from the version ID).
- _
rev string - (string) The cloudant revisionn of this object
- catalog
Id string - (String) The catalog ID the instance that is created from.
- channel string
- (String) Channel to target for the operator subscription. Required for operator bundles
- cluster
All booleanNamespaces - (String) Designate to install into all namespaces.
- cluster
Id string - (String) The cluster ID.
- cluster
Namespaces string[] - (String) The list of target namespaces to install.
- cluster
Region string - (String) The cluster region for example,
us-south
. - crn string
- (String) The platform CRN for an instance.
- id string
- (String) The unique identifier of the
ibm.CmOfferingInstance
. - install
Plan string - (String) Install plan for the subscription of the operator- can be either Automatic or Manual. Required for operator bundles
- instance
Identifier string - kind
Format string - (String) The format this instance has such as
helm
,operator
. - label string
- (String) The label for an instance.
- offering
Id string - (String) The offering ID the instance that is created from.
- parent
Crn string - (String) CRN of the parent instance.
- plan
Id string - (String) The plan ID.
- resource
Group stringId - (String) The ID of the resource group this instance was installed into
- schematics
Workspace stringId - (String) The ID of the schematics workspace, for offering instances installed through schematics
- url string
- (String) The URL reference to an object.
- version string
- (String) The version an instance is installed from (but not from the version ID).
- _
rev str - (string) The cloudant revisionn of this object
- catalog_
id str - (String) The catalog ID the instance that is created from.
- channel str
- (String) Channel to target for the operator subscription. Required for operator bundles
- cluster_
all_ boolnamespaces - (String) Designate to install into all namespaces.
- cluster_
id str - (String) The cluster ID.
- cluster_
namespaces Sequence[str] - (String) The list of target namespaces to install.
- cluster_
region str - (String) The cluster region for example,
us-south
. - crn str
- (String) The platform CRN for an instance.
- id str
- (String) The unique identifier of the
ibm.CmOfferingInstance
. - install_
plan str - (String) Install plan for the subscription of the operator- can be either Automatic or Manual. Required for operator bundles
- instance_
identifier str - kind_
format str - (String) The format this instance has such as
helm
,operator
. - label str
- (String) The label for an instance.
- offering_
id str - (String) The offering ID the instance that is created from.
- parent_
crn str - (String) CRN of the parent instance.
- plan_
id str - (String) The plan ID.
- resource_
group_ strid - (String) The ID of the resource group this instance was installed into
- schematics_
workspace_ strid - (String) The ID of the schematics workspace, for offering instances installed through schematics
- url str
- (String) The URL reference to an object.
- version str
- (String) The version an instance is installed from (but not from the version ID).
- _
rev String - (string) The cloudant revisionn of this object
- catalog
Id String - (String) The catalog ID the instance that is created from.
- channel String
- (String) Channel to target for the operator subscription. Required for operator bundles
- cluster
All BooleanNamespaces - (String) Designate to install into all namespaces.
- cluster
Id String - (String) The cluster ID.
- cluster
Namespaces List<String> - (String) The list of target namespaces to install.
- cluster
Region String - (String) The cluster region for example,
us-south
. - crn String
- (String) The platform CRN for an instance.
- id String
- (String) The unique identifier of the
ibm.CmOfferingInstance
. - install
Plan String - (String) Install plan for the subscription of the operator- can be either Automatic or Manual. Required for operator bundles
- instance
Identifier String - kind
Format String - (String) The format this instance has such as
helm
,operator
. - label String
- (String) The label for an instance.
- offering
Id String - (String) The offering ID the instance that is created from.
- parent
Crn String - (String) CRN of the parent instance.
- plan
Id String - (String) The plan ID.
- resource
Group StringId - (String) The ID of the resource group this instance was installed into
- schematics
Workspace StringId - (String) The ID of the schematics workspace, for offering instances installed through schematics
- url String
- (String) The URL reference to an object.
- version String
- (String) The version an instance is installed from (but not from the version ID).
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.