1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CapacityManagement
  5. OccmDemandSignalItem
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.CapacityManagement.OccmDemandSignalItem

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    This resource provides the Occm Demand Signal Item resource in Oracle Cloud Infrastructure Capacity Management service.

    This API will create a demand signal item representing a resource request. This needs to be grouped under a demand signal.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOccmDemandSignalItem = new oci.capacitymanagement.OccmDemandSignalItem("test_occm_demand_signal_item", {
        compartmentId: compartmentId,
        demandQuantity: occmDemandSignalItemDemandQuantity,
        demandSignalCatalogResourceId: testResource.id,
        demandSignalId: testDemandSignal.id,
        region: occmDemandSignalItemRegion,
        requestType: occmDemandSignalItemRequestType,
        resourceProperties: occmDemandSignalItemResourceProperties,
        timeNeededBefore: occmDemandSignalItemTimeNeededBefore,
        availabilityDomain: occmDemandSignalItemAvailabilityDomain,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        notes: occmDemandSignalItemNotes,
        targetCompartmentId: testCompartment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_occm_demand_signal_item = oci.capacity_management.OccmDemandSignalItem("test_occm_demand_signal_item",
        compartment_id=compartment_id,
        demand_quantity=occm_demand_signal_item_demand_quantity,
        demand_signal_catalog_resource_id=test_resource["id"],
        demand_signal_id=test_demand_signal["id"],
        region=occm_demand_signal_item_region,
        request_type=occm_demand_signal_item_request_type,
        resource_properties=occm_demand_signal_item_resource_properties,
        time_needed_before=occm_demand_signal_item_time_needed_before,
        availability_domain=occm_demand_signal_item_availability_domain,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        notes=occm_demand_signal_item_notes,
        target_compartment_id=test_compartment["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.NewOccmDemandSignalItem(ctx, "test_occm_demand_signal_item", &capacitymanagement.OccmDemandSignalItemArgs{
    			CompartmentId:                 pulumi.Any(compartmentId),
    			DemandQuantity:                pulumi.Any(occmDemandSignalItemDemandQuantity),
    			DemandSignalCatalogResourceId: pulumi.Any(testResource.Id),
    			DemandSignalId:                pulumi.Any(testDemandSignal.Id),
    			Region:                        pulumi.Any(occmDemandSignalItemRegion),
    			RequestType:                   pulumi.Any(occmDemandSignalItemRequestType),
    			ResourceProperties:            pulumi.Any(occmDemandSignalItemResourceProperties),
    			TimeNeededBefore:              pulumi.Any(occmDemandSignalItemTimeNeededBefore),
    			AvailabilityDomain:            pulumi.Any(occmDemandSignalItemAvailabilityDomain),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Notes:               pulumi.Any(occmDemandSignalItemNotes),
    			TargetCompartmentId: pulumi.Any(testCompartment.Id),
    		})
    		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 = new Oci.CapacityManagement.OccmDemandSignalItem("test_occm_demand_signal_item", new()
        {
            CompartmentId = compartmentId,
            DemandQuantity = occmDemandSignalItemDemandQuantity,
            DemandSignalCatalogResourceId = testResource.Id,
            DemandSignalId = testDemandSignal.Id,
            Region = occmDemandSignalItemRegion,
            RequestType = occmDemandSignalItemRequestType,
            ResourceProperties = occmDemandSignalItemResourceProperties,
            TimeNeededBefore = occmDemandSignalItemTimeNeededBefore,
            AvailabilityDomain = occmDemandSignalItemAvailabilityDomain,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Notes = occmDemandSignalItemNotes,
            TargetCompartmentId = testCompartment.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.CapacityManagement.OccmDemandSignalItem;
    import com.pulumi.oci.CapacityManagement.OccmDemandSignalItemArgs;
    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) {
            var testOccmDemandSignalItem = new OccmDemandSignalItem("testOccmDemandSignalItem", OccmDemandSignalItemArgs.builder()
                .compartmentId(compartmentId)
                .demandQuantity(occmDemandSignalItemDemandQuantity)
                .demandSignalCatalogResourceId(testResource.id())
                .demandSignalId(testDemandSignal.id())
                .region(occmDemandSignalItemRegion)
                .requestType(occmDemandSignalItemRequestType)
                .resourceProperties(occmDemandSignalItemResourceProperties)
                .timeNeededBefore(occmDemandSignalItemTimeNeededBefore)
                .availabilityDomain(occmDemandSignalItemAvailabilityDomain)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .notes(occmDemandSignalItemNotes)
                .targetCompartmentId(testCompartment.id())
                .build());
    
        }
    }
    
    resources:
      testOccmDemandSignalItem:
        type: oci:CapacityManagement:OccmDemandSignalItem
        name: test_occm_demand_signal_item
        properties:
          compartmentId: ${compartmentId}
          demandQuantity: ${occmDemandSignalItemDemandQuantity}
          demandSignalCatalogResourceId: ${testResource.id}
          demandSignalId: ${testDemandSignal.id}
          region: ${occmDemandSignalItemRegion}
          requestType: ${occmDemandSignalItemRequestType}
          resourceProperties: ${occmDemandSignalItemResourceProperties}
          timeNeededBefore: ${occmDemandSignalItemTimeNeededBefore}
          availabilityDomain: ${occmDemandSignalItemAvailabilityDomain}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          notes: ${occmDemandSignalItemNotes}
          targetCompartmentId: ${testCompartment.id}
    

    Create OccmDemandSignalItem Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OccmDemandSignalItem(name: string, args: OccmDemandSignalItemArgs, opts?: CustomResourceOptions);
    @overload
    def OccmDemandSignalItem(resource_name: str,
                             args: OccmDemandSignalItemArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def OccmDemandSignalItem(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             request_type: Optional[str] = None,
                             compartment_id: Optional[str] = None,
                             demand_quantity: Optional[str] = None,
                             demand_signal_catalog_resource_id: Optional[str] = None,
                             demand_signal_id: Optional[str] = None,
                             region: Optional[str] = None,
                             resource_properties: Optional[Mapping[str, str]] = None,
                             time_needed_before: Optional[str] = None,
                             defined_tags: Optional[Mapping[str, str]] = None,
                             freeform_tags: Optional[Mapping[str, str]] = None,
                             notes: Optional[str] = None,
                             availability_domain: Optional[str] = None,
                             target_compartment_id: Optional[str] = None)
    func NewOccmDemandSignalItem(ctx *Context, name string, args OccmDemandSignalItemArgs, opts ...ResourceOption) (*OccmDemandSignalItem, error)
    public OccmDemandSignalItem(string name, OccmDemandSignalItemArgs args, CustomResourceOptions? opts = null)
    public OccmDemandSignalItem(String name, OccmDemandSignalItemArgs args)
    public OccmDemandSignalItem(String name, OccmDemandSignalItemArgs args, CustomResourceOptions options)
    
    type: oci:CapacityManagement:OccmDemandSignalItem
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OccmDemandSignalItemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OccmDemandSignalItemArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OccmDemandSignalItemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OccmDemandSignalItemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OccmDemandSignalItemArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var occmDemandSignalItemResource = new Oci.CapacityManagement.OccmDemandSignalItem("occmDemandSignalItemResource", new()
    {
        RequestType = "string",
        CompartmentId = "string",
        DemandQuantity = "string",
        DemandSignalCatalogResourceId = "string",
        DemandSignalId = "string",
        Region = "string",
        ResourceProperties = 
        {
            { "string", "string" },
        },
        TimeNeededBefore = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        Notes = "string",
        AvailabilityDomain = "string",
        TargetCompartmentId = "string",
    });
    
    example, err := capacitymanagement.NewOccmDemandSignalItem(ctx, "occmDemandSignalItemResource", &capacitymanagement.OccmDemandSignalItemArgs{
    	RequestType:                   pulumi.String("string"),
    	CompartmentId:                 pulumi.String("string"),
    	DemandQuantity:                pulumi.String("string"),
    	DemandSignalCatalogResourceId: pulumi.String("string"),
    	DemandSignalId:                pulumi.String("string"),
    	Region:                        pulumi.String("string"),
    	ResourceProperties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TimeNeededBefore: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Notes:               pulumi.String("string"),
    	AvailabilityDomain:  pulumi.String("string"),
    	TargetCompartmentId: pulumi.String("string"),
    })
    
    var occmDemandSignalItemResource = new OccmDemandSignalItem("occmDemandSignalItemResource", OccmDemandSignalItemArgs.builder()
        .requestType("string")
        .compartmentId("string")
        .demandQuantity("string")
        .demandSignalCatalogResourceId("string")
        .demandSignalId("string")
        .region("string")
        .resourceProperties(Map.of("string", "string"))
        .timeNeededBefore("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .notes("string")
        .availabilityDomain("string")
        .targetCompartmentId("string")
        .build());
    
    occm_demand_signal_item_resource = oci.capacitymanagement.OccmDemandSignalItem("occmDemandSignalItemResource",
        request_type="string",
        compartment_id="string",
        demand_quantity="string",
        demand_signal_catalog_resource_id="string",
        demand_signal_id="string",
        region="string",
        resource_properties={
            "string": "string",
        },
        time_needed_before="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        notes="string",
        availability_domain="string",
        target_compartment_id="string")
    
    const occmDemandSignalItemResource = new oci.capacitymanagement.OccmDemandSignalItem("occmDemandSignalItemResource", {
        requestType: "string",
        compartmentId: "string",
        demandQuantity: "string",
        demandSignalCatalogResourceId: "string",
        demandSignalId: "string",
        region: "string",
        resourceProperties: {
            string: "string",
        },
        timeNeededBefore: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        notes: "string",
        availabilityDomain: "string",
        targetCompartmentId: "string",
    });
    
    type: oci:CapacityManagement:OccmDemandSignalItem
    properties:
        availabilityDomain: string
        compartmentId: string
        definedTags:
            string: string
        demandQuantity: string
        demandSignalCatalogResourceId: string
        demandSignalId: string
        freeformTags:
            string: string
        notes: string
        region: string
        requestType: string
        resourceProperties:
            string: string
        targetCompartmentId: string
        timeNeededBefore: string
    

    OccmDemandSignalItem Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OccmDemandSignalItem resource accepts the following input properties:

    CompartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    DemandQuantity string
    (Updatable) The quantity of the resource that you want to demand from OCI.
    DemandSignalCatalogResourceId string
    The OCID of the correponding demand signal catalog resource.
    DemandSignalId string
    The OCID of the demand signal under which we need to create this item.
    Region string
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    RequestType string
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    ResourceProperties Dictionary<string, string>
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    TimeNeededBefore string

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AvailabilityDomain string
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Notes string

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    TargetCompartmentId string
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    CompartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    DemandQuantity string
    (Updatable) The quantity of the resource that you want to demand from OCI.
    DemandSignalCatalogResourceId string
    The OCID of the correponding demand signal catalog resource.
    DemandSignalId string
    The OCID of the demand signal under which we need to create this item.
    Region string
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    RequestType string
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    ResourceProperties map[string]string
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    TimeNeededBefore string

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AvailabilityDomain string
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Notes string

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    TargetCompartmentId string
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    compartmentId String
    The OCID of the tenancy from which the demand signal item was created.
    demandQuantity String
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId String
    The OCID of the correponding demand signal catalog resource.
    demandSignalId String
    The OCID of the demand signal under which we need to create this item.
    region String
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType String
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    resourceProperties Map<String,String>
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    timeNeededBefore String

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomain String
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes String

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    targetCompartmentId String
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    compartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    demandQuantity string
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId string
    The OCID of the correponding demand signal catalog resource.
    demandSignalId string
    The OCID of the demand signal under which we need to create this item.
    region string
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType string
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    resourceProperties {[key: string]: string}
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    timeNeededBefore string

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomain string
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes string

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    targetCompartmentId string
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    compartment_id str
    The OCID of the tenancy from which the demand signal item was created.
    demand_quantity str
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demand_signal_catalog_resource_id str
    The OCID of the correponding demand signal catalog resource.
    demand_signal_id str
    The OCID of the demand signal under which we need to create this item.
    region str
    (Updatable) 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) that you want to make for this demand signal item.
    resource_properties Mapping[str, str]
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    time_needed_before str

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availability_domain str
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes str

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    target_compartment_id str
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    compartmentId String
    The OCID of the tenancy from which the demand signal item was created.
    demandQuantity String
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId String
    The OCID of the correponding demand signal catalog resource.
    demandSignalId String
    The OCID of the demand signal under which we need to create this item.
    region String
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType String
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    resourceProperties Map<String>
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    timeNeededBefore String

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomain String
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes String

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    targetCompartmentId String
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OccmDemandSignalItem resource produces the following output properties:

    DemandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    State string
    The current lifecycle state of the resource.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    DemandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    State string
    The current lifecycle state of the resource.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    demandSignalNamespace String
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceName String
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    demandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    state string
    The current lifecycle state of the resource.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    demand_signal_namespace str
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_name str
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    state str
    The current lifecycle state of the resource.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    demandSignalNamespace String
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceName String
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}

    Look up Existing OccmDemandSignalItem Resource

    Get an existing OccmDemandSignalItem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OccmDemandSignalItemState, opts?: CustomResourceOptions): OccmDemandSignalItem
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            demand_quantity: Optional[str] = None,
            demand_signal_catalog_resource_id: Optional[str] = None,
            demand_signal_id: Optional[str] = None,
            demand_signal_namespace: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            notes: Optional[str] = None,
            region: Optional[str] = None,
            request_type: Optional[str] = None,
            resource_name: Optional[str] = None,
            resource_properties: Optional[Mapping[str, str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            target_compartment_id: Optional[str] = None,
            time_needed_before: Optional[str] = None) -> OccmDemandSignalItem
    func GetOccmDemandSignalItem(ctx *Context, name string, id IDInput, state *OccmDemandSignalItemState, opts ...ResourceOption) (*OccmDemandSignalItem, error)
    public static OccmDemandSignalItem Get(string name, Input<string> id, OccmDemandSignalItemState? state, CustomResourceOptions? opts = null)
    public static OccmDemandSignalItem get(String name, Output<String> id, OccmDemandSignalItemState state, CustomResourceOptions options)
    resources:  _:    type: oci:CapacityManagement:OccmDemandSignalItem    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityDomain string
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    CompartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DemandQuantity string
    (Updatable) The quantity of the resource that you want to demand from OCI.
    DemandSignalCatalogResourceId string
    The OCID of the correponding demand signal catalog resource.
    DemandSignalId string
    The OCID of the demand signal under which we need to create this item.
    DemandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Notes string

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    Region string
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    RequestType string
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    ResourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    ResourceProperties Dictionary<string, string>
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    State string
    The current lifecycle state of the resource.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetCompartmentId string
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    TimeNeededBefore string

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AvailabilityDomain string
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    CompartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DemandQuantity string
    (Updatable) The quantity of the resource that you want to demand from OCI.
    DemandSignalCatalogResourceId string
    The OCID of the correponding demand signal catalog resource.
    DemandSignalId string
    The OCID of the demand signal under which we need to create this item.
    DemandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Notes string

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    Region string
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    RequestType string
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    ResourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    ResourceProperties map[string]string
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    State string
    The current lifecycle state of the resource.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetCompartmentId string
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    TimeNeededBefore string

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomain String
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    compartmentId String
    The OCID of the tenancy from which the demand signal item was created.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandQuantity String
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId String
    The OCID of the correponding demand signal catalog resource.
    demandSignalId String
    The OCID of the demand signal under which we need to create this item.
    demandSignalNamespace String
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes String

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    region String
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType String
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    resourceName String
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resourceProperties Map<String,String>
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetCompartmentId String
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    timeNeededBefore String

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomain string
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    compartmentId string
    The OCID of the tenancy from which the demand signal item was created.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandQuantity string
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId string
    The OCID of the correponding demand signal catalog resource.
    demandSignalId string
    The OCID of the demand signal under which we need to create this item.
    demandSignalNamespace string
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes string

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    region string
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType string
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    resourceName string
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resourceProperties {[key: string]: string}
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    state string
    The current lifecycle state of the resource.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetCompartmentId string
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    timeNeededBefore string

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availability_domain str
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    compartment_id str
    The OCID of the tenancy from which the demand signal item was created.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demand_quantity str
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demand_signal_catalog_resource_id str
    The OCID of the correponding demand signal catalog resource.
    demand_signal_id str
    The OCID of the demand signal under which we need to create this item.
    demand_signal_namespace str
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes str

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    region str
    (Updatable) 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) that you want to make for this demand signal item.
    resource_name str
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resource_properties Mapping[str, str]
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    state str
    The current lifecycle state of the resource.
    system_tags 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_id str
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    time_needed_before str

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomain String
    (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter.
    compartmentId String
    The OCID of the tenancy from which the demand signal item was created.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandQuantity String
    (Updatable) The quantity of the resource that you want to demand from OCI.
    demandSignalCatalogResourceId String
    The OCID of the correponding demand signal catalog resource.
    demandSignalId String
    The OCID of the demand signal under which we need to create this item.
    demandSignalNamespace String
    The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    notes String

    (Updatable) 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.

    NOTE: The previous value gets overwritten with the new one for this once updated.

    region String
    (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource.
    requestType String
    The type of request (DEMAND or RETURN) that you want to make for this demand signal item.
    resourceName String
    The name of the Oracle Cloud Infrastructure resource that you want to request.
    resourceProperties Map<String>
    (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource.
    state String
    The current lifecycle state of the resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetCompartmentId String
    (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter.
    timeNeededBefore String

    (Updatable) the date before which you would ideally like the Oracle Cloud Infrastructure resource to be delivered to you.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    OccmDemandSignalItems can be imported using the id, e.g.

    $ pulumi import oci:CapacityManagement/occmDemandSignalItem:OccmDemandSignalItem test_occm_demand_signal_item "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi