Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.CapacityManagement.getOccmDemandSignalItem
Explore with Pulumi AI
This data source provides details about a specific Occm Demand Signal Item resource in Oracle Cloud Infrastructure Capacity Management service.
This is a GET API to get the details of a demand signal item resource representing the details of the resource demanded by you.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOccmDemandSignalItem = oci.CapacityManagement.getOccmDemandSignalItem({
occmDemandSignalItemId: testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.id,
});
import pulumi
import pulumi_oci as oci
test_occm_demand_signal_item = oci.CapacityManagement.get_occm_demand_signal_item(occm_demand_signal_item_id=test_occm_demand_signal_item_oci_capacity_management_occm_demand_signal_item["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.GetOccmDemandSignalItem(ctx, &capacitymanagement.GetOccmDemandSignalItemArgs{
OccmDemandSignalItemId: testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.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 testOccmDemandSignalItem = Oci.CapacityManagement.GetOccmDemandSignalItem.Invoke(new()
{
OccmDemandSignalItemId = testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.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.GetOccmDemandSignalItemArgs;
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 testOccmDemandSignalItem = CapacityManagementFunctions.getOccmDemandSignalItem(GetOccmDemandSignalItemArgs.builder()
.occmDemandSignalItemId(testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.id())
.build());
}
}
variables:
testOccmDemandSignalItem:
fn::invoke:
function: oci:CapacityManagement:getOccmDemandSignalItem
arguments:
occmDemandSignalItemId: ${testOccmDemandSignalItemOciCapacityManagementOccmDemandSignalItem.id}
Using getOccmDemandSignalItem
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 getOccmDemandSignalItem(args: GetOccmDemandSignalItemArgs, opts?: InvokeOptions): Promise<GetOccmDemandSignalItemResult>
function getOccmDemandSignalItemOutput(args: GetOccmDemandSignalItemOutputArgs, opts?: InvokeOptions): Output<GetOccmDemandSignalItemResult>
def get_occm_demand_signal_item(occm_demand_signal_item_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOccmDemandSignalItemResult
def get_occm_demand_signal_item_output(occm_demand_signal_item_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOccmDemandSignalItemResult]
func LookupOccmDemandSignalItem(ctx *Context, args *LookupOccmDemandSignalItemArgs, opts ...InvokeOption) (*LookupOccmDemandSignalItemResult, error)
func LookupOccmDemandSignalItemOutput(ctx *Context, args *LookupOccmDemandSignalItemOutputArgs, opts ...InvokeOption) LookupOccmDemandSignalItemResultOutput
> Note: This function is named LookupOccmDemandSignalItem
in the Go SDK.
public static class GetOccmDemandSignalItem
{
public static Task<GetOccmDemandSignalItemResult> InvokeAsync(GetOccmDemandSignalItemArgs args, InvokeOptions? opts = null)
public static Output<GetOccmDemandSignalItemResult> Invoke(GetOccmDemandSignalItemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOccmDemandSignalItemResult> getOccmDemandSignalItem(GetOccmDemandSignalItemArgs args, InvokeOptions options)
public static Output<GetOccmDemandSignalItemResult> getOccmDemandSignalItem(GetOccmDemandSignalItemArgs args, InvokeOptions options)
fn::invoke:
function: oci:CapacityManagement/getOccmDemandSignalItem:getOccmDemandSignalItem
arguments:
# arguments dictionary
The following arguments are supported:
- Occm
Demand stringSignal Item Id - The OCID of the demand signal item.
- Occm
Demand stringSignal Item Id - The OCID of the demand signal item.
- occm
Demand StringSignal Item Id - The OCID of the demand signal item.
- occm
Demand stringSignal Item Id - The OCID of the demand signal item.
- occm_
demand_ strsignal_ item_ id - The OCID of the demand signal item.
- occm
Demand StringSignal Item Id - The OCID of the demand signal item.
getOccmDemandSignalItem Result
The following output properties are available:
- 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 tenancy from which the demand signal item was created.
- 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 - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- 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.
- Occm
Demand stringSignal Item Id - 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 - The name of the Oracle Cloud Infrastructure resource that you want to request.
- 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 tenancy from which the demand signal item was created.
- 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 - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- 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.
- Occm
Demand stringSignal Item Id - 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 - The name of the Oracle Cloud Infrastructure resource that you want to request.
- 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 tenancy from which the demand signal item was created.
- 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 - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- 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.
- occm
Demand StringSignal Item Id - 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 - The name of the Oracle Cloud Infrastructure resource that you want to request.
- 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 tenancy from which the demand signal item was created.
- {[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 - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- {[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.
- occm
Demand stringSignal Item Id - 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 - The name of the Oracle Cloud Infrastructure resource that you want to request.
- 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 tenancy from which the demand signal item was created.
- 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 - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- 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.
- occm_
demand_ strsignal_ item_ id - 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 - The name of the Oracle Cloud Infrastructure resource that you want to request.
- 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 tenancy from which the demand signal item was created.
- 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 - The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
- 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.
- occm
Demand StringSignal Item Id - 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 - The name of the Oracle Cloud Infrastructure resource that you want to request.
- 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.