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

oci.CapacityManagement.getOccmDemandSignalDeliveries

Explore with Pulumi AI

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

    This data source provides the list of Occm Demand Signal Deliveries in Oracle Cloud Infrastructure Capacity Management service.

    This GET call is used to list all demand signals delivery resources within the compartment passed as a query param.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOccmDemandSignalDeliveries = oci.CapacityManagement.getOccmDemandSignalDeliveries({
        compartmentId: compartmentId,
        id: occmDemandSignalDeliveryId,
        occmDemandSignalItemId: testOccmDemandSignalItem.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_occm_demand_signal_deliveries = oci.CapacityManagement.get_occm_demand_signal_deliveries(compartment_id=compartment_id,
        id=occm_demand_signal_delivery_id,
        occm_demand_signal_item_id=test_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.GetOccmDemandSignalDeliveries(ctx, &capacitymanagement.GetOccmDemandSignalDeliveriesArgs{
    			CompartmentId:          compartmentId,
    			Id:                     pulumi.StringRef(occmDemandSignalDeliveryId),
    			OccmDemandSignalItemId: pulumi.StringRef(testOccmDemandSignalItem.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 testOccmDemandSignalDeliveries = Oci.CapacityManagement.GetOccmDemandSignalDeliveries.Invoke(new()
        {
            CompartmentId = compartmentId,
            Id = occmDemandSignalDeliveryId,
            OccmDemandSignalItemId = testOccmDemandSignalItem.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.GetOccmDemandSignalDeliveriesArgs;
    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 testOccmDemandSignalDeliveries = CapacityManagementFunctions.getOccmDemandSignalDeliveries(GetOccmDemandSignalDeliveriesArgs.builder()
                .compartmentId(compartmentId)
                .id(occmDemandSignalDeliveryId)
                .occmDemandSignalItemId(testOccmDemandSignalItem.id())
                .build());
    
        }
    }
    
    variables:
      testOccmDemandSignalDeliveries:
        fn::invoke:
          function: oci:CapacityManagement:getOccmDemandSignalDeliveries
          arguments:
            compartmentId: ${compartmentId}
            id: ${occmDemandSignalDeliveryId}
            occmDemandSignalItemId: ${testOccmDemandSignalItem.id}
    

    Using getOccmDemandSignalDeliveries

    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 getOccmDemandSignalDeliveries(args: GetOccmDemandSignalDeliveriesArgs, opts?: InvokeOptions): Promise<GetOccmDemandSignalDeliveriesResult>
    function getOccmDemandSignalDeliveriesOutput(args: GetOccmDemandSignalDeliveriesOutputArgs, opts?: InvokeOptions): Output<GetOccmDemandSignalDeliveriesResult>
    def get_occm_demand_signal_deliveries(compartment_id: Optional[str] = None,
                                          filters: Optional[Sequence[GetOccmDemandSignalDeliveriesFilter]] = None,
                                          id: Optional[str] = None,
                                          occm_demand_signal_item_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetOccmDemandSignalDeliveriesResult
    def get_occm_demand_signal_deliveries_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetOccmDemandSignalDeliveriesFilterArgs]]]] = None,
                                          id: Optional[pulumi.Input[str]] = None,
                                          occm_demand_signal_item_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetOccmDemandSignalDeliveriesResult]
    func GetOccmDemandSignalDeliveries(ctx *Context, args *GetOccmDemandSignalDeliveriesArgs, opts ...InvokeOption) (*GetOccmDemandSignalDeliveriesResult, error)
    func GetOccmDemandSignalDeliveriesOutput(ctx *Context, args *GetOccmDemandSignalDeliveriesOutputArgs, opts ...InvokeOption) GetOccmDemandSignalDeliveriesResultOutput

    > Note: This function is named GetOccmDemandSignalDeliveries in the Go SDK.

    public static class GetOccmDemandSignalDeliveries 
    {
        public static Task<GetOccmDemandSignalDeliveriesResult> InvokeAsync(GetOccmDemandSignalDeliveriesArgs args, InvokeOptions? opts = null)
        public static Output<GetOccmDemandSignalDeliveriesResult> Invoke(GetOccmDemandSignalDeliveriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOccmDemandSignalDeliveriesResult> getOccmDemandSignalDeliveries(GetOccmDemandSignalDeliveriesArgs args, InvokeOptions options)
    public static Output<GetOccmDemandSignalDeliveriesResult> getOccmDemandSignalDeliveries(GetOccmDemandSignalDeliveriesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:CapacityManagement/getOccmDemandSignalDeliveries:getOccmDemandSignalDeliveries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    Filters List<GetOccmDemandSignalDeliveriesFilter>
    Id string
    A query parameter to filter the list of demand signals based on it's OCID.
    OccmDemandSignalItemId string
    A query parameter to filter the list of demand signal items based on it's OCID.
    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    Filters []GetOccmDemandSignalDeliveriesFilter
    Id string
    A query parameter to filter the list of demand signals based on it's OCID.
    OccmDemandSignalItemId string
    A query parameter to filter the list of demand signal items based on it's OCID.
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    filters List<GetOccmDemandSignalDeliveriesFilter>
    id String
    A query parameter to filter the list of demand signals based on it's OCID.
    occmDemandSignalItemId String
    A query parameter to filter the list of demand signal items based on it's OCID.
    compartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    filters GetOccmDemandSignalDeliveriesFilter[]
    id string
    A query parameter to filter the list of demand signals based on it's OCID.
    occmDemandSignalItemId string
    A query parameter to filter the list of demand signal items based on it's OCID.
    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.
    filters Sequence[GetOccmDemandSignalDeliveriesFilter]
    id str
    A query parameter to filter the list of demand signals based on it's OCID.
    occm_demand_signal_item_id str
    A query parameter to filter the list of demand signal items based on it's OCID.
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    filters List<Property Map>
    id String
    A query parameter to filter the list of demand signals based on it's OCID.
    occmDemandSignalItemId String
    A query parameter to filter the list of demand signal items based on it's OCID.

    getOccmDemandSignalDeliveries Result

    The following output properties are available:

    CompartmentId string
    The OCID of the tenancy from which the demand signal delivery resource is created.
    OccmDemandSignalDeliveryCollections List<GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollection>
    The list of occm_demand_signal_delivery_collection.
    Filters List<GetOccmDemandSignalDeliveriesFilter>
    Id string
    The OCID of this demand signal delivery resource.
    OccmDemandSignalItemId string
    CompartmentId string
    The OCID of the tenancy from which the demand signal delivery resource is created.
    OccmDemandSignalDeliveryCollections []GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollection
    The list of occm_demand_signal_delivery_collection.
    Filters []GetOccmDemandSignalDeliveriesFilter
    Id string
    The OCID of this demand signal delivery resource.
    OccmDemandSignalItemId string
    compartmentId String
    The OCID of the tenancy from which the demand signal delivery resource is created.
    occmDemandSignalDeliveryCollections List<GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollection>
    The list of occm_demand_signal_delivery_collection.
    filters List<GetOccmDemandSignalDeliveriesFilter>
    id String
    The OCID of this demand signal delivery resource.
    occmDemandSignalItemId String
    compartmentId string
    The OCID of the tenancy from which the demand signal delivery resource is created.
    occmDemandSignalDeliveryCollections GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollection[]
    The list of occm_demand_signal_delivery_collection.
    filters GetOccmDemandSignalDeliveriesFilter[]
    id string
    The OCID of this demand signal delivery resource.
    occmDemandSignalItemId string
    compartment_id str
    The OCID of the tenancy from which the demand signal delivery resource is created.
    occm_demand_signal_delivery_collections Sequence[GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollection]
    The list of occm_demand_signal_delivery_collection.
    filters Sequence[GetOccmDemandSignalDeliveriesFilter]
    id str
    The OCID of this demand signal delivery resource.
    occm_demand_signal_item_id str
    compartmentId String
    The OCID of the tenancy from which the demand signal delivery resource is created.
    occmDemandSignalDeliveryCollections List<Property Map>
    The list of occm_demand_signal_delivery_collection.
    filters List<Property Map>
    id String
    The OCID of this demand signal delivery resource.
    occmDemandSignalItemId String

    Supporting Types

    GetOccmDemandSignalDeliveriesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollection

    Items List<GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollectionItem>
    An array of items containing detailed information about demand signal delivery resources.
    Items []GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollectionItem
    An array of items containing detailed information about demand signal delivery resources.
    items List<GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollectionItem>
    An array of items containing detailed information about demand signal delivery resources.
    items GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollectionItem[]
    An array of items containing detailed information about demand signal delivery resources.
    items Sequence[GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollectionItem]
    An array of items containing detailed information about demand signal delivery resources.
    items List<Property Map>
    An array of items containing detailed information about demand signal delivery resources.

    GetOccmDemandSignalDeliveriesOccmDemandSignalDeliveryCollectionItem

    AcceptedQuantity string
    The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer.
    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DemandSignalId string
    The OCID of the demand signal under which this delivery will be grouped.
    DemandSignalItemId string
    The OCID of the demand signal item corresponding to which this delivery is made.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    A query parameter to filter the list of demand signals based on it's OCID.
    Justification string
    This field could be used by Oracle Cloud Infrastructure to communicate the reason for accepting or declining the request.
    LifecycleDetails string
    The enum values corresponding to the various states associated with the delivery 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"}
    TimeDelivered string
    The date on which the Oracle Cloud Infrastructure delivered the resource to the customers.
    AcceptedQuantity string
    The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer.
    CompartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DemandSignalId string
    The OCID of the demand signal under which this delivery will be grouped.
    DemandSignalItemId string
    The OCID of the demand signal item corresponding to which this delivery is made.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    A query parameter to filter the list of demand signals based on it's OCID.
    Justification string
    This field could be used by Oracle Cloud Infrastructure to communicate the reason for accepting or declining the request.
    LifecycleDetails string
    The enum values corresponding to the various states associated with the delivery 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"}
    TimeDelivered string
    The date on which the Oracle Cloud Infrastructure delivered the resource to the customers.
    acceptedQuantity String
    The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer.
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandSignalId String
    The OCID of the demand signal under which this delivery will be grouped.
    demandSignalItemId String
    The OCID of the demand signal item corresponding to which this delivery is made.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    A query parameter to filter the list of demand signals based on it's OCID.
    justification String
    This field could be used by Oracle Cloud Infrastructure to communicate the reason for accepting or declining the request.
    lifecycleDetails String
    The enum values corresponding to the various states associated with the delivery 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"}
    timeDelivered String
    The date on which the Oracle Cloud Infrastructure delivered the resource to the customers.
    acceptedQuantity string
    The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer.
    compartmentId string
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandSignalId string
    The OCID of the demand signal under which this delivery will be grouped.
    demandSignalItemId string
    The OCID of the demand signal item corresponding to which this delivery is made.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    A query parameter to filter the list of demand signals based on it's OCID.
    justification string
    This field could be used by Oracle Cloud Infrastructure to communicate the reason for accepting or declining the request.
    lifecycleDetails string
    The enum values corresponding to the various states associated with the delivery 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"}
    timeDelivered string
    The date on which the Oracle Cloud Infrastructure delivered the resource to the customers.
    accepted_quantity str
    The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer.
    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.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demand_signal_id str
    The OCID of the demand signal under which this delivery will be grouped.
    demand_signal_item_id str
    The OCID of the demand signal item corresponding to which this delivery is made.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    A query parameter to filter the list of demand signals based on it's OCID.
    justification str
    This field could be used by Oracle Cloud Infrastructure to communicate the reason for accepting or declining the request.
    lifecycle_details str
    The enum values corresponding to the various states associated with the delivery 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"}
    time_delivered str
    The date on which the Oracle Cloud Infrastructure delivered the resource to the customers.
    acceptedQuantity String
    The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer.
    compartmentId String
    The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    demandSignalId String
    The OCID of the demand signal under which this delivery will be grouped.
    demandSignalItemId String
    The OCID of the demand signal item corresponding to which this delivery is made.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    A query parameter to filter the list of demand signals based on it's OCID.
    justification String
    This field could be used by Oracle Cloud Infrastructure to communicate the reason for accepting or declining the request.
    lifecycleDetails String
    The enum values corresponding to the various states associated with the delivery 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"}
    timeDelivered String
    The date on which the Oracle Cloud Infrastructure delivered the resource to the customers.

    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