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

oci.CapacityManagement.getInternalOccmDemandSignal

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 Internal Occm Demand Signal resource in Oracle Cloud Infrastructure Capacity Management service.

    This is an internal GET API which gets the detailed information about a specific demand signal.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInternalOccmDemandSignal = oci.CapacityManagement.getInternalOccmDemandSignal({
        occmDemandSignalId: testOccmDemandSignal.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_internal_occm_demand_signal = oci.CapacityManagement.get_internal_occm_demand_signal(occm_demand_signal_id=test_occm_demand_signal["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.GetInternalOccmDemandSignal(ctx, &capacitymanagement.GetInternalOccmDemandSignalArgs{
    			OccmDemandSignalId: testOccmDemandSignal.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 testInternalOccmDemandSignal = Oci.CapacityManagement.GetInternalOccmDemandSignal.Invoke(new()
        {
            OccmDemandSignalId = testOccmDemandSignal.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.GetInternalOccmDemandSignalArgs;
    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 testInternalOccmDemandSignal = CapacityManagementFunctions.getInternalOccmDemandSignal(GetInternalOccmDemandSignalArgs.builder()
                .occmDemandSignalId(testOccmDemandSignal.id())
                .build());
    
        }
    }
    
    variables:
      testInternalOccmDemandSignal:
        fn::invoke:
          function: oci:CapacityManagement:getInternalOccmDemandSignal
          arguments:
            occmDemandSignalId: ${testOccmDemandSignal.id}
    

    Using getInternalOccmDemandSignal

    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 getInternalOccmDemandSignal(args: GetInternalOccmDemandSignalArgs, opts?: InvokeOptions): Promise<GetInternalOccmDemandSignalResult>
    function getInternalOccmDemandSignalOutput(args: GetInternalOccmDemandSignalOutputArgs, opts?: InvokeOptions): Output<GetInternalOccmDemandSignalResult>
    def get_internal_occm_demand_signal(occm_demand_signal_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetInternalOccmDemandSignalResult
    def get_internal_occm_demand_signal_output(occm_demand_signal_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetInternalOccmDemandSignalResult]
    func LookupInternalOccmDemandSignal(ctx *Context, args *LookupInternalOccmDemandSignalArgs, opts ...InvokeOption) (*LookupInternalOccmDemandSignalResult, error)
    func LookupInternalOccmDemandSignalOutput(ctx *Context, args *LookupInternalOccmDemandSignalOutputArgs, opts ...InvokeOption) LookupInternalOccmDemandSignalResultOutput

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

    public static class GetInternalOccmDemandSignal 
    {
        public static Task<GetInternalOccmDemandSignalResult> InvokeAsync(GetInternalOccmDemandSignalArgs args, InvokeOptions? opts = null)
        public static Output<GetInternalOccmDemandSignalResult> Invoke(GetInternalOccmDemandSignalInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInternalOccmDemandSignalResult> getInternalOccmDemandSignal(GetInternalOccmDemandSignalArgs args, InvokeOptions options)
    public static Output<GetInternalOccmDemandSignalResult> getInternalOccmDemandSignal(GetInternalOccmDemandSignalArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:CapacityManagement/getInternalOccmDemandSignal:getInternalOccmDemandSignal
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OccmDemandSignalId string
    The OCID of the demand signal.
    OccmDemandSignalId string
    The OCID of the demand signal.
    occmDemandSignalId String
    The OCID of the demand signal.
    occmDemandSignalId string
    The OCID of the demand signal.
    occm_demand_signal_id str
    The OCID of the demand signal.
    occmDemandSignalId String
    The OCID of the demand signal.

    getInternalOccmDemandSignal Result

    The following output properties are available:

    CompartmentId string
    The OCID of the tenancy from which the request to create the demand signal was made.
    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
    A short description about the demand signal.
    DisplayName string
    The display name of the demand signal.
    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.
    LifecycleDetails string
    The different states associated with a demand signal.
    OccCustomerGroupId string
    The OCID of the customer group in which the demand signal is created.
    OccmDemandSignalId string
    State string
    The current lifecycle state of the demand signal.
    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 was created.
    TimeUpdated string
    The time when the demand signal was last updated.
    CompartmentId string
    The OCID of the tenancy from which the request to create the demand signal was made.
    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
    A short description about the demand signal.
    DisplayName string
    The display name of the demand signal.
    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.
    LifecycleDetails string
    The different states associated with a demand signal.
    OccCustomerGroupId string
    The OCID of the customer group in which the demand signal is created.
    OccmDemandSignalId string
    State string
    The current lifecycle state of the demand signal.
    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 was created.
    TimeUpdated string
    The time when the demand signal was last updated.
    compartmentId String
    The OCID of the tenancy from which the request to create the demand signal was made.
    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
    A short description about the demand signal.
    displayName String
    The display name of the demand signal.
    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.
    lifecycleDetails String
    The different states associated with a demand signal.
    occCustomerGroupId String
    The OCID of the customer group in which the demand signal is created.
    occmDemandSignalId String
    state String
    The current lifecycle state of the demand signal.
    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 was created.
    timeUpdated String
    The time when the demand signal was last updated.
    compartmentId string
    The OCID of the tenancy from which the request to create the demand signal was made.
    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
    A short description about the demand signal.
    displayName string
    The display name of the demand signal.
    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.
    lifecycleDetails string
    The different states associated with a demand signal.
    occCustomerGroupId string
    The OCID of the customer group in which the demand signal is created.
    occmDemandSignalId string
    state string
    The current lifecycle state of the demand signal.
    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 was created.
    timeUpdated string
    The time when the demand signal was last updated.
    compartment_id str
    The OCID of the tenancy from which the request to create the demand signal was made.
    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
    A short description about the demand signal.
    display_name str
    The display name of the demand signal.
    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.
    lifecycle_details str
    The different states associated with a demand signal.
    occ_customer_group_id str
    The OCID of the customer group in which the demand signal is created.
    occm_demand_signal_id str
    state str
    The current lifecycle state of the demand signal.
    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 was created.
    time_updated str
    The time when the demand signal was last updated.
    compartmentId String
    The OCID of the tenancy from which the request to create the demand signal was made.
    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
    A short description about the demand signal.
    displayName String
    The display name of the demand signal.
    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.
    lifecycleDetails String
    The different states associated with a demand signal.
    occCustomerGroupId String
    The OCID of the customer group in which the demand signal is created.
    occmDemandSignalId String
    state String
    The current lifecycle state of the demand signal.
    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 was created.
    timeUpdated String
    The time when the demand signal 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