import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Internal Occm Demand Signal resource in Oracle Cloud Infrastructure Capacity Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occcm/latest/InternalOccmDemandSignal * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/capacity_management * * This is a internal PUT API which shall be used to update the metadata of the demand signal. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInternalOccmDemandSignal = new oci.capacitymanagement.InternalOccmDemandSignal("test_internal_occm_demand_signal", { * occmDemandSignalId: testOccmDemandSignal.id, * lifecycleDetails: internalOccmDemandSignalLifecycleDetails, * }); * ``` * * ## Import * * InternalOccmDemandSignals can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CapacityManagement/internalOccmDemandSignal:InternalOccmDemandSignal test_internal_occm_demand_signal "internal/occmDemandSignals/{occmDemandSignalId}" * ``` */ export declare class InternalOccmDemandSignal extends pulumi.CustomResource { /** * Get an existing InternalOccmDemandSignal 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?: InternalOccmDemandSignalState, opts?: pulumi.CustomResourceOptions): InternalOccmDemandSignal; /** * Returns true if the given object is an instance of InternalOccmDemandSignal. 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 InternalOccmDemandSignal; /** * The OCID of the tenancy from which the request to create the demand signal was made. */ readonly compartmentId: pulumi.Output; /** * 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; }>; /** * A short description about the demand signal. */ readonly description: pulumi.Output; /** * The display name of the demand signal. */ readonly displayName: pulumi.Output; /** * 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) The subset of demand signal states available for operators for updating the demand signal. * * IN_PROGRESS > Transitions the demand signal to IN_PROGRESS state. REJECTED > Transitions the demand signal to REJECTED state. COMPLETED > This will transition the demand signal to COMPLETED state. */ readonly lifecycleDetails: pulumi.Output; /** * The OCID of the customer group in which the demand signal is created. */ readonly occCustomerGroupId: pulumi.Output; /** * The OCID of the demand signal. * * ** 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 occmDemandSignalId: pulumi.Output; /** * The current lifecycle state of the demand signal. */ 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 time when the demand signal was created. */ readonly timeCreated: pulumi.Output; /** * The time when the demand signal was last updated. */ readonly timeUpdated: pulumi.Output; /** * Create a InternalOccmDemandSignal 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: InternalOccmDemandSignalArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InternalOccmDemandSignal resources. */ export interface InternalOccmDemandSignalState { /** * The OCID of the tenancy from which the request to create the demand signal was made. */ compartmentId?: pulumi.Input; /** * 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>; /** * A short description about the demand signal. */ description?: pulumi.Input; /** * The display name of the demand signal. */ displayName?: pulumi.Input; /** * 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) The subset of demand signal states available for operators for updating the demand signal. * * IN_PROGRESS > Transitions the demand signal to IN_PROGRESS state. REJECTED > Transitions the demand signal to REJECTED state. COMPLETED > This will transition the demand signal to COMPLETED state. */ lifecycleDetails?: pulumi.Input; /** * The OCID of the customer group in which the demand signal is created. */ occCustomerGroupId?: pulumi.Input; /** * The OCID of the demand signal. * * ** 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 */ occmDemandSignalId?: pulumi.Input; /** * The current lifecycle state of the demand signal. */ 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 time when the demand signal was created. */ timeCreated?: pulumi.Input; /** * The time when the demand signal was last updated. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a InternalOccmDemandSignal resource. */ export interface InternalOccmDemandSignalArgs { /** * (Updatable) The subset of demand signal states available for operators for updating the demand signal. * * IN_PROGRESS > Transitions the demand signal to IN_PROGRESS state. REJECTED > Transitions the demand signal to REJECTED state. COMPLETED > This will transition the demand signal to COMPLETED state. */ lifecycleDetails?: pulumi.Input; /** * The OCID of the demand signal. * * ** 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 */ occmDemandSignalId: pulumi.Input; } //# sourceMappingURL=internalOccmDemandSignal.d.ts.map