import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Instance Pool Instance resource in Oracle Cloud Infrastructure Core service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/InstancePoolInstance
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
 *
 * Attaches an instance to an instance pool. For information about the prerequisites
 * that an instance must meet before you can attach it to a pool, see
 * [Attaching an Instance to an Instance Pool](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/updatinginstancepool.htm#attach-instance).
 *
 * Using this resource will impact the size of the instance pool, attach will increment the size of the pool
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testInstancePoolInstance = new oci.core.InstancePoolInstance("test_instance_pool_instance", {
 *     instanceId: testInstance.id,
 *     instancePoolId: testInstancePool.id,
 * });
 * ```
 *
 * ## Import
 *
 * InstancePoolInstances can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Core/instancePoolInstance:InstancePoolInstance test_instance_pool_instance "instancePools/{instancePoolId}/instances/compartmentId/{compartmentId}"
 * ```
 */
export declare class InstancePoolInstance extends pulumi.CustomResource {
    /**
     * Get an existing InstancePoolInstance 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?: InstancePoolInstanceState, opts?: pulumi.CustomResourceOptions): InstancePoolInstance;
    /**
     * Returns true if the given object is an instance of InstancePoolInstance.  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 InstancePoolInstance;
    readonly autoTerminateInstanceOnDelete: pulumi.Output<boolean | undefined>;
    /**
     * The availability domain the instance is running in.
     */
    readonly availabilityDomain: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the instance.
     */
    readonly compartmentId: pulumi.Output<string>;
    readonly decrementSizeOnDelete: pulumi.Output<boolean | undefined>;
    /**
     * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * The fault domain the instance is running in.
     */
    readonly faultDomain: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration used to create the instance.
     */
    readonly instanceConfigurationId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
     */
    readonly instanceId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
     *
     *
     * ** 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 instancePoolId: pulumi.Output<string>;
    /**
     * The load balancer backends that are configured for the instance pool instance.
     */
    readonly loadBalancerBackends: pulumi.Output<outputs.Core.InstancePoolInstanceLoadBalancerBackend[]>;
    /**
     * The region that contains the availability domain the instance is running in.
     */
    readonly region: pulumi.Output<string>;
    /**
     * The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
     */
    readonly shape: pulumi.Output<string>;
    /**
     * The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the instance pool instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Create a InstancePoolInstance 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: InstancePoolInstanceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering InstancePoolInstance resources.
 */
export interface InstancePoolInstanceState {
    autoTerminateInstanceOnDelete?: pulumi.Input<boolean | undefined>;
    /**
     * The availability domain the instance is running in.
     */
    availabilityDomain?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the instance.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    decrementSizeOnDelete?: pulumi.Input<boolean | undefined>;
    /**
     * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The fault domain the instance is running in.
     */
    faultDomain?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration used to create the instance.
     */
    instanceConfigurationId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
     */
    instanceId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
     *
     *
     * ** 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
     */
    instancePoolId?: pulumi.Input<string | undefined>;
    /**
     * The load balancer backends that are configured for the instance pool instance.
     */
    loadBalancerBackends?: pulumi.Input<pulumi.Input<inputs.Core.InstancePoolInstanceLoadBalancerBackend>[] | undefined>;
    /**
     * The region that contains the availability domain the instance is running in.
     */
    region?: pulumi.Input<string | undefined>;
    /**
     * The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
     */
    shape?: pulumi.Input<string | undefined>;
    /**
     * The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the instance pool instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a InstancePoolInstance resource.
 */
export interface InstancePoolInstanceArgs {
    autoTerminateInstanceOnDelete?: pulumi.Input<boolean | undefined>;
    decrementSizeOnDelete?: pulumi.Input<boolean | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
     */
    instanceId: pulumi.Input<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
     *
     *
     * ** 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
     */
    instancePoolId: pulumi.Input<string>;
}
//# sourceMappingURL=instancePoolInstance.d.ts.map