Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.CapacityManagement.getOccmDemandSignalItems
Explore with Pulumi AI
This data source provides the list of Occm Demand Signal Items in Oracle Cloud Infrastructure Capacity Management service.
This API will list the detailed information about the resources demanded as part of the demand signal.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOccmDemandSignalItems = oci.CapacityManagement.getOccmDemandSignalItems({
compartmentId: compartmentId,
demandSignalNamespace: occmDemandSignalItemDemandSignalNamespace,
occmDemandSignalId: testOccmDemandSignal.id,
resourceName: testResource.name,
});
import pulumi
import pulumi_oci as oci
test_occm_demand_signal_items = oci.CapacityManagement.get_occm_demand_signal_items(compartment_id=compartment_id,
demand_signal_namespace=occm_demand_signal_item_demand_signal_namespace,
occm_demand_signal_id=test_occm_demand_signal["id"],
resource_name=test_resource["name"])
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.GetOccmDemandSignalItems(ctx, &capacitymanagement.GetOccmDemandSignalItemsArgs{
CompartmentId: compartmentId,
DemandSignalNamespace: pulumi.StringRef(occmDemandSignalItemDemandSignalNamespace),
OccmDemandSignalId: pulumi.StringRef(testOccmDemandSignal.Id),
ResourceName: pulumi.StringRef(testResource.Name),
}, 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 testOccmDemandSignalItems = Oci.CapacityManagement.GetOccmDemandSignalItems.Invoke(new()
{
CompartmentId = compartmentId,
DemandSignalNamespace = occmDemandSignalItemDemandSignalNamespace,
OccmDemandSignalId = testOccmDemandSignal.Id,
ResourceName = testResource.Name,
});
});
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.GetOccmDemandSignalItemsArgs;
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 testOccmDemandSignalItems = CapacityManagementFunctions.getOccmDemandSignalItems(GetOccmDemandSignalItemsArgs.builder()
.compartmentId(compartmentId)
.demandSignalNamespace(occmDemandSignalItemDemandSignalNamespace)
.occmDemandSignalId(testOccmDemandSignal.id())
.resourceName(testResource.name())
.build());
}
}
variables:
testOccmDemandSignalItems:
fn::invoke:
function: oci:CapacityManagement:getOccmDemandSignalItems
arguments:
compartmentId: ${compartmentId}
demandSignalNamespace: ${occmDemandSignalItemDemandSignalNamespace}
occmDemandSignalId: ${testOccmDemandSignal.id}
resourceName: ${testResource.name}
Using getOccmDemandSignalItems
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 getOccmDemandSignalItems(args: GetOccmDemandSignalItemsArgs, opts?: InvokeOptions): Promise<GetOccmDemandSignalItemsResult>
function getOccmDemandSignalItemsOutput(args: GetOccmDemandSignalItemsOutputArgs, opts?: InvokeOptions): Output<GetOccmDemandSignalItemsResult>
def get_occm_demand_signal_items(compartment_id: Optional[str] = None,
demand_signal_namespace: Optional[str] = None,
filters: Optional[Sequence[GetOccmDemandSignalItemsFilter]] = None,
occm_demand_signal_id: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOccmDemandSignalItemsResult
def get_occm_demand_signal_items_output(compartment_id: Optional[pulumi.Input[str]] = None,
demand_signal_namespace: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOccmDemandSignalItemsFilterArgs]]]] = None,
occm_demand_signal_id: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOccmDemandSignalItemsResult]
func GetOccmDemandSignalItems(ctx *Context, args *GetOccmDemandSignalItemsArgs, opts ...InvokeOption) (*GetOccmDemandSignalItemsResult, error)
func GetOccmDemandSignalItemsOutput(ctx *Context, args *GetOccmDemandSignalItemsOutputArgs, opts ...InvokeOption) GetOccmDemandSignalItemsResultOutput
> Note: This function is named GetOccmDemandSignalItems
in the Go SDK.
public static class GetOccmDemandSignalItems
{
public static Task<GetOccmDemandSignalItemsResult> InvokeAsync(GetOccmDemandSignalItemsArgs args, InvokeOptions? opts = null)
public static Output<GetOccmDemandSignalItemsResult> Invoke(GetOccmDemandSignalItemsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOccmDemandSignalItemsResult> getOccmDemandSignalItems(GetOccmDemandSignalItemsArgs args, InvokeOptions options)
public static Output<GetOccmDemandSignalItemsResult> getOccmDemandSignalItems(GetOccmDemandSignalItemsArgs args, InvokeOptions options)
fn::invoke:
function: oci:CapacityManagement/getOccmDemandSignalItems:getOccmDemandSignalItems
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.
- Demand
Signal stringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- Filters
List<Get
Occm Demand Signal Items Filter> - Occm
Demand stringSignal Id - A query parameter to filter the list of demand signal items based on a demand signal id.
- Resource
Name string - A query parameter to filter the list of demand signal details based on the resource name.
- 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.
- Demand
Signal stringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- Filters
[]Get
Occm Demand Signal Items Filter - Occm
Demand stringSignal Id - A query parameter to filter the list of demand signal items based on a demand signal id.
- Resource
Name string - A query parameter to filter the list of demand signal details based on the resource name.
- 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.
- demand
Signal StringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- filters
List<Get
Occm Demand Signal Items Filter> - occm
Demand StringSignal Id - A query parameter to filter the list of demand signal items based on a demand signal id.
- resource
Name String - A query parameter to filter the list of demand signal details based on the resource name.
- 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.
- demand
Signal stringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- filters
Get
Occm Demand Signal Items Filter[] - occm
Demand stringSignal Id - A query parameter to filter the list of demand signal items based on a demand signal id.
- resource
Name string - A query parameter to filter the list of demand signal details based on the resource name.
- 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.
- demand_
signal_ strnamespace - A query parameter to filter the list of demand signal details based on the namespace.
- filters
Sequence[Get
Occm Demand Signal Items Filter] - occm_
demand_ strsignal_ id - A query parameter to filter the list of demand signal items based on a demand signal id.
- resource_
name str - A query parameter to filter the list of demand signal details based on the resource name.
- 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.
- demand
Signal StringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- filters List<Property Map>
- occm
Demand StringSignal Id - A query parameter to filter the list of demand signal items based on a demand signal id.
- resource
Name String - A query parameter to filter the list of demand signal details based on the resource name.
getOccmDemandSignalItems Result
The following output properties are available:
- Compartment
Id string - The OCID of the tenancy from which the demand signal item was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Occm
Demand List<GetSignal Item Collections Occm Demand Signal Items Occm Demand Signal Item Collection> - The list of occm_demand_signal_item_collection.
- Demand
Signal stringNamespace - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- Filters
List<Get
Occm Demand Signal Items Filter> - Occm
Demand stringSignal Id - Resource
Name string - The name of the Oracle Cloud Infrastructure resource that you want to request.
- Compartment
Id string - The OCID of the tenancy from which the demand signal item was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Occm
Demand []GetSignal Item Collections Occm Demand Signal Items Occm Demand Signal Item Collection - The list of occm_demand_signal_item_collection.
- Demand
Signal stringNamespace - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- Filters
[]Get
Occm Demand Signal Items Filter - Occm
Demand stringSignal Id - Resource
Name string - The name of the Oracle Cloud Infrastructure resource that you want to request.
- compartment
Id String - The OCID of the tenancy from which the demand signal item was created.
- id String
- The provider-assigned unique ID for this managed resource.
- occm
Demand List<GetSignal Item Collections Occm Demand Signal Items Occm Demand Signal Item Collection> - The list of occm_demand_signal_item_collection.
- demand
Signal StringNamespace - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- filters
List<Get
Occm Demand Signal Items Filter> - occm
Demand StringSignal Id - resource
Name String - The name of the Oracle Cloud Infrastructure resource that you want to request.
- compartment
Id string - The OCID of the tenancy from which the demand signal item was created.
- id string
- The provider-assigned unique ID for this managed resource.
- occm
Demand GetSignal Item Collections Occm Demand Signal Items Occm Demand Signal Item Collection[] - The list of occm_demand_signal_item_collection.
- demand
Signal stringNamespace - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- filters
Get
Occm Demand Signal Items Filter[] - occm
Demand stringSignal Id - resource
Name string - The name of the Oracle Cloud Infrastructure resource that you want to request.
- compartment_
id str - The OCID of the tenancy from which the demand signal item was created.
- id str
- The provider-assigned unique ID for this managed resource.
- occm_
demand_ Sequence[Getsignal_ item_ collections Occm Demand Signal Items Occm Demand Signal Item Collection] - The list of occm_demand_signal_item_collection.
- demand_
signal_ strnamespace - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- filters
Sequence[Get
Occm Demand Signal Items Filter] - occm_
demand_ strsignal_ id - resource_
name str - The name of the Oracle Cloud Infrastructure resource that you want to request.
- compartment
Id String - The OCID of the tenancy from which the demand signal item was created.
- id String
- The provider-assigned unique ID for this managed resource.
- occm
Demand List<Property Map>Signal Item Collections - The list of occm_demand_signal_item_collection.
- demand
Signal StringNamespace - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- filters List<Property Map>
- occm
Demand StringSignal Id - resource
Name String - The name of the Oracle Cloud Infrastructure resource that you want to request.
Supporting Types
GetOccmDemandSignalItemsFilter
GetOccmDemandSignalItemsOccmDemandSignalItemCollection
GetOccmDemandSignalItemsOccmDemandSignalItemCollectionItem
- Availability
Domain string - The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
- 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"}
- Demand
Quantity string - The quantity of the resource that you want to demand from OCI.
- Demand
Signal stringCatalog Resource Id - The OCID of the corresponding demand signal catalog resource.
- Demand
Signal stringId - The OCID of the demand signal under which this item will be grouped.
- Demand
Signal stringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- 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.
- Region string
- The name of region for which you want to request the Oracle Cloud Infrastructure resource.
- Request
Type string - The type of request (DEMAND or RETURN) made against a particular demand signal item.
- Resource
Name string - A query parameter to filter the list of demand signal details based on the resource name.
- Resource
Properties Dictionary<string, string> - A map of various properties associated with the Oracle Cloud Infrastructure resource.
- 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"}
- Target
Compartment stringId - The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
- Time
Needed stringBefore - the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
- Availability
Domain string - The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
- 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"}
- Demand
Quantity string - The quantity of the resource that you want to demand from OCI.
- Demand
Signal stringCatalog Resource Id - The OCID of the corresponding demand signal catalog resource.
- Demand
Signal stringId - The OCID of the demand signal under which this item will be grouped.
- Demand
Signal stringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- 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.
- Region string
- The name of region for which you want to request the Oracle Cloud Infrastructure resource.
- Request
Type string - The type of request (DEMAND or RETURN) made against a particular demand signal item.
- Resource
Name string - A query parameter to filter the list of demand signal details based on the resource name.
- Resource
Properties map[string]string - A map of various properties associated with the Oracle Cloud Infrastructure resource.
- 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"}
- Target
Compartment stringId - The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
- Time
Needed stringBefore - the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
- availability
Domain String - The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
- 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"}
- demand
Quantity String - The quantity of the resource that you want to demand from OCI.
- demand
Signal StringCatalog Resource Id - The OCID of the corresponding demand signal catalog resource.
- demand
Signal StringId - The OCID of the demand signal under which this item will be grouped.
- demand
Signal StringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- 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.
- region String
- The name of region for which you want to request the Oracle Cloud Infrastructure resource.
- request
Type String - The type of request (DEMAND or RETURN) made against a particular demand signal item.
- resource
Name String - A query parameter to filter the list of demand signal details based on the resource name.
- resource
Properties Map<String,String> - A map of various properties associated with the Oracle Cloud Infrastructure resource.
- 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"}
- target
Compartment StringId - The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
- time
Needed StringBefore - the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
- availability
Domain string - The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
- 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"}
- demand
Quantity string - The quantity of the resource that you want to demand from OCI.
- demand
Signal stringCatalog Resource Id - The OCID of the corresponding demand signal catalog resource.
- demand
Signal stringId - The OCID of the demand signal under which this item will be grouped.
- demand
Signal stringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- {[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.
- region string
- The name of region for which you want to request the Oracle Cloud Infrastructure resource.
- request
Type string - The type of request (DEMAND or RETURN) made against a particular demand signal item.
- resource
Name string - A query parameter to filter the list of demand signal details based on the resource name.
- resource
Properties {[key: string]: string} - A map of various properties associated with the Oracle Cloud Infrastructure resource.
- 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"}
- target
Compartment stringId - The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
- time
Needed stringBefore - 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 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"}
- demand_
quantity str - The quantity of the resource that you want to demand from OCI.
- demand_
signal_ strcatalog_ resource_ id - The OCID of the corresponding demand signal catalog resource.
- demand_
signal_ strid - The OCID of the demand signal under which this item will be grouped.
- demand_
signal_ strnamespace - A query parameter to filter the list of demand signal details based on the namespace.
- 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.
- 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 - A query parameter to filter the list of demand signal details based on the resource name.
- 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.
- 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_ strid - The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
- time_
needed_ strbefore - the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.
- availability
Domain String - The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource.
- 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"}
- demand
Quantity String - The quantity of the resource that you want to demand from OCI.
- demand
Signal StringCatalog Resource Id - The OCID of the corresponding demand signal catalog resource.
- demand
Signal StringId - The OCID of the demand signal under which this item will be grouped.
- demand
Signal StringNamespace - A query parameter to filter the list of demand signal details based on the namespace.
- 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.
- region String
- The name of region for which you want to request the Oracle Cloud Infrastructure resource.
- request
Type String - The type of request (DEMAND or RETURN) made against a particular demand signal item.
- resource
Name String - A query parameter to filter the list of demand signal details based on the resource name.
- resource
Properties Map<String> - A map of various properties associated with the Oracle Cloud Infrastructure resource.
- 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"}
- target
Compartment StringId - The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
- time
Needed StringBefore - 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.