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

oci.CapacityManagement.getOccmDemandSignalItem

Explore with Pulumi AI

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

    This data source provides details about a specific Occm Demand Signal Item resource in Oracle Cloud Infrastructure Capacity Management service.

    This is a GET API to get the details of a demand signal item resource representing the details of the resource demanded by you.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOccmDemandSignalItem = oci.CapacityManagement.getOccmDemandSignalItem({
        occmDemandSignalItemId: testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_occm_demand_signal_item = oci.CapacityManagement.get_occm_demand_signal_item(occm_demand_signal_item_id=test_occm_demand_signal_item_oci_capacity_management_occm_demand_signal_item["id"])
    
    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.GetOccmDemandSignalItem(ctx, &capacitymanagement.GetOccmDemandSignalItemArgs{
    			OccmDemandSignalItemId: testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.Id,
    		}, 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 testOccmDemandSignalItem = Oci.CapacityManagement.GetOccmDemandSignalItem.Invoke(new()
        {
            OccmDemandSignalItemId = testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.Id,
        });
    
    });
    
    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.GetOccmDemandSignalItemArgs;
    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 testOccmDemandSignalItem = CapacityManagementFunctions.getOccmDemandSignalItem(GetOccmDemandSignalItemArgs.builder()
                .occmDemandSignalItemId(testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.id())
                .build());
    
        }
    }
    
    variables:
      testOccmDemandSignalItem:
        fn::invoke:
          function: oci:CapacityManagement:getOccmDemandSignalItem
          arguments:
            occmDemandSignalItemId: ${testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.id}
    

    Using getOccmDemandSignalItem

    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 getOccmDemandSignalItem(args: GetOccmDemandSignalItemArgs, opts?: InvokeOptions): Promise<GetOccmDemandSignalItemResult>
    function getOccmDemandSignalItemOutput(args: GetOccmDemandSignalItemOutputArgs, opts?: InvokeOptions): Output<GetOccmDemandSignalItemResult>
    def get_occm_demand_signal_item(occm_demand_signal_item_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetOccmDemandSignalItemResult
    def get_occm_demand_signal_item_output(occm_demand_signal_item_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetOccmDemandSignalItemResult]
    func LookupOccmDemandSignalItem(ctx *Context, args *LookupOccmDemandSignalItemArgs, opts ...InvokeOption) (*LookupOccmDemandSignalItemResult, error)
    func LookupOccmDemandSignalItemOutput(ctx *Context, args *LookupOccmDemandSignalItemOutputArgs, opts ...InvokeOption) LookupOccmDemandSignalItemResultOutput

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

    public static class GetOccmDemandSignalItem 
    {
        public static Task<GetOccmDemandSignalItemResult> InvokeAsync(GetOccmDemandSignalItemArgs args, InvokeOptions? opts = null)
        public static Output<GetOccmDemandSignalItemResult> Invoke(GetOccmDemandSignalItemInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOccmDemandSignalItemResult> getOccmDemandSignalItem(GetOccmDemandSignalItemArgs args, InvokeOptions options)
    public static Output<GetOccmDemandSignalItemResult> getOccmDemandSignalItem(GetOccmDemandSignalItemArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:CapacityManagement/getOccmDemandSignalItem:getOccmDemandSignalItem
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OccmDemandSignalItemId string
    The OCID of the demand signal item.
    OccmDemandSignalItemId string
    The OCID of the demand signal item.
    occmDemandSignalItemId String
    The OCID of the demand signal item.
    occmDemandSignalItemId string
    The OCID of the demand signal item.
    occm_demand_signal_item_id str
    The OCID of the demand signal item.
    occmDemandSignalItemId String
    The OCID of the demand signal item.

    getOccmDemandSignalItem Result

    The following output properties are available:

    AvailabilityDomain string
    The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
    CompartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DemandQuantity string
    The quantity of the resource that you want to demand from OCI.
    DemandSignalCatalogResourceId string
    The OCID of the corresponding demand signal catalog resource.
    DemandSignalId string
    The OCID of the demand signal under which this item will be grouped.
    DemandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    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 the demand signal item.
    Notes string
    This field will serve as notes section for you. You can use this section to convey a message to Oracle Cloud Infrastructure regarding your resource request.
    OccmDemandSignalItemId string
    Region string
    The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    RequestType string
    The type of request (DEMAND or RETURN) made against a particular demand signal item.
    ResourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    ResourceProperties Dictionary<string, string>
    A map of various properties associated with the Oracle Cloud Infrastructure resource.
    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"}
    TargetCompartmentId string
    The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    TimeNeededBefore string
    the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
    AvailabilityDomain string
    The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
    CompartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DemandQuantity string
    The quantity of the resource that you want to demand from OCI.
    DemandSignalCatalogResourceId string
    The OCID of the corresponding demand signal catalog resource.
    DemandSignalId string
    The OCID of the demand signal under which this item will be grouped.
    DemandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    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 the demand signal item.
    Notes string
    This field will serve as notes section for you. You can use this section to convey a message to Oracle Cloud Infrastructure regarding your resource request.
    OccmDemandSignalItemId string
    Region string
    The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    RequestType string
    The type of request (DEMAND or RETURN) made against a particular demand signal item.
    ResourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    ResourceProperties map[string]string
    A map of various properties associated with the Oracle Cloud Infrastructure resource.
    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"}
    TargetCompartmentId string
    The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    TimeNeededBefore string
    the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
    availabilityDomain String
    The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
    compartmentId String
    The OCID of the tenancy from which the demand signal item was created.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandQuantity String
    The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId String
    The OCID of the corresponding demand signal catalog resource.
    demandSignalId String
    The OCID of the demand signal under which this item will be grouped.
    demandSignalNamespace String
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    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 the demand signal item.
    notes String
    This field will serve as notes section for you. You can use this section to convey a message to Oracle Cloud Infrastructure regarding your resource request.
    occmDemandSignalItemId String
    region String
    The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType String
    The type of request (DEMAND or RETURN) made against a particular demand signal item.
    resourceName String
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resourceProperties Map<String,String>
    A map of various properties associated with the Oracle Cloud Infrastructure resource.
    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"}
    targetCompartmentId String
    The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    timeNeededBefore String
    the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
    availabilityDomain string
    The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
    compartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandQuantity string
    The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId string
    The OCID of the corresponding demand signal catalog resource.
    demandSignalId string
    The OCID of the demand signal under which this item will be grouped.
    demandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    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 the demand signal item.
    notes string
    This field will serve as notes section for you. You can use this section to convey a message to Oracle Cloud Infrastructure regarding your resource request.
    occmDemandSignalItemId string
    region string
    The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType string
    The type of request (DEMAND or RETURN) made against a particular demand signal item.
    resourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resourceProperties {[key: string]: string}
    A map of various properties associated with the Oracle Cloud Infrastructure resource.
    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"}
    targetCompartmentId string
    The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    timeNeededBefore string
    the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
    availability_domain str
    The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
    compartment_id str
    The OCID of the tenancy from which the demand signal item was created.
    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"}
    demand_quantity str
    The quantity of the resource that you want to demand from OCI.
    demand_signal_catalog_resource_id str
    The OCID of the corresponding demand signal catalog resource.
    demand_signal_id str
    The OCID of the demand signal under which this item will be grouped.
    demand_signal_namespace str
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    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 the demand signal item.
    notes str
    This field will serve as notes section for you. You can use this section to convey a message to Oracle Cloud Infrastructure regarding your resource request.
    occm_demand_signal_item_id str
    region str
    The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    request_type str
    The type of request (DEMAND or RETURN) made against a particular demand signal item.
    resource_name str
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resource_properties Mapping[str, str]
    A map of various properties associated with the Oracle Cloud Infrastructure resource.
    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"}
    target_compartment_id str
    The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    time_needed_before str
    the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
    availabilityDomain String
    The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
    compartmentId String
    The OCID of the tenancy from which the demand signal item was created.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandQuantity String
    The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId String
    The OCID of the corresponding demand signal catalog resource.
    demandSignalId String
    The OCID of the demand signal under which this item will be grouped.
    demandSignalNamespace String
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    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 the demand signal item.
    notes String
    This field will serve as notes section for you. You can use this section to convey a message to Oracle Cloud Infrastructure regarding your resource request.
    occmDemandSignalItemId String
    region String
    The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType String
    The type of request (DEMAND or RETURN) made against a particular demand signal item.
    resourceName String
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resourceProperties Map<String>
    A map of various properties associated with the Oracle Cloud Infrastructure resource.
    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"}
    targetCompartmentId String
    The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    timeNeededBefore String
    the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    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