import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Compute Capacity Reservation resource in Oracle Cloud Infrastructure Core service.
 *
 * Gets information about the specified compute capacity reservation.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testComputeCapacityReservation = oci.core.getComputeCapacityReservation({
 *     capacityReservationId: testCapacityReservation.id,
 * });
 * ```
 */
export declare function getComputeCapacityReservation(args: GetComputeCapacityReservationArgs, opts?: pulumi.InvokeOptions): Promise<GetComputeCapacityReservationResult>;
/**
 * A collection of arguments for invoking getComputeCapacityReservation.
 */
export interface GetComputeCapacityReservationArgs {
    /**
     * The OCID of the compute capacity reservation.
     */
    capacityReservationId: string;
}
/**
 * A collection of values returned by getComputeCapacityReservation.
 */
export interface GetComputeCapacityReservationResult {
    /**
     * The availability domain of the compute capacity reservation.  Example: `Uocm:PHX-AD-1`
     */
    readonly availabilityDomain: string;
    readonly capacityReservationId: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the compute capacity reservation.
     */
    readonly compartmentId: string;
    /**
     * 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: {
        [key: string]: string;
    };
    /**
     * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    readonly displayName: string;
    /**
     * 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: {
        [key: string]: string;
    };
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity reservation.
     */
    readonly id: string;
    /**
     * The capacity configurations for the capacity reservation.
     */
    readonly instanceReservationConfigs: outputs.Core.GetComputeCapacityReservationInstanceReservationConfig[];
    /**
     * Whether this capacity reservation is the default. For more information, see [Capacity Reservations](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
     */
    readonly isDefaultReservation: boolean;
    /**
     * The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the `reservedCount` fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.
     */
    readonly reservedInstanceCount: string;
    /**
     * The current state of the compute capacity reservation.
     */
    readonly state: string;
    /**
     * The date and time the compute capacity reservation was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: string;
    /**
     * The date and time the compute capacity reservation was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeUpdated: string;
    /**
     * The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the `usedCount` fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.
     */
    readonly usedInstanceCount: string;
}
/**
 * This data source provides details about a specific Compute Capacity Reservation resource in Oracle Cloud Infrastructure Core service.
 *
 * Gets information about the specified compute capacity reservation.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testComputeCapacityReservation = oci.core.getComputeCapacityReservation({
 *     capacityReservationId: testCapacityReservation.id,
 * });
 * ```
 */
export declare function getComputeCapacityReservationOutput(args: GetComputeCapacityReservationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetComputeCapacityReservationResult>;
/**
 * A collection of arguments for invoking getComputeCapacityReservation.
 */
export interface GetComputeCapacityReservationOutputArgs {
    /**
     * The OCID of the compute capacity reservation.
     */
    capacityReservationId: pulumi.Input<string>;
}
//# sourceMappingURL=getComputeCapacityReservation.d.ts.map