Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.CapacityManagement.getInternalOccmDemandSignals
Explore with Pulumi AI
This data source provides the list of Internal Occm Demand Signals in Oracle Cloud Infrastructure Capacity Management service.
This is an internal 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 testInternalOccmDemandSignals = oci.CapacityManagement.getInternalOccmDemandSignals({
compartmentId: compartmentId,
occCustomerGroupId: testOccCustomerGroup.id,
displayName: internalOccmDemandSignalDisplayName,
id: internalOccmDemandSignalId,
lifecycleDetails: internalOccmDemandSignalLifecycleDetails,
});
import pulumi
import pulumi_oci as oci
test_internal_occm_demand_signals = oci.CapacityManagement.get_internal_occm_demand_signals(compartment_id=compartment_id,
occ_customer_group_id=test_occ_customer_group["id"],
display_name=internal_occm_demand_signal_display_name,
id=internal_occm_demand_signal_id,
lifecycle_details=internal_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.GetInternalOccmDemandSignals(ctx, &capacitymanagement.GetInternalOccmDemandSignalsArgs{
CompartmentId: compartmentId,
OccCustomerGroupId: testOccCustomerGroup.Id,
DisplayName: pulumi.StringRef(internalOccmDemandSignalDisplayName),
Id: pulumi.StringRef(internalOccmDemandSignalId),
LifecycleDetails: pulumi.StringRef(internalOccmDemandSignalLifecycleDetails),
}, 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 testInternalOccmDemandSignals = Oci.CapacityManagement.GetInternalOccmDemandSignals.Invoke(new()
{
CompartmentId = compartmentId,
OccCustomerGroupId = testOccCustomerGroup.Id,
DisplayName = internalOccmDemandSignalDisplayName,
Id = internalOccmDemandSignalId,
LifecycleDetails = internalOccmDemandSignalLifecycleDetails,
});
});
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.GetInternalOccmDemandSignalsArgs;
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 testInternalOccmDemandSignals = CapacityManagementFunctions.getInternalOccmDemandSignals(GetInternalOccmDemandSignalsArgs.builder()
.compartmentId(compartmentId)
.occCustomerGroupId(testOccCustomerGroup.id())
.displayName(internalOccmDemandSignalDisplayName)
.id(internalOccmDemandSignalId)
.lifecycleDetails(internalOccmDemandSignalLifecycleDetails)
.build());
}
}
variables:
testInternalOccmDemandSignals:
fn::invoke:
function: oci:CapacityManagement:getInternalOccmDemandSignals
arguments:
compartmentId: ${compartmentId}
occCustomerGroupId: ${testOccCustomerGroup.id}
displayName: ${internalOccmDemandSignalDisplayName}
id: ${internalOccmDemandSignalId}
lifecycleDetails: ${internalOccmDemandSignalLifecycleDetails}
Using getInternalOccmDemandSignals
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 getInternalOccmDemandSignals(args: GetInternalOccmDemandSignalsArgs, opts?: InvokeOptions): Promise<GetInternalOccmDemandSignalsResult>
function getInternalOccmDemandSignalsOutput(args: GetInternalOccmDemandSignalsOutputArgs, opts?: InvokeOptions): Output<GetInternalOccmDemandSignalsResult>
def get_internal_occm_demand_signals(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetInternalOccmDemandSignalsFilter]] = None,
id: Optional[str] = None,
lifecycle_details: Optional[str] = None,
occ_customer_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInternalOccmDemandSignalsResult
def get_internal_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[GetInternalOccmDemandSignalsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
lifecycle_details: Optional[pulumi.Input[str]] = None,
occ_customer_group_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInternalOccmDemandSignalsResult]
func GetInternalOccmDemandSignals(ctx *Context, args *GetInternalOccmDemandSignalsArgs, opts ...InvokeOption) (*GetInternalOccmDemandSignalsResult, error)
func GetInternalOccmDemandSignalsOutput(ctx *Context, args *GetInternalOccmDemandSignalsOutputArgs, opts ...InvokeOption) GetInternalOccmDemandSignalsResultOutput
> Note: This function is named GetInternalOccmDemandSignals
in the Go SDK.
public static class GetInternalOccmDemandSignals
{
public static Task<GetInternalOccmDemandSignalsResult> InvokeAsync(GetInternalOccmDemandSignalsArgs args, InvokeOptions? opts = null)
public static Output<GetInternalOccmDemandSignalsResult> Invoke(GetInternalOccmDemandSignalsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInternalOccmDemandSignalsResult> getInternalOccmDemandSignals(GetInternalOccmDemandSignalsArgs args, InvokeOptions options)
public static Output<GetInternalOccmDemandSignalsResult> getInternalOccmDemandSignals(GetInternalOccmDemandSignalsArgs args, InvokeOptions options)
fn::invoke:
function: oci:CapacityManagement/getInternalOccmDemandSignals:getInternalOccmDemandSignals
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.
- Occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- 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
Internal 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.
- Occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- Display
Name string - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- Filters
[]Get
Internal 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.
- occ
Customer StringGroup Id - The customer group ocid by which we would filter the list.
- 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
Internal 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.
- occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- display
Name string - A filter to return only the resources that match the entire display name. The match is not case sensitive.
- filters
Get
Internal 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.
- occ_
customer_ strgroup_ id - 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[Get
Internal 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.
- occ
Customer StringGroup Id - The customer group ocid by which we would filter the list.
- 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.
getInternalOccmDemandSignals 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.
- Internal
Occm List<GetDemand Signal Collections Internal Occm Demand Signals Internal Occm Demand Signal Collection> - The list of internal_occm_demand_signal_collection.
- Occ
Customer stringGroup Id - The OCID of the customer group in which the demand signal is created.
- Display
Name string - The display name of the demand signal.
- Filters
List<Get
Internal 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.
- Internal
Occm []GetDemand Signal Collections Internal Occm Demand Signals Internal Occm Demand Signal Collection - The list of internal_occm_demand_signal_collection.
- Occ
Customer stringGroup Id - The OCID of the customer group in which the demand signal is created.
- Display
Name string - The display name of the demand signal.
- Filters
[]Get
Internal 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.
- internal
Occm List<GetDemand Signal Collections Internal Occm Demand Signals Internal Occm Demand Signal Collection> - The list of internal_occm_demand_signal_collection.
- occ
Customer StringGroup Id - The OCID of the customer group in which the demand signal is created.
- display
Name String - The display name of the demand signal.
- filters
List<Get
Internal 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.
- internal
Occm GetDemand Signal Collections Internal Occm Demand Signals Internal Occm Demand Signal Collection[] - The list of internal_occm_demand_signal_collection.
- occ
Customer stringGroup Id - The OCID of the customer group in which the demand signal is created.
- display
Name string - The display name of the demand signal.
- filters
Get
Internal 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.
- internal_
occm_ Sequence[Getdemand_ signal_ collections Internal Occm Demand Signals Internal Occm Demand Signal Collection] - The list of internal_occm_demand_signal_collection.
- occ_
customer_ strgroup_ id - The OCID of the customer group in which the demand signal is created.
- display_
name str - The display name of the demand signal.
- filters
Sequence[Get
Internal 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.
- internal
Occm List<Property Map>Demand Signal Collections - The list of internal_occm_demand_signal_collection.
- occ
Customer StringGroup Id - The OCID of the customer group in which the demand signal is created.
- 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
GetInternalOccmDemandSignalsFilter
GetInternalOccmDemandSignalsInternalOccmDemandSignalCollection
GetInternalOccmDemandSignalsInternalOccmDemandSignalCollectionItem
- 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
- A short description 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.
- Occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- Occm
Demand stringSignal Id - State string
- The current lifecycle state of the demand signal.
- 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
- A short description 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.
- Occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- Occm
Demand stringSignal Id - State string
- The current lifecycle state of the demand signal.
- 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
- A short description 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.
- occ
Customer StringGroup Id - The customer group ocid by which we would filter the list.
- occm
Demand StringSignal Id - state String
- The current lifecycle state of the demand signal.
- 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
- A short description 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.
- occ
Customer stringGroup Id - The customer group ocid by which we would filter the list.
- occm
Demand stringSignal Id - state string
- The current lifecycle state of the demand signal.
- {[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
- A short description 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.
- occ_
customer_ strgroup_ id - The customer group ocid by which we would filter the list.
- occm_
demand_ strsignal_ id - state str
- The current lifecycle state of the demand signal.
- 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
- A short description 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.
- occ
Customer StringGroup Id - The customer group ocid by which we would filter the list.
- occm
Demand StringSignal Id - state String
- The current lifecycle state of the demand signal.
- 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.