import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Computed Usage resource in Oracle Cloud Infrastructure Osub Usage service.
 *
 * This is an API which returns Computed Usage corresponding to the id passed
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testComputedUsage = oci.osubusage.getComputedUsage({
 *     compartmentId: compartmentId,
 *     computedUsageId: testComputedUsageOciOsubUsageComputedUsage.id,
 *     fields: computedUsageFields,
 *     xOneOriginRegion: computedUsageXOneOriginRegion,
 * });
 * ```
 */
export declare function getComputedUsage(args: GetComputedUsageArgs, opts?: pulumi.InvokeOptions): Promise<GetComputedUsageResult>;
/**
 * A collection of arguments for invoking getComputedUsage.
 */
export interface GetComputedUsageArgs {
    /**
     * The OCID of the root compartment.
     */
    compartmentId: string;
    /**
     * The Computed Usage Id
     */
    computedUsageId: string;
    /**
     * Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information  (fields) required by the client. This parameter is used to control what fields to return.
     */
    fields?: string[];
    /**
     * The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
     */
    xOneOriginRegion?: string;
}
/**
 * A collection of values returned by getComputedUsage.
 */
export interface GetComputedUsageResult {
    /**
     * Subscribed service commitmentId.
     */
    readonly commitmentServiceId: string;
    readonly compartmentId: string;
    /**
     * SPM Internal compute records source .
     */
    readonly computeSource: string;
    readonly computedUsageId: string;
    /**
     * Computed Line Amount not rounded
     */
    readonly cost: string;
    /**
     * Computed Line Amount rounded.
     */
    readonly costRounded: string;
    /**
     * Currency code
     */
    readonly currencyCode: string;
    /**
     * Data Center Attribute as sent by MQS to SPM.
     */
    readonly dataCenter: string;
    readonly fields?: string[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * Invoicing status for the aggregated compute usage
     */
    readonly isInvoiced: boolean;
    /**
     * MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
     */
    readonly mqsMessageId: string;
    /**
     * Net Unit Price for the product in consideration, price actual.
     */
    readonly netUnitPrice: string;
    /**
     * SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
     */
    readonly originalUsageNumber: string;
    /**
     * Product description
     */
    readonly parentProducts: outputs.OsubUsage.GetComputedUsageParentProduct[];
    /**
     * Subscribed service line parent id
     */
    readonly parentSubscribedServiceId: string;
    /**
     * Subscription plan number
     */
    readonly planNumber: string;
    /**
     * Product description
     */
    readonly products: outputs.OsubUsage.GetComputedUsageProduct[];
    /**
     * Total Quantity that was used for computation
     */
    readonly quantity: string;
    /**
     * Ratecard Id at subscribed service level
     */
    readonly rateCardId: string;
    /**
     * References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
     */
    readonly rateCardTierdId: string;
    /**
     * Computed Usage created time, expressed in RFC 3339 timestamp format.
     */
    readonly timeCreated: string;
    /**
     * Metered Service date, expressed in RFC 3339 timestamp format.
     */
    readonly timeMeteredOn: string;
    /**
     * Usae computation date, expressed in RFC 3339 timestamp format.
     */
    readonly timeOfArrival: string;
    /**
     * Computed Usage updated time, expressed in RFC 3339 timestamp format.
     */
    readonly timeUpdated: string;
    /**
     * Usage compute type in SPM.
     */
    readonly type: string;
    /**
     * Unit of Messure
     */
    readonly unitOfMeasure: string;
    /**
     * SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
     */
    readonly usageNumber: string;
    readonly xOneOriginRegion?: string;
}
/**
 * This data source provides details about a specific Computed Usage resource in Oracle Cloud Infrastructure Osub Usage service.
 *
 * This is an API which returns Computed Usage corresponding to the id passed
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testComputedUsage = oci.osubusage.getComputedUsage({
 *     compartmentId: compartmentId,
 *     computedUsageId: testComputedUsageOciOsubUsageComputedUsage.id,
 *     fields: computedUsageFields,
 *     xOneOriginRegion: computedUsageXOneOriginRegion,
 * });
 * ```
 */
export declare function getComputedUsageOutput(args: GetComputedUsageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetComputedUsageResult>;
/**
 * A collection of arguments for invoking getComputedUsage.
 */
export interface GetComputedUsageOutputArgs {
    /**
     * The OCID of the root compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * The Computed Usage Id
     */
    computedUsageId: pulumi.Input<string>;
    /**
     * Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information  (fields) required by the client. This parameter is used to control what fields to return.
     */
    fields?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The Oracle Cloud Infrastructure home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
     */
    xOneOriginRegion?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getComputedUsage.d.ts.map