import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Chargeback Plan resource in Oracle Cloud Infrastructure Opsi service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/ChargebackPlan
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi
 *
 * Create a chargeback plan resource for the resource in Ops Insights.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testChargebackPlan = new oci.opsi.ChargebackPlan("test_chargeback_plan", {
 *     compartmentId: compartmentId,
 *     entitySource: chargebackPlanEntitySource,
 *     planName: chargebackPlanPlanName,
 *     planType: chargebackPlanPlanType,
 *     planDescription: chargebackPlanPlanDescription,
 *     planCustomItems: [{
 *         name: chargebackPlanPlanCustomItemsName,
 *         value: chargebackPlanPlanCustomItemsValue,
 *         isCustomizable: chargebackPlanPlanCustomItemsIsCustomizable === "true",
 *     }],
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * ChargebackPlans can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Opsi/chargebackPlan:ChargebackPlan test_chargeback_plan "id"
 * ```
 */
export declare class ChargebackPlan extends pulumi.CustomResource {
    /**
     * Get an existing ChargebackPlan 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?: ChargebackPlanState, opts?: pulumi.CustomResourceOptions): ChargebackPlan;
    /**
     * Returns true if the given object is an instance of ChargebackPlan.  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 ChargebackPlan;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (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;
    }>;
    /**
     * Source of the chargeback plan.
     */
    readonly entitySource: pulumi.Output<string>;
    /**
     * (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;
    }>;
    /**
     * Indicates whether the chargeback plan customization item can be customized.
     */
    readonly isCustomizable: pulumi.Output<boolean>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
     */
    readonly planCategory: pulumi.Output<string>;
    /**
     * (Updatable) List of chargeback plan customizations. At least one item is required.
     */
    readonly planCustomItems: pulumi.Output<outputs.Opsi.ChargebackPlanPlanCustomItem[]>;
    /**
     * (Updatable) Description of OPSI Chargeback Plan.
     */
    readonly planDescription: pulumi.Output<string>;
    /**
     * (Updatable) Name for the OPSI Chargeback plan.
     */
    readonly planName: pulumi.Output<string>;
    /**
     * Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
     *
     *
     * ** 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 planType: pulumi.Output<string>;
    /**
     * Chargeback Plan lifecycle states
     */
    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 chargeback plan was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time chargeback plan was updated. An RFC3339 formatted datetime string
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a ChargebackPlan 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: ChargebackPlanArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ChargebackPlan resources.
 */
export interface ChargebackPlanState {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (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<string>;
    } | undefined>;
    /**
     * Source of the chargeback plan.
     */
    entitySource?: pulumi.Input<string | undefined>;
    /**
     * (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<string>;
    } | undefined>;
    /**
     * Indicates whether the chargeback plan customization item can be customized.
     */
    isCustomizable?: pulumi.Input<boolean | undefined>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * Chargeback Plan category of the chargeback entity. It can be OOB, or CUSTOM.
     */
    planCategory?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) List of chargeback plan customizations. At least one item is required.
     */
    planCustomItems?: pulumi.Input<pulumi.Input<inputs.Opsi.ChargebackPlanPlanCustomItem>[] | undefined>;
    /**
     * (Updatable) Description of OPSI Chargeback Plan.
     */
    planDescription?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Name for the OPSI Chargeback plan.
     */
    planName?: pulumi.Input<string | undefined>;
    /**
     * Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
     *
     *
     * ** 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
     */
    planType?: pulumi.Input<string | undefined>;
    /**
     * Chargeback Plan lifecycle states
     */
    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 chargeback plan was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time chargeback plan was updated. An RFC3339 formatted datetime string
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ChargebackPlan resource.
 */
export interface ChargebackPlanArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (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<string>;
    } | undefined>;
    /**
     * Source of the chargeback plan.
     */
    entitySource: pulumi.Input<string>;
    /**
     * (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<string>;
    } | undefined>;
    /**
     * (Updatable) List of chargeback plan customizations. At least one item is required.
     */
    planCustomItems: pulumi.Input<pulumi.Input<inputs.Opsi.ChargebackPlanPlanCustomItem>[]>;
    /**
     * (Updatable) Description of OPSI Chargeback Plan.
     */
    planDescription: pulumi.Input<string>;
    /**
     * (Updatable) Name for the OPSI Chargeback plan.
     */
    planName: pulumi.Input<string>;
    /**
     * Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION.
     *
     *
     * ** 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
     */
    planType: pulumi.Input<string>;
}
//# sourceMappingURL=chargebackPlan.d.ts.map