import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Occ Demand Signal resource in Oracle Cloud Infrastructure Demand Signal service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/occds/latest/OccDemandSignal
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/demand_signal
 *
 * Creates a OccDemandSignal.
 *
 *   Updates the data of an OccDemandSignal.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testOccDemandSignal = new oci.demandsignal.OccDemandSignal("test_occ_demand_signal", {
 *     compartmentId: compartmentId,
 *     isActive: occDemandSignalIsActive === "true",
 *     occDemandSignalId: occDemandSignalOccDemandSignalId,
 *     occDemandSignals: [{
 *         resourceType: occDemandSignalOccDemandSignalsResourceType,
 *         units: occDemandSignalOccDemandSignalsUnits,
 *         values: [{
 *             timeExpected: occDemandSignalOccDemandSignalsValuesTimeExpected,
 *             value: occDemandSignalOccDemandSignalsValuesValue,
 *             comments: occDemandSignalOccDemandSignalsValuesComments,
 *         }],
 *     }],
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     displayName: occDemandSignalDisplayName,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     patchOperations: [{
 *         operation: occDemandSignalPatchOperationsOperation,
 *         selection: occDemandSignalPatchOperationsSelection,
 *         from: occDemandSignalPatchOperationsFrom,
 *         position: occDemandSignalPatchOperationsPosition,
 *         selectedItem: occDemandSignalPatchOperationsSelectedItem,
 *         value: occDemandSignalPatchOperationsValue,
 *         values: occDemandSignalPatchOperationsValues,
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * OccDemandSignals can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DemandSignal/occDemandSignal:OccDemandSignal test_occ_demand_signal "id"
 * ```
 */
export declare class OccDemandSignal extends pulumi.CustomResource {
    /**
     * Get an existing OccDemandSignal 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<pulumi.ID>, state?: OccDemandSignalState, opts?: pulumi.CustomResourceOptions): OccDemandSignal;
    /**
     * Returns true if the given object is an instance of OccDemandSignal.  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 OccDemandSignal;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Indicator of whether to share the data with Oracle.
     */
    readonly isActive: pulumi.Output<boolean>;
    /**
     * A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    readonly occDemandSignalId: pulumi.Output<string | undefined>;
    /**
     * The OccDemandSignal data.
     */
    readonly occDemandSignals: pulumi.Output<outputs.DemandSignal.OccDemandSignalOccDemandSignal[]>;
    /**
     * (Updatable)
     */
    readonly patchOperations: pulumi.Output<outputs.DemandSignal.OccDemandSignalPatchOperation[] | undefined>;
    /**
     * The current state of the OccDemandSignal.
     */
    readonly state: pulumi.Output<string>;
    /**
     * 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 and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a OccDemandSignal 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: OccDemandSignalArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering OccDemandSignal resources.
 */
export interface OccDemandSignalState {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Indicator of whether to share the data with Oracle.
     */
    isActive?: pulumi.Input<boolean | undefined>;
    /**
     * A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    occDemandSignalId?: pulumi.Input<string | undefined>;
    /**
     * The OccDemandSignal data.
     */
    occDemandSignals?: pulumi.Input<pulumi.Input<inputs.DemandSignal.OccDemandSignalOccDemandSignal>[] | undefined>;
    /**
     * (Updatable)
     */
    patchOperations?: pulumi.Input<pulumi.Input<inputs.DemandSignal.OccDemandSignalPatchOperation>[] | undefined>;
    /**
     * The current state of the OccDemandSignal.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * 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<string>;
    } | undefined>;
    /**
     * The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a OccDemandSignal resource.
 */
export interface OccDemandSignalArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Indicator of whether to share the data with Oracle.
     */
    isActive: pulumi.Input<boolean>;
    occDemandSignalId?: pulumi.Input<string | undefined>;
    /**
     * The OccDemandSignal data.
     */
    occDemandSignals: pulumi.Input<pulumi.Input<inputs.DemandSignal.OccDemandSignalOccDemandSignal>[]>;
    /**
     * (Updatable)
     */
    patchOperations?: pulumi.Input<pulumi.Input<inputs.DemandSignal.OccDemandSignalPatchOperation>[] | undefined>;
}
//# sourceMappingURL=occDemandSignal.d.ts.map