import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Occm Demand Signal Item resource in Oracle Cloud Infrastructure Capacity Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occcm/latest/OccmDemandSignalItem * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/capacity_management * * This API will create a demand signal item representing a resource request. This needs to be grouped under a demand signal. * * ## Example Usage * * ```typescript * 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 * * OccmDemandSignalItems can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CapacityManagement/occmDemandSignalItem:OccmDemandSignalItem test_occm_demand_signal_item "id" * ``` */ export declare class OccmDemandSignalItem extends pulumi.CustomResource { /** * Get an existing OccmDemandSignalItem 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?: OccmDemandSignalItemState, opts?: pulumi.CustomResourceOptions): OccmDemandSignalItem; /** * Returns true if the given object is an instance of OccmDemandSignalItem. 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 OccmDemandSignalItem; /** * (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter. */ readonly availabilityDomain: pulumi.Output; /** * The OCID of the tenancy from which the demand signal item was 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; }>; /** * (Updatable) The quantity of the resource that you want to demand from OCI. */ readonly demandQuantity: pulumi.Output; /** * The OCID of the correponding demand signal catalog resource. */ readonly demandSignalCatalogResourceId: pulumi.Output; /** * The OCID of the demand signal under which we need to create this item. */ readonly demandSignalId: pulumi.Output; /** * The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. */ readonly demandSignalNamespace: 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 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. */ readonly notes: pulumi.Output; /** * (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource. */ readonly region: pulumi.Output; /** * The type of request (DEMAND or RETURN) that you want to make for this demand signal item. */ readonly requestType: pulumi.Output; /** * The name of the Oracle Cloud Infrastructure resource that you want to request. */ readonly resourceName: pulumi.Output; /** * (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource. */ readonly resourceProperties: pulumi.Output<{ [key: string]: string; }>; /** * 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; }>; /** * (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter. */ readonly targetCompartmentId: pulumi.Output; /** * (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 */ readonly timeNeededBefore: pulumi.Output; /** * Create a OccmDemandSignalItem 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: OccmDemandSignalItemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OccmDemandSignalItem resources. */ export interface OccmDemandSignalItemState { /** * (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter. */ availabilityDomain?: pulumi.Input; /** * The OCID of the tenancy from which the demand signal item was 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>; /** * (Updatable) The quantity of the resource that you want to demand from OCI. */ demandQuantity?: pulumi.Input; /** * The OCID of the correponding demand signal catalog resource. */ demandSignalCatalogResourceId?: pulumi.Input; /** * The OCID of the demand signal under which we need to create this item. */ demandSignalId?: pulumi.Input; /** * The name of the Oracle Cloud Infrastructure service in consideration for demand signal submission. For example: COMPUTE, NETWORK, GPU etc. */ demandSignalNamespace?: 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 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. */ notes?: pulumi.Input; /** * (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource. */ region?: pulumi.Input; /** * The type of request (DEMAND or RETURN) that you want to make for this demand signal item. */ requestType?: pulumi.Input; /** * The name of the Oracle Cloud Infrastructure resource that you want to request. */ resourceName?: pulumi.Input; /** * (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource. */ resourceProperties?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * 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>; /** * (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter. */ targetCompartmentId?: pulumi.Input; /** * (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 */ timeNeededBefore?: pulumi.Input; } /** * The set of arguments for constructing a OccmDemandSignalItem resource. */ export interface OccmDemandSignalItemArgs { /** * (Updatable) The name of the availability domain for which you want to request the Oracle Cloud Infrastructure resource. This is an optional parameter. */ availabilityDomain?: pulumi.Input; /** * The OCID of the tenancy from which the demand signal item was 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>; /** * (Updatable) The quantity of the resource that you want to demand from OCI. */ demandQuantity: pulumi.Input; /** * The OCID of the correponding demand signal catalog resource. */ demandSignalCatalogResourceId: pulumi.Input; /** * The OCID of the demand signal under which we need to create this item. */ demandSignalId: 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 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. */ notes?: pulumi.Input; /** * (Updatable) The name of region for which you want to request the Oracle Cloud Infrastructure resource. */ region: pulumi.Input; /** * The type of request (DEMAND or RETURN) that you want to make for this demand signal item. */ requestType: pulumi.Input; /** * (Updatable) A map of various properties associated with the Oracle Cloud Infrastructure resource. */ resourceProperties: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * (Updatable) The OCID of the tenancy for which you want to request the Oracle Cloud Infrastructure resource for. This is an optional parameter. */ targetCompartmentId?: pulumi.Input; /** * (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 */ timeNeededBefore: pulumi.Input; } //# sourceMappingURL=occmDemandSignalItem.d.ts.map