import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Pool resource in Oracle Cloud Infrastructure Data Flow service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-flow/latest/Pool
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataflow
 *
 * Create a pool to be used by dataflow runs or applications.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testPool = new oci.dataflow.Pool("test_pool", {
 *     compartmentId: compartmentId,
 *     configurations: [{
 *         max: Number(poolConfigurationsMax),
 *         min: Number(poolConfigurationsMin),
 *         shape: poolConfigurationsShape,
 *         shapeConfig: {
 *             memoryInGbs: poolConfigurationsShapeConfigMemoryInGbs,
 *             ocpus: poolConfigurationsShapeConfigOcpus,
 *         },
 *     }],
 *     displayName: poolDisplayName,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: poolDescription,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     idleTimeoutInMinutes: Number(poolIdleTimeoutInMinutes),
 *     schedules: [{
 *         dayOfWeek: poolSchedulesDayOfWeek,
 *         startTime: Number(poolSchedulesStartTime),
 *         stopTime: Number(poolSchedulesStopTime),
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * Pools can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataFlow/pool:Pool test_pool "id"
 * ```
 */
export declare class Pool extends pulumi.CustomResource {
    /**
     * Get an existing Pool 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?: PoolState, opts?: pulumi.CustomResourceOptions): Pool;
    /**
     * Returns true if the given object is an instance of Pool.  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 Pool;
    /**
     * (Updatable) The OCID of a compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) List of PoolConfig items.
     */
    readonly configurations: pulumi.Output<outputs.DataFlow.PoolConfiguration[]>;
    /**
     * (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 description. Avoid entering confidential information.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A user-friendly name. It does not have to be unique. 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) Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
     */
    readonly idleTimeoutInMinutes: pulumi.Output<number>;
    /**
     * The detailed messages about the lifecycle state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The OCID of the user who created the resource.
     */
    readonly ownerPrincipalId: pulumi.Output<string>;
    /**
     * The username of the user who created the resource.  If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead.
     */
    readonly ownerUserName: pulumi.Output<string>;
    /**
     * A collection of metrics related to a particular pool.
     */
    readonly poolMetrics: pulumi.Output<outputs.DataFlow.PoolPoolMetric[]>;
    /**
     * (Updatable) A list of schedules for pool to auto start and stop.
     */
    readonly schedules: pulumi.Output<outputs.DataFlow.PoolSchedule[]>;
    /**
     * (Updatable) The target state for the Pool. Could be set to `ACTIVE` or `DELETED`.
     *
     *
     * ** 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 state: pulumi.Output<string>;
    /**
     * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a Pool 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: PoolArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Pool resources.
 */
export interface PoolState {
    /**
     * (Updatable) The OCID of a compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) List of PoolConfig items.
     */
    configurations?: pulumi.Input<pulumi.Input<inputs.DataFlow.PoolConfiguration>[] | 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 description. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly name. It does not have to be unique. 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) Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
     */
    idleTimeoutInMinutes?: pulumi.Input<number | undefined>;
    /**
     * The detailed messages about the lifecycle state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the user who created the resource.
     */
    ownerPrincipalId?: pulumi.Input<string | undefined>;
    /**
     * The username of the user who created the resource.  If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead.
     */
    ownerUserName?: pulumi.Input<string | undefined>;
    /**
     * A collection of metrics related to a particular pool.
     */
    poolMetrics?: pulumi.Input<pulumi.Input<inputs.DataFlow.PoolPoolMetric>[] | undefined>;
    /**
     * (Updatable) A list of schedules for pool to auto start and stop.
     */
    schedules?: pulumi.Input<pulumi.Input<inputs.DataFlow.PoolSchedule>[] | undefined>;
    /**
     * (Updatable) The target state for the Pool. Could be set to `ACTIVE` or `DELETED`.
     *
     *
     * ** 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
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Pool resource.
 */
export interface PoolArgs {
    /**
     * (Updatable) The OCID of a compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) List of PoolConfig items.
     */
    configurations: pulumi.Input<pulumi.Input<inputs.DataFlow.PoolConfiguration>[]>;
    /**
     * (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 description. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly name. It does not have to be unique. Avoid entering confidential information.
     */
    displayName: pulumi.Input<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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto.
     */
    idleTimeoutInMinutes?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) A list of schedules for pool to auto start and stop.
     */
    schedules?: pulumi.Input<pulumi.Input<inputs.DataFlow.PoolSchedule>[] | undefined>;
    /**
     * (Updatable) The target state for the Pool. Could be set to `ACTIVE` or `DELETED`.
     *
     *
     * ** 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
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=pool.d.ts.map