import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Commitment resource in Oracle Cloud Infrastructure Osub Subscription service. * * This API returns the commitment details corresponding to the id provided * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCommitment = oci.osubsubscription.getCommitment({ * commitmentId: testCommitmentOciOsubSubscriptionCommitment.id, * xOneGatewaySubscriptionId: commitmentXOneGatewaySubscriptionId, * xOneOriginRegion: commitmentXOneOriginRegion, * }); * ``` */ export declare function getCommitment(args: GetCommitmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCommitment. */ export interface GetCommitmentArgs { /** * The Commitment Id */ commitmentId: string; /** * This header is meant to be used only for internal purposes and will be ignored on any public request. The purpose of this header is to help on Gateway to API calls identification. */ xOneGatewaySubscriptionId?: 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 getCommitment. */ export interface GetCommitmentResult { /** * Commitment available amount */ readonly availableAmount: string; readonly commitmentId: string; /** * Funded Allocation line value example: 12000.00 */ readonly fundedAllocationValue: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Commitment quantity */ readonly quantity: string; /** * Commitment end date */ readonly timeEnd: string; /** * Commitment start date */ readonly timeStart: string; /** * Commitment used amount */ readonly usedAmount: string; readonly xOneGatewaySubscriptionId?: string; readonly xOneOriginRegion?: string; } /** * This data source provides details about a specific Commitment resource in Oracle Cloud Infrastructure Osub Subscription service. * * This API returns the commitment details corresponding to the id provided * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCommitment = oci.osubsubscription.getCommitment({ * commitmentId: testCommitmentOciOsubSubscriptionCommitment.id, * xOneGatewaySubscriptionId: commitmentXOneGatewaySubscriptionId, * xOneOriginRegion: commitmentXOneOriginRegion, * }); * ``` */ export declare function getCommitmentOutput(args: GetCommitmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCommitment. */ export interface GetCommitmentOutputArgs { /** * The Commitment Id */ commitmentId: pulumi.Input; /** * This header is meant to be used only for internal purposes and will be ignored on any public request. The purpose of this header is to help on Gateway to API calls identification. */ xOneGatewaySubscriptionId?: pulumi.Input; /** * 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; } //# sourceMappingURL=getCommitment.d.ts.map