1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CapacityManagement
  5. getInternalOccmDemandSignalCatalogs
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.CapacityManagement.getInternalOccmDemandSignalCatalogs

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    This data source provides the list of Internal Occm Demand Signal Catalogs in Oracle Cloud Infrastructure Capacity Management service.

    This API will list demand signal catalogs for a given customer group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInternalOccmDemandSignalCatalogs = oci.CapacityManagement.getInternalOccmDemandSignalCatalogs({
        compartmentId: compartmentId,
        occCustomerGroupId: testOccCustomerGroup.id,
        displayName: internalOccmDemandSignalCatalogDisplayName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_internal_occm_demand_signal_catalogs = oci.CapacityManagement.get_internal_occm_demand_signal_catalogs(compartment_id=compartment_id,
        occ_customer_group_id=test_occ_customer_group["id"],
        display_name=internal_occm_demand_signal_catalog_display_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/capacitymanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := capacitymanagement.GetInternalOccmDemandSignalCatalogs(ctx, &capacitymanagement.GetInternalOccmDemandSignalCatalogsArgs{
    			CompartmentId:      compartmentId,
    			OccCustomerGroupId: testOccCustomerGroup.Id,
    			DisplayName:        pulumi.StringRef(internalOccmDemandSignalCatalogDisplayName),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testInternalOccmDemandSignalCatalogs = Oci.CapacityManagement.GetInternalOccmDemandSignalCatalogs.Invoke(new()
        {
            CompartmentId = compartmentId,
            OccCustomerGroupId = testOccCustomerGroup.Id,
            DisplayName = internalOccmDemandSignalCatalogDisplayName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.CapacityManagement.CapacityManagementFunctions;
    import com.pulumi.oci.CapacityManagement.inputs.GetInternalOccmDemandSignalCatalogsArgs;
    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 testInternalOccmDemandSignalCatalogs = CapacityManagementFunctions.getInternalOccmDemandSignalCatalogs(GetInternalOccmDemandSignalCatalogsArgs.builder()
                .compartmentId(compartmentId)
                .occCustomerGroupId(testOccCustomerGroup.id())
                .displayName(internalOccmDemandSignalCatalogDisplayName)
                .build());
    
        }
    }
    
    variables:
      testInternalOccmDemandSignalCatalogs:
        fn::invoke:
          function: oci:CapacityManagement:getInternalOccmDemandSignalCatalogs
          arguments:
            compartmentId: ${compartmentId}
            occCustomerGroupId: ${testOccCustomerGroup.id}
            displayName: ${internalOccmDemandSignalCatalogDisplayName}
    

    Using getInternalOccmDemandSignalCatalogs

    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 getInternalOccmDemandSignalCatalogs(args: GetInternalOccmDemandSignalCatalogsArgs, opts?: InvokeOptions): Promise<GetInternalOccmDemandSignalCatalogsResult>
    function getInternalOccmDemandSignalCatalogsOutput(args: GetInternalOccmDemandSignalCatalogsOutputArgs, opts?: InvokeOptions): Output<GetInternalOccmDemandSignalCatalogsResult>
    def get_internal_occm_demand_signal_catalogs(compartment_id: Optional[str] = None,
                                                 display_name: Optional[str] = None,
                                                 filters: Optional[Sequence[GetInternalOccmDemandSignalCatalogsFilter]] = None,
                                                 occ_customer_group_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetInternalOccmDemandSignalCatalogsResult
    def get_internal_occm_demand_signal_catalogs_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                 display_name: Optional[pulumi.Input[str]] = None,
                                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInternalOccmDemandSignalCatalogsFilterArgs]]]] = None,
                                                 occ_customer_group_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetInternalOccmDemandSignalCatalogsResult]
    func GetInternalOccmDemandSignalCatalogs(ctx *Context, args *GetInternalOccmDemandSignalCatalogsArgs, opts ...InvokeOption) (*GetInternalOccmDemandSignalCatalogsResult, error)
    func GetInternalOccmDemandSignalCatalogsOutput(ctx *Context, args *GetInternalOccmDemandSignalCatalogsOutputArgs, opts ...InvokeOption) GetInternalOccmDemandSignalCatalogsResultOutput

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

    public static class GetInternalOccmDemandSignalCatalogs 
    {
        public static Task<GetInternalOccmDemandSignalCatalogsResult> InvokeAsync(GetInternalOccmDemandSignalCatalogsArgs args, InvokeOptions? opts = null)
        public static Output<GetInternalOccmDemandSignalCatalogsResult> Invoke(GetInternalOccmDemandSignalCatalogsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInternalOccmDemandSignalCatalogsResult> getInternalOccmDemandSignalCatalogs(GetInternalOccmDemandSignalCatalogsArgs args, InvokeOptions options)
    public static Output<GetInternalOccmDemandSignalCatalogsResult> getInternalOccmDemandSignalCatalogs(GetInternalOccmDemandSignalCatalogsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:CapacityManagement/getInternalOccmDemandSignalCatalogs:getInternalOccmDemandSignalCatalogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    OccCustomerGroupId string
    The customer group ocid by which we would filter the list.
    DisplayName string
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    Filters List<GetInternalOccmDemandSignalCatalogsFilter>
    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    OccCustomerGroupId string
    The customer group ocid by which we would filter the list.
    DisplayName string
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    Filters []GetInternalOccmDemandSignalCatalogsFilter
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    occCustomerGroupId String
    The customer group ocid by which we would filter the list.
    displayName String
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    filters List<GetInternalOccmDemandSignalCatalogsFilter>
    compartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    occCustomerGroupId string
    The customer group ocid by which we would filter the list.
    displayName string
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    filters GetInternalOccmDemandSignalCatalogsFilter[]
    compartment_id str
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    occ_customer_group_id str
    The customer group ocid by which we would filter the list.
    display_name str
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    filters Sequence[GetInternalOccmDemandSignalCatalogsFilter]
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    occCustomerGroupId String
    The customer group ocid by which we would filter the list.
    displayName String
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    filters List<Property Map>

    getInternalOccmDemandSignalCatalogs Result

    The following output properties are available:

    CompartmentId string
    compartment id from where demand signal catalog is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    OccCustomerGroupId string
    The customer group OCID to which the availability catalog belongs.
    OccmDemandSignalCatalogCollections List<GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollection>
    The list of occm_demand_signal_catalog_collection.
    DisplayName string
    displayName of demand signal catalog.
    Filters List<GetInternalOccmDemandSignalCatalogsFilter>
    CompartmentId string
    compartment id from where demand signal catalog is created.
    Id string
    The provider-assigned unique ID for this managed resource.
    OccCustomerGroupId string
    The customer group OCID to which the availability catalog belongs.
    OccmDemandSignalCatalogCollections []GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollection
    The list of occm_demand_signal_catalog_collection.
    DisplayName string
    displayName of demand signal catalog.
    Filters []GetInternalOccmDemandSignalCatalogsFilter
    compartmentId String
    compartment id from where demand signal catalog is created.
    id String
    The provider-assigned unique ID for this managed resource.
    occCustomerGroupId String
    The customer group OCID to which the availability catalog belongs.
    occmDemandSignalCatalogCollections List<GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollection>
    The list of occm_demand_signal_catalog_collection.
    displayName String
    displayName of demand signal catalog.
    filters List<GetInternalOccmDemandSignalCatalogsFilter>
    compartmentId string
    compartment id from where demand signal catalog is created.
    id string
    The provider-assigned unique ID for this managed resource.
    occCustomerGroupId string
    The customer group OCID to which the availability catalog belongs.
    occmDemandSignalCatalogCollections GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollection[]
    The list of occm_demand_signal_catalog_collection.
    displayName string
    displayName of demand signal catalog.
    filters GetInternalOccmDemandSignalCatalogsFilter[]
    compartment_id str
    compartment id from where demand signal catalog is created.
    id str
    The provider-assigned unique ID for this managed resource.
    occ_customer_group_id str
    The customer group OCID to which the availability catalog belongs.
    occm_demand_signal_catalog_collections Sequence[GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollection]
    The list of occm_demand_signal_catalog_collection.
    display_name str
    displayName of demand signal catalog.
    filters Sequence[GetInternalOccmDemandSignalCatalogsFilter]
    compartmentId String
    compartment id from where demand signal catalog is created.
    id String
    The provider-assigned unique ID for this managed resource.
    occCustomerGroupId String
    The customer group OCID to which the availability catalog belongs.
    occmDemandSignalCatalogCollections List<Property Map>
    The list of occm_demand_signal_catalog_collection.
    displayName String
    displayName of demand signal catalog.
    filters List<Property Map>

    Supporting Types

    GetInternalOccmDemandSignalCatalogsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollection

    GetInternalOccmDemandSignalCatalogsOccmDemandSignalCatalogCollectionItem

    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    description of demand signal catalog.
    DisplayName string
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The ocid of demand signal catalog.
    OccCustomerGroupId string
    The customer group ocid by which we would filter the list.
    State string
    The current lifecycle state of the resource.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the demand signal catalog was created.
    TimeUpdated string
    The time when the demand signal catalog was last updated.
    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    description of demand signal catalog.
    DisplayName string
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The ocid of demand signal catalog.
    OccCustomerGroupId string
    The customer group ocid by which we would filter the list.
    State string
    The current lifecycle state of the resource.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when the demand signal catalog was created.
    TimeUpdated string
    The time when the demand signal catalog was last updated.
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    description of demand signal catalog.
    displayName String
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The ocid of demand signal catalog.
    occCustomerGroupId String
    The customer group ocid by which we would filter the list.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the demand signal catalog was created.
    timeUpdated String
    The time when the demand signal catalog was last updated.
    compartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    description of demand signal catalog.
    displayName string
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The ocid of demand signal catalog.
    occCustomerGroupId string
    The customer group ocid by which we would filter the list.
    state string
    The current lifecycle state of the resource.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when the demand signal catalog was created.
    timeUpdated string
    The time when the demand signal catalog was last updated.
    compartment_id str
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    description of demand signal catalog.
    display_name str
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The ocid of demand signal catalog.
    occ_customer_group_id str
    The customer group ocid by which we would filter the list.
    state str
    The current lifecycle state of the resource.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when the demand signal catalog was created.
    time_updated str
    The time when the demand signal catalog was last updated.
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    description of demand signal catalog.
    displayName String
    A filter to return only the resources that match the entire display name. The match is not case sensitive.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The ocid of demand signal catalog.
    occCustomerGroupId String
    The customer group ocid by which we would filter the list.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when the demand signal catalog was created.
    timeUpdated String
    The time when the demand signal catalog was last updated.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi