Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.CapacityManagement.getOccmDemandSignal
Explore with Pulumi AI
This data source provides details about a specific Occm Demand Signal resource in Oracle Cloud Infrastructure Capacity Management service.
This is a 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 testOccmDemandSignal = oci.CapacityManagement.getOccmDemandSignal({
occmDemandSignalId: testOccmDemandSignalOciCapacityManagementOccmDemandSignal.id,
});
import pulumi
import pulumi_oci as oci
test_occm_demand_signal = oci.CapacityManagement.get_occm_demand_signal(occm_demand_signal_id=test_occm_demand_signal_oci_capacity_management_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.GetOccmDemandSignal(ctx, &capacitymanagement.GetOccmDemandSignalArgs{
OccmDemandSignalId: testOccmDemandSignalOciCapacityManagementOccmDemandSignal.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 testOccmDemandSignal = Oci.CapacityManagement.GetOccmDemandSignal.Invoke(new()
{
OccmDemandSignalId = testOccmDemandSignalOciCapacityManagementOccmDemandSignal.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.GetOccmDemandSignalArgs;
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 testOccmDemandSignal = CapacityManagementFunctions.getOccmDemandSignal(GetOccmDemandSignalArgs.builder()
.occmDemandSignalId(testOccmDemandSignalOciCapacityManagementOccmDemandSignal.id())
.build());
}
}
variables:
testOccmDemandSignal:
fn::invoke:
function: oci:CapacityManagement:getOccmDemandSignal
arguments:
occmDemandSignalId: ${testOccmDemandSignalOciCapacityManagementOccmDemandSignal.id}
Using getOccmDemandSignal
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 getOccmDemandSignal(args: GetOccmDemandSignalArgs, opts?: InvokeOptions): Promise<GetOccmDemandSignalResult>
function getOccmDemandSignalOutput(args: GetOccmDemandSignalOutputArgs, opts?: InvokeOptions): Output<GetOccmDemandSignalResult>
def get_occm_demand_signal(occm_demand_signal_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOccmDemandSignalResult
def get_occm_demand_signal_output(occm_demand_signal_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOccmDemandSignalResult]
func LookupOccmDemandSignal(ctx *Context, args *LookupOccmDemandSignalArgs, opts ...InvokeOption) (*LookupOccmDemandSignalResult, error)
func LookupOccmDemandSignalOutput(ctx *Context, args *LookupOccmDemandSignalOutputArgs, opts ...InvokeOption) LookupOccmDemandSignalResultOutput
> Note: This function is named LookupOccmDemandSignal
in the Go SDK.
public static class GetOccmDemandSignal
{
public static Task<GetOccmDemandSignalResult> InvokeAsync(GetOccmDemandSignalArgs args, InvokeOptions? opts = null)
public static Output<GetOccmDemandSignalResult> Invoke(GetOccmDemandSignalInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOccmDemandSignalResult> getOccmDemandSignal(GetOccmDemandSignalArgs args, InvokeOptions options)
public static Output<GetOccmDemandSignalResult> getOccmDemandSignal(GetOccmDemandSignalArgs args, InvokeOptions options)
fn::invoke:
function: oci:CapacityManagement/getOccmDemandSignal:getOccmDemandSignal
arguments:
# arguments dictionary
The following arguments are supported:
- Occm
Demand stringSignal Id - The OCID of the demand signal.
- Occm
Demand stringSignal Id - The OCID of the demand signal.
- occm
Demand StringSignal Id - The OCID of the demand signal.
- occm
Demand stringSignal Id - The OCID of the demand signal.
- occm_
demand_ strsignal_ id - The OCID of the demand signal.
- occm
Demand StringSignal Id - The OCID of the demand signal.
getOccmDemandSignal Result
The following output properties are available:
- Compartment
Id string - The OCID of the tenancy from which the request to create the demand signal was made.
- 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
- Meaningful text about the demand signal.
- Display
Name string - The display name of the demand signal.
- 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.
- Lifecycle
Details string - The different states associated with a demand signal.
- Occm
Demand stringSignal Id - State string
- The current lifecycle state of the resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the demand signal was created.
- Time
Updated string - The time when the demand signal was last updated.
- Compartment
Id string - The OCID of the tenancy from which the request to create the demand signal was made.
- 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
- Meaningful text about the demand signal.
- Display
Name string - The display name of the demand signal.
- 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.
- Lifecycle
Details string - The different states associated with a demand signal.
- Occm
Demand stringSignal Id - State string
- The current lifecycle state of the resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when the demand signal was created.
- Time
Updated string - The time when the demand signal was last updated.
- compartment
Id String - The OCID of the tenancy from which the request to create the demand signal was made.
- 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
- Meaningful text about the demand signal.
- display
Name String - The display name of the demand signal.
- 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.
- lifecycle
Details String - The different states associated with a demand signal.
- occm
Demand StringSignal Id - state String
- The current lifecycle state of the resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the demand signal was created.
- time
Updated String - The time when the demand signal was last updated.
- compartment
Id string - The OCID of the tenancy from which the request to create the demand signal was made.
- {[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
- Meaningful text about the demand signal.
- display
Name string - The display name of the demand signal.
- {[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.
- lifecycle
Details string - The different states associated with a demand signal.
- occm
Demand stringSignal Id - state string
- The current lifecycle state of the resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when the demand signal was created.
- time
Updated 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.
- 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
- Meaningful text about the demand signal.
- display_
name str - The display name of the demand signal.
- 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.
- occm_
demand_ strsignal_ id - state str
- The current lifecycle state of the resource.
- 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.
- compartment
Id String - The OCID of the tenancy from which the request to create the demand signal was made.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Meaningful text about the demand signal.
- display
Name String - The display name of the demand signal.
- 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.
- lifecycle
Details String - The different states associated with a demand signal.
- occm
Demand StringSignal Id - state String
- The current lifecycle state of the resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when the demand signal was created.
- time
Updated 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.