import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Internal Occm Demand Signal Delivery resource in Oracle Cloud Infrastructure Capacity Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occcm/latest/InternalOccmDemandSignalDelivery * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/capacity_management * * This is a post API which is used to create a demand signal delivery resource. * operationId: CreateInternalOccmDemandSignalDelivery * summary: A post call to create a demand signal delivery. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInternalOccmDemandSignalDelivery = new oci.capacitymanagement.InternalOccmDemandSignalDelivery("test_internal_occm_demand_signal_delivery", { * acceptedQuantity: internalOccmDemandSignalDeliveryAcceptedQuantity, * compartmentId: compartmentId, * demandSignalId: testDemandSignal.id, * demandSignalItemId: testDemandSignalItem.id, * occCustomerGroupId: testOccCustomerGroup.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * justification: internalOccmDemandSignalDeliveryJustification, * notes: internalOccmDemandSignalDeliveryNotes, * }); * ``` * * ## Import * * InternalOccmDemandSignalDeliveries can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CapacityManagement/internalOccmDemandSignalDelivery:InternalOccmDemandSignalDelivery test_internal_occm_demand_signal_delivery "internal/occmDemandSignalDeliveries/{occmDemandSignalDeliveryId}" * ``` */ export declare class InternalOccmDemandSignalDelivery extends pulumi.CustomResource { /** * Get an existing InternalOccmDemandSignalDelivery resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: InternalOccmDemandSignalDeliveryState, opts?: pulumi.CustomResourceOptions): InternalOccmDemandSignalDelivery; /** * Returns true if the given object is an instance of InternalOccmDemandSignalDelivery. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is InternalOccmDemandSignalDelivery; /** * (Updatable) The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer. */ readonly acceptedQuantity: pulumi.Output; /** * The OCID of the tenancy from which the demand signal delivery resource is created. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The OCID of the demand signal under which this delivery will be grouped. */ readonly demandSignalId: pulumi.Output; /** * The OCID of the demand signal item corresponding to which this delivery is made. */ readonly demandSignalItemId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) This field could be used by Oracle Cloud Infrastructure to communicate the reason for declining the request. */ readonly justification: pulumi.Output; /** * The enum values corresponding to the various states associated with the delivery resource. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) This field acts as a notes section for operators. */ readonly notes: pulumi.Output; /** * The OCID of the corresponding customer group to which this demand signal delivery resource belongs to. * * ** 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 */ readonly occCustomerGroupId: pulumi.Output; /** * The current lifecycle state of the resource. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date on which the Oracle Cloud Infrastructure delivered the resource to the customers. The default value for this will be the corresponding demand signal item resource's need by date. */ readonly timeDelivered: pulumi.Output; /** * Create a InternalOccmDemandSignalDelivery resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InternalOccmDemandSignalDeliveryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InternalOccmDemandSignalDelivery resources. */ export interface InternalOccmDemandSignalDeliveryState { /** * (Updatable) The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer. */ acceptedQuantity?: pulumi.Input; /** * The OCID of the tenancy from which the demand signal delivery resource is created. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the demand signal under which this delivery will be grouped. */ demandSignalId?: pulumi.Input; /** * The OCID of the demand signal item corresponding to which this delivery is made. */ demandSignalItemId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) This field could be used by Oracle Cloud Infrastructure to communicate the reason for declining the request. */ justification?: pulumi.Input; /** * The enum values corresponding to the various states associated with the delivery resource. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) This field acts as a notes section for operators. */ notes?: pulumi.Input; /** * The OCID of the corresponding customer group to which this demand signal delivery resource belongs to. * * ** 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 */ occCustomerGroupId?: pulumi.Input; /** * The current lifecycle state of the resource. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date on which the Oracle Cloud Infrastructure delivered the resource to the customers. The default value for this will be the corresponding demand signal item resource's need by date. */ timeDelivered?: pulumi.Input; } /** * The set of arguments for constructing a InternalOccmDemandSignalDelivery resource. */ export interface InternalOccmDemandSignalDeliveryArgs { /** * (Updatable) The quantity of the resource that Oracle Cloud Infrastructure will supply to the customer. */ acceptedQuantity: pulumi.Input; /** * The OCID of the tenancy from which the demand signal delivery resource is created. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the demand signal under which this delivery will be grouped. */ demandSignalId: pulumi.Input; /** * The OCID of the demand signal item corresponding to which this delivery is made. */ demandSignalItemId: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) This field could be used by Oracle Cloud Infrastructure to communicate the reason for declining the request. */ justification?: pulumi.Input; /** * The enum values corresponding to the various states associated with the delivery resource. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) This field acts as a notes section for operators. */ notes?: pulumi.Input; /** * The OCID of the corresponding customer group to which this demand signal delivery resource belongs to. * * ** 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 */ occCustomerGroupId: pulumi.Input; } //# sourceMappingURL=internalOccmDemandSignalDelivery.d.ts.map