ibm 1.83.0-beta0 published on Monday, Sep 15, 2025 by ibm-cloud
ibm.getCmAccount
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a cm_account. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cmAccount = ibm.getCmAccount({});
import pulumi
import pulumi_ibm as ibm
cm_account = ibm.get_cm_account()
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.LookupCmAccount(ctx, &ibm.LookupCmAccountArgs{}, 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 cmAccount = Ibm.GetCmAccount.Invoke();
});
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.GetCmAccountArgs;
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 cmAccount = IbmFunctions.getCmAccount();
}
}
variables:
cmAccount:
fn::invoke:
function: ibm:getCmAccount
arguments: {}
Using getCmAccount
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 getCmAccount(args: GetCmAccountArgs, opts?: InvokeOptions): Promise<GetCmAccountResult>
function getCmAccountOutput(args: GetCmAccountOutputArgs, opts?: InvokeOptions): Output<GetCmAccountResult>
def get_cm_account(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCmAccountResult
def get_cm_account_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCmAccountResult]
func LookupCmAccount(ctx *Context, args *LookupCmAccountArgs, opts ...InvokeOption) (*LookupCmAccountResult, error)
func LookupCmAccountOutput(ctx *Context, args *LookupCmAccountOutputArgs, opts ...InvokeOption) LookupCmAccountResultOutput
> Note: This function is named LookupCmAccount
in the Go SDK.
public static class GetCmAccount
{
public static Task<GetCmAccountResult> InvokeAsync(GetCmAccountArgs args, InvokeOptions? opts = null)
public static Output<GetCmAccountResult> Invoke(GetCmAccountInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCmAccountResult> getCmAccount(GetCmAccountArgs args, InvokeOptions options)
public static Output<GetCmAccountResult> getCmAccount(GetCmAccountArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCmAccount:getCmAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The unique identifier of the cm_account.
- Id string
- The unique identifier of the cm_account.
- id String
- The unique identifier of the cm_account.
- id string
- The unique identifier of the cm_account.
- id str
- The unique identifier of the cm_account.
- id String
- The unique identifier of the cm_account.
getCmAccount Result
The following output properties are available:
- Account
Filters List<GetCm Account Account Filter> - (List) Filters for account and catalog filters. Nested schema for account_filters:
- Hide
Ibm boolCloud Catalog - (Boolean) Hide the public catalog in this account.
- Id string
- The unique identifier of the cm_account.
- Region
Filter string - (String) Region filter string.
- Rev string
- (String) Cloudant revision.
- Terraform
Engines List<GetCm Account Terraform Engine>
- Account
Filters []GetCm Account Account Filter - (List) Filters for account and catalog filters. Nested schema for account_filters:
- Hide
Ibm boolCloud Catalog - (Boolean) Hide the public catalog in this account.
- Id string
- The unique identifier of the cm_account.
- Region
Filter string - (String) Region filter string.
- Rev string
- (String) Cloudant revision.
- Terraform
Engines []GetCm Account Terraform Engine
- account
Filters List<GetCm Account Account Filter> - (List) Filters for account and catalog filters. Nested schema for account_filters:
- hide
Ibm BooleanCloud Catalog - (Boolean) Hide the public catalog in this account.
- id String
- The unique identifier of the cm_account.
- region
Filter String - (String) Region filter string.
- rev String
- (String) Cloudant revision.
- terraform
Engines List<GetCm Account Terraform Engine>
- account
Filters GetCm Account Account Filter[] - (List) Filters for account and catalog filters. Nested schema for account_filters:
- hide
Ibm booleanCloud Catalog - (Boolean) Hide the public catalog in this account.
- id string
- The unique identifier of the cm_account.
- region
Filter string - (String) Region filter string.
- rev string
- (String) Cloudant revision.
- terraform
Engines GetCm Account Terraform Engine[]
- account_
filters Sequence[GetCm Account Account Filter] - (List) Filters for account and catalog filters. Nested schema for account_filters:
- hide_
ibm_ boolcloud_ catalog - (Boolean) Hide the public catalog in this account.
- id str
- The unique identifier of the cm_account.
- region_
filter str - (String) Region filter string.
- rev str
- (String) Cloudant revision.
- terraform_
engines Sequence[GetCm Account Terraform Engine]
- account
Filters List<Property Map> - (List) Filters for account and catalog filters. Nested schema for account_filters:
- hide
Ibm BooleanCloud Catalog - (Boolean) Hide the public catalog in this account.
- id String
- The unique identifier of the cm_account.
- region
Filter String - (String) Region filter string.
- rev String
- (String) Cloudant revision.
- terraform
Engines List<Property Map>
Supporting Types
GetCmAccountAccountFilter
- Category
Filters List<GetCm Account Account Filter Category Filter> - (List) Filter against offering properties. Nested schema for category_filters:
- Id
Filters List<GetCm Account Account Filter Id Filter> - (List) Filter on offering ID's. There is an include filter and an exclule filter. Both can be set. Nested schema for id_filters:
- Include
All bool - (Boolean) > true - Include all of the public catalog when filtering. Further settings will specifically exclude some offerings. false - Exclude all of the public catalog when filtering. Further settings will specifically include some offerings.
- Category
Filters []GetCm Account Account Filter Category Filter - (List) Filter against offering properties. Nested schema for category_filters:
- Id
Filters []GetCm Account Account Filter Id Filter - (List) Filter on offering ID's. There is an include filter and an exclule filter. Both can be set. Nested schema for id_filters:
- Include
All bool - (Boolean) > true - Include all of the public catalog when filtering. Further settings will specifically exclude some offerings. false - Exclude all of the public catalog when filtering. Further settings will specifically include some offerings.
- category
Filters List<GetCm Account Account Filter Category Filter> - (List) Filter against offering properties. Nested schema for category_filters:
- id
Filters List<GetCm Account Account Filter Id Filter> - (List) Filter on offering ID's. There is an include filter and an exclule filter. Both can be set. Nested schema for id_filters:
- include
All Boolean - (Boolean) > true - Include all of the public catalog when filtering. Further settings will specifically exclude some offerings. false - Exclude all of the public catalog when filtering. Further settings will specifically include some offerings.
- category
Filters GetCm Account Account Filter Category Filter[] - (List) Filter against offering properties. Nested schema for category_filters:
- id
Filters GetCm Account Account Filter Id Filter[] - (List) Filter on offering ID's. There is an include filter and an exclule filter. Both can be set. Nested schema for id_filters:
- include
All boolean - (Boolean) > true - Include all of the public catalog when filtering. Further settings will specifically exclude some offerings. false - Exclude all of the public catalog when filtering. Further settings will specifically include some offerings.
- category_
filters Sequence[GetCm Account Account Filter Category Filter] - (List) Filter against offering properties. Nested schema for category_filters:
- id_
filters Sequence[GetCm Account Account Filter Id Filter] - (List) Filter on offering ID's. There is an include filter and an exclule filter. Both can be set. Nested schema for id_filters:
- include_
all bool - (Boolean) > true - Include all of the public catalog when filtering. Further settings will specifically exclude some offerings. false - Exclude all of the public catalog when filtering. Further settings will specifically include some offerings.
- category
Filters List<Property Map> - (List) Filter against offering properties. Nested schema for category_filters:
- id
Filters List<Property Map> - (List) Filter on offering ID's. There is an include filter and an exclule filter. Both can be set. Nested schema for id_filters:
- include
All Boolean - (Boolean) > true - Include all of the public catalog when filtering. Further settings will specifically exclude some offerings. false - Exclude all of the public catalog when filtering. Further settings will specifically include some offerings.
GetCmAccountAccountFilterCategoryFilter
- Category
Name string - (String) Name of the category.
- Filters
List<Get
Cm Account Account Filter Category Filter Filter> - (List) Filter terms related to the category. Nested schema for filter:
- Include bool
- (List) Offering filter terms. Nested schema for include:
- Category
Name string - (String) Name of the category.
- Filters
[]Get
Cm Account Account Filter Category Filter Filter - (List) Filter terms related to the category. Nested schema for filter:
- Include bool
- (List) Offering filter terms. Nested schema for include:
- category
Name String - (String) Name of the category.
- filters
List<Get
Cm Account Account Filter Category Filter Filter> - (List) Filter terms related to the category. Nested schema for filter:
- include Boolean
- (List) Offering filter terms. Nested schema for include:
- category
Name string - (String) Name of the category.
- filters
Get
Cm Account Account Filter Category Filter Filter[] - (List) Filter terms related to the category. Nested schema for filter:
- include boolean
- (List) Offering filter terms. Nested schema for include:
- category_
name str - (String) Name of the category.
- filters
Sequence[Get
Cm Account Account Filter Category Filter Filter] - (List) Filter terms related to the category. Nested schema for filter:
- include bool
- (List) Offering filter terms. Nested schema for include:
- category
Name String - (String) Name of the category.
- filters List<Property Map>
- (List) Filter terms related to the category. Nested schema for filter:
- include Boolean
- (List) Offering filter terms. Nested schema for include:
GetCmAccountAccountFilterCategoryFilterFilter
- Filter
Terms List<string> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- Filter
Terms []string - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms List<String> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms string[] - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter_
terms Sequence[str] - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms List<String> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
GetCmAccountAccountFilterIdFilter
- Excludes
List<Get
Cm Account Account Filter Id Filter Exclude> - (List) Offering filter terms. Nested schema for exclude:
- Includes
List<Get
Cm Account Account Filter Id Filter Include> - (List) Offering filter terms. Nested schema for include:
- Excludes
[]Get
Cm Account Account Filter Id Filter Exclude - (List) Offering filter terms. Nested schema for exclude:
- Includes
[]Get
Cm Account Account Filter Id Filter Include - (List) Offering filter terms. Nested schema for include:
- excludes
List<Get
Cm Account Account Filter Id Filter Exclude> - (List) Offering filter terms. Nested schema for exclude:
- includes
List<Get
Cm Account Account Filter Id Filter Include> - (List) Offering filter terms. Nested schema for include:
- excludes
Get
Cm Account Account Filter Id Filter Exclude[] - (List) Offering filter terms. Nested schema for exclude:
- includes
Get
Cm Account Account Filter Id Filter Include[] - (List) Offering filter terms. Nested schema for include:
- excludes
Sequence[Get
Cm Account Account Filter Id Filter Exclude] - (List) Offering filter terms. Nested schema for exclude:
- includes
Sequence[Get
Cm Account Account Filter Id Filter Include] - (List) Offering filter terms. Nested schema for include:
- excludes List<Property Map>
- (List) Offering filter terms. Nested schema for exclude:
- includes List<Property Map>
- (List) Offering filter terms. Nested schema for include:
GetCmAccountAccountFilterIdFilterExclude
- Filter
Terms List<string> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- Filter
Terms []string - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms List<String> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms string[] - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter_
terms Sequence[str] - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms List<String> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
GetCmAccountAccountFilterIdFilterInclude
- Filter
Terms List<string> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- Filter
Terms []string - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms List<String> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms string[] - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter_
terms Sequence[str] - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
- filter
Terms List<String> - (List) List of values to match against. If include is true, then if the offering has one of the values then the offering is included. If include is false, then if the offering has one of the values then the offering is excluded.
GetCmAccountTerraformEngine
- Api
Token string - (String) The api key used to access the engine instance.
- Da
Creations List<GetCm Account Terraform Engine Da Creation> - Name string
- (String) User provided name for the specified engine.
- Private
Endpoint string - (String) The private endpoint for the engine instance.
- Public
Endpoint string - (String) The public endpoint for the engine instance.
- Type string
- Api
Token string - (String) The api key used to access the engine instance.
- Da
Creations []GetCm Account Terraform Engine Da Creation - Name string
- (String) User provided name for the specified engine.
- Private
Endpoint string - (String) The private endpoint for the engine instance.
- Public
Endpoint string - (String) The public endpoint for the engine instance.
- Type string
- api
Token String - (String) The api key used to access the engine instance.
- da
Creations List<GetCm Account Terraform Engine Da Creation> - name String
- (String) User provided name for the specified engine.
- private
Endpoint String - (String) The private endpoint for the engine instance.
- public
Endpoint String - (String) The public endpoint for the engine instance.
- type String
- api
Token string - (String) The api key used to access the engine instance.
- da
Creations GetCm Account Terraform Engine Da Creation[] - name string
- (String) User provided name for the specified engine.
- private
Endpoint string - (String) The private endpoint for the engine instance.
- public
Endpoint string - (String) The public endpoint for the engine instance.
- type string
- api_
token str - (String) The api key used to access the engine instance.
- da_
creations Sequence[GetCm Account Terraform Engine Da Creation] - name str
- (String) User provided name for the specified engine.
- private_
endpoint str - (String) The private endpoint for the engine instance.
- public_
endpoint str - (String) The public endpoint for the engine instance.
- type str
- api
Token String - (String) The api key used to access the engine instance.
- da
Creations List<Property Map> - name String
- (String) User provided name for the specified engine.
- private
Endpoint String - (String) The private endpoint for the engine instance.
- public
Endpoint String - (String) The public endpoint for the engine instance.
- type String
GetCmAccountTerraformEngineDaCreation
- Default
Private stringCatalog Id - (String) Default private catalog to create the deployable architectures in.
- Enabled bool
- (Boolean) Determines whether deployable architectures are auto-created from workspaces in the engine.
- Polling
Infos List<GetCm Account Terraform Engine Da Creation Polling Info> - (List) Determines which workspace scope to query to auto-create deployable architectures from. Nested schema for polling_info:
- Default
Private stringCatalog Id - (String) Default private catalog to create the deployable architectures in.
- Enabled bool
- (Boolean) Determines whether deployable architectures are auto-created from workspaces in the engine.
- Polling
Infos []GetCm Account Terraform Engine Da Creation Polling Info - (List) Determines which workspace scope to query to auto-create deployable architectures from. Nested schema for polling_info:
- default
Private StringCatalog Id - (String) Default private catalog to create the deployable architectures in.
- enabled Boolean
- (Boolean) Determines whether deployable architectures are auto-created from workspaces in the engine.
- polling
Infos List<GetCm Account Terraform Engine Da Creation Polling Info> - (List) Determines which workspace scope to query to auto-create deployable architectures from. Nested schema for polling_info:
- default
Private stringCatalog Id - (String) Default private catalog to create the deployable architectures in.
- enabled boolean
- (Boolean) Determines whether deployable architectures are auto-created from workspaces in the engine.
- polling
Infos GetCm Account Terraform Engine Da Creation Polling Info[] - (List) Determines which workspace scope to query to auto-create deployable architectures from. Nested schema for polling_info:
- default_
private_ strcatalog_ id - (String) Default private catalog to create the deployable architectures in.
- enabled bool
- (Boolean) Determines whether deployable architectures are auto-created from workspaces in the engine.
- polling_
infos Sequence[GetCm Account Terraform Engine Da Creation Polling Info] - (List) Determines which workspace scope to query to auto-create deployable architectures from. Nested schema for polling_info:
- default
Private StringCatalog Id - (String) Default private catalog to create the deployable architectures in.
- enabled Boolean
- (Boolean) Determines whether deployable architectures are auto-created from workspaces in the engine.
- polling
Infos List<Property Map> - (List) Determines which workspace scope to query to auto-create deployable architectures from. Nested schema for polling_info:
GetCmAccountTerraformEngineDaCreationPollingInfo
- Last
Polling List<GetStatuses Cm Account Terraform Engine Da Creation Polling Info Last Polling Status> - (List) Last polling status of the engine scope. Nested schema for last_polling_status:
- Scopes
List<Get
Cm Account Terraform Engine Da Creation Polling Info Scope> - (List) List of scopes to auto-create deployable architectures from workspaces in the engine. Nested schema for scopes:
- Last
Polling []GetStatuses Cm Account Terraform Engine Da Creation Polling Info Last Polling Status - (List) Last polling status of the engine scope. Nested schema for last_polling_status:
- Scopes
[]Get
Cm Account Terraform Engine Da Creation Polling Info Scope - (List) List of scopes to auto-create deployable architectures from workspaces in the engine. Nested schema for scopes:
- last
Polling List<GetStatuses Cm Account Terraform Engine Da Creation Polling Info Last Polling Status> - (List) Last polling status of the engine scope. Nested schema for last_polling_status:
- scopes
List<Get
Cm Account Terraform Engine Da Creation Polling Info Scope> - (List) List of scopes to auto-create deployable architectures from workspaces in the engine. Nested schema for scopes:
- last
Polling GetStatuses Cm Account Terraform Engine Da Creation Polling Info Last Polling Status[] - (List) Last polling status of the engine scope. Nested schema for last_polling_status:
- scopes
Get
Cm Account Terraform Engine Da Creation Polling Info Scope[] - (List) List of scopes to auto-create deployable architectures from workspaces in the engine. Nested schema for scopes:
- last_
polling_ Sequence[Getstatuses Cm Account Terraform Engine Da Creation Polling Info Last Polling Status] - (List) Last polling status of the engine scope. Nested schema for last_polling_status:
- scopes
Sequence[Get
Cm Account Terraform Engine Da Creation Polling Info Scope] - (List) List of scopes to auto-create deployable architectures from workspaces in the engine. Nested schema for scopes:
- last
Polling List<Property Map>Statuses - (List) Last polling status of the engine scope. Nested schema for last_polling_status:
- scopes List<Property Map>
- (List) List of scopes to auto-create deployable architectures from workspaces in the engine. Nested schema for scopes:
GetCmAccountTerraformEngineDaCreationPollingInfoLastPollingStatus
GetCmAccountTerraformEngineDaCreationPollingInfoScope
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.