Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.CapacityManagement.getOccmDemandSignals
Explore with Pulumi AI
This data source provides the list of Occm Demand Signals in Oracle Cloud Infrastructure Capacity Management service.
This GET call is used to list all demand signals within the compartment passed as a query parameter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOccmDemandSignals = oci.CapacityManagement.getOccmDemandSignals({
compartmentId: compartmentId,
displayName: occmDemandSignalDisplayName,
id: occmDemandSignalId,
lifecycleDetails: occmDemandSignalLifecycleDetails,
});
import pulumi
import pulumi_oci as oci
test_occm_demand_signals = oci.CapacityManagement.get_occm_demand_signals(compartment_id=compartment_id,
display_name=occm_demand_signal_display_name,
id=occm_demand_signal_id,
lifecycle_details=occm_demand_signal_lifecycle_details)
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.GetOccmDemandSignals(ctx, &capacitymanagement.GetOccmDemandSignalsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(occmDemandSignalDisplayName),
Id: pulumi.StringRef(occmDemandSignalId),
LifecycleDetails: pulumi.StringRef(occmDemandSignalLifecycleDetails),
}, 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 testOccmDemandSignals = Oci.CapacityManagement.GetOccmDemandSignals.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = occmDemandSignalDisplayName,
Id = occmDemandSignalId,
LifecycleDetails = occmDemandSignalLifecycleDetails,
});
});
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.GetOccmDemandSignalsArgs;
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 testOccmDemandSignals = CapacityManagementFunctions.getOccmDemandSignals(GetOccmDemandSignalsArgs.builder()
.compartmentId(compartmentId)
.displayName(occmDemandSignalDisplayName)
.id(occmDemandSignalId)
.lifecycleDetails(occmDemandSignalLifecycleDetails)
.build());
}
}
variables:
testOccmDemandSignals:
fn::invoke:
function: oci:CapacityManagement:getOccmDemandSignals
arguments:
compartmentId: ${compartmentId}
displayName: ${occmDemandSignalDisplayName}
id: ${occmDemandSignalId}
lifecycleDetails: ${occmDemandSignalLifecycleDetails}
Using getOccmDemandSignals
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 getOccmDemandSignals(args: GetOccmDemandSignalsArgs, opts?: InvokeOptions): Promise<GetOccmDemandSignalsResult>
function getOccmDemandSignalsOutput(args: GetOccmDemandSignalsOutputArgs, opts?: InvokeOptions): Output<GetOccmDemandSignalsResult>
def get_occm_demand_signals(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetOccmDemandSignalsFilter]] = None,
id: Optional[str] = None,
lifecycle_details: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOccmDemandSignalsResult
def get_occm_demand_signals_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOccmDemandSignalsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
lifecycle_details: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOccmDemandSignalsResult]
func GetOccmDemandSignals(ctx *Context, args *GetOccmDemandSignalsArgs, opts ...InvokeOption) (*GetOccmDemandSignalsResult, error)
func GetOccmDemandSignalsOutput(ctx *Context, args *GetOccmDemandSignalsOutputArgs, opts ...InvokeOption) GetOccmDemandSignalsResultOutput
> Note: This function is named GetOccmDemandSignals
in the Go SDK.
public static class GetOccmDemandSignals
{
public static Task<GetOccmDemandSignalsResult> InvokeAsync(GetOccmDemandSignalsArgs args, InvokeOptions? opts = null)
public static Output<GetOccmDemandSignalsResult> Invoke(GetOccmDemandSignalsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOccmDemandSignalsResult> getOccmDemandSignals(GetOccmDemandSignalsArgs args, InvokeOptions options)
public static Output<GetOccmDemandSignalsResult> getOccmDemandSignals(GetOccmDemandSignalsArgs args, InvokeOptions options)
fn::invoke:
function: oci:CapacityManagement/getOccmDemandSignals:getOccmDemandSignals
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- Display
Name string - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- Filters
List<Get
Occm Demand Signals Filter> - Id string
- A query parameter to filter the list of demand signals based on it's OCID.
- Lifecycle
Details string - A query parameter to filter the list of demand signals based on its state.
- Compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- Display
Name string - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- Filters
[]Get
Occm Demand Signals Filter - Id string
- A query parameter to filter the list of demand signals based on it's OCID.
- Lifecycle
Details string - A query parameter to filter the list of demand signals based on its state.
- compartment
Id String - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- display
Name String - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- filters
List<Get
Occm Demand Signals Filter> - id String
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle
Details String - A query parameter to filter the list of demand signals based on its state.
- compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- display
Name string - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- filters
Get
Occm Demand Signals Filter[] - id string
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle
Details string - A query parameter to filter the list of demand signals based on its state.
- 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.
- display_
name str - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- filters
Sequence[Get
Occm Demand Signals Filter] - id str
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle_
details str - A query parameter to filter the list of demand signals based on its state.
- compartment
Id String - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- display
Name String - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- filters List<Property Map>
- id String
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle
Details String - A query parameter to filter the list of demand signals based on its state.
getOccmDemandSignals 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.
- Occm
Demand List<GetSignal Collections Occm Demand Signals Occm Demand Signal Collection> - The list of occm_demand_signal_collection.
- Display
Name string - The display name of the demand signal.
- Filters
List<Get
Occm Demand Signals Filter> - Id string
- The OCID of the demand signal.
- Lifecycle
Details string - The different states associated with a demand signal.
- Compartment
Id string - The OCID of the tenancy from which the request to create the demand signal was made.
- Occm
Demand []GetSignal Collections Occm Demand Signals Occm Demand Signal Collection - The list of occm_demand_signal_collection.
- Display
Name string - The display name of the demand signal.
- Filters
[]Get
Occm Demand Signals Filter - Id string
- The OCID of the demand signal.
- Lifecycle
Details string - The different states associated with a demand signal.
- compartment
Id String - The OCID of the tenancy from which the request to create the demand signal was made.
- occm
Demand List<GetSignal Collections Occm Demand Signals Occm Demand Signal Collection> - The list of occm_demand_signal_collection.
- display
Name String - The display name of the demand signal.
- filters
List<Get
Occm Demand Signals Filter> - id String
- The OCID of the demand signal.
- lifecycle
Details String - The different states associated with a demand signal.
- compartment
Id string - The OCID of the tenancy from which the request to create the demand signal was made.
- occm
Demand GetSignal Collections Occm Demand Signals Occm Demand Signal Collection[] - The list of occm_demand_signal_collection.
- display
Name string - The display name of the demand signal.
- filters
Get
Occm Demand Signals Filter[] - id string
- The OCID of the demand signal.
- lifecycle
Details string - The different states associated with a demand signal.
- compartment_
id str - The OCID of the tenancy from which the request to create the demand signal was made.
- occm_
demand_ Sequence[Getsignal_ collections Occm Demand Signals Occm Demand Signal Collection] - The list of occm_demand_signal_collection.
- display_
name str - The display name of the demand signal.
- filters
Sequence[Get
Occm Demand Signals Filter] - id str
- The OCID of the demand signal.
- lifecycle_
details str - The different states associated with a demand signal.
- compartment
Id String - The OCID of the tenancy from which the request to create the demand signal was made.
- occm
Demand List<Property Map>Signal Collections - The list of occm_demand_signal_collection.
- display
Name String - The display name of the demand signal.
- filters List<Property Map>
- id String
- The OCID of the demand signal.
- lifecycle
Details String - The different states associated with a demand signal.
Supporting Types
GetOccmDemandSignalsFilter
GetOccmDemandSignalsOccmDemandSignalCollection
GetOccmDemandSignalsOccmDemandSignalCollectionItem
- Compartment
Id string - The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- 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 - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- 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
- A query parameter to filter the list of demand signals based on it's OCID.
- Lifecycle
Details string - A query parameter to filter the list of demand signals based on its state.
- 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 compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- 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 - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- 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
- A query parameter to filter the list of demand signals based on it's OCID.
- Lifecycle
Details string - A query parameter to filter the list of demand signals based on its state.
- 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 compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- 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 - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- 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
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle
Details String - A query parameter to filter the list of demand signals based on its state.
- 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 compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- {[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 - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- {[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
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle
Details string - A query parameter to filter the list of demand signals based on its state.
- 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 compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- 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 - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- 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
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle_
details str - A query parameter to filter the list of demand signals based on its state.
- 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 compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
- 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 - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- 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
- A query parameter to filter the list of demand signals based on it's OCID.
- lifecycle
Details String - A query parameter to filter the list of demand signals based on its state.
- 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.