import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Subscription Redemption resource in Oracle Cloud Infrastructure Usage Proxy service. * * Returns the list of redemption for the subscription ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptionRedemption = oci.usageproxy.getSubscriptionRedemption({ * subscriptionId: testSubscription.id, * tenancyId: testTenancy.id, * timeRedeemedGreaterThanOrEqualTo: subscriptionRedemptionTimeRedeemedGreaterThanOrEqualTo, * timeRedeemedLessThan: subscriptionRedemptionTimeRedeemedLessThan, * }); * ``` */ export declare function getSubscriptionRedemption(args: GetSubscriptionRedemptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscriptionRedemption. */ export interface GetSubscriptionRedemptionArgs { /** * The subscription ID for which rewards information is requested for. */ subscriptionId: string; /** * The OCID of the tenancy. */ tenancyId: string; /** * The starting redeemed date filter for the redemption history. */ timeRedeemedGreaterThanOrEqualTo?: string; /** * The ending redeemed date filter for the redemption history. */ timeRedeemedLessThan?: string; } /** * A collection of values returned by getSubscriptionRedemption. */ export interface GetSubscriptionRedemptionResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of redemption summary. */ readonly items: outputs.UsageProxy.GetSubscriptionRedemptionItem[]; readonly subscriptionId: string; readonly tenancyId: string; readonly timeRedeemedGreaterThanOrEqualTo?: string; readonly timeRedeemedLessThan?: string; } /** * This data source provides details about a specific Subscription Redemption resource in Oracle Cloud Infrastructure Usage Proxy service. * * Returns the list of redemption for the subscription ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscriptionRedemption = oci.usageproxy.getSubscriptionRedemption({ * subscriptionId: testSubscription.id, * tenancyId: testTenancy.id, * timeRedeemedGreaterThanOrEqualTo: subscriptionRedemptionTimeRedeemedGreaterThanOrEqualTo, * timeRedeemedLessThan: subscriptionRedemptionTimeRedeemedLessThan, * }); * ``` */ export declare function getSubscriptionRedemptionOutput(args: GetSubscriptionRedemptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscriptionRedemption. */ export interface GetSubscriptionRedemptionOutputArgs { /** * The subscription ID for which rewards information is requested for. */ subscriptionId: pulumi.Input; /** * The OCID of the tenancy. */ tenancyId: pulumi.Input; /** * The starting redeemed date filter for the redemption history. */ timeRedeemedGreaterThanOrEqualTo?: pulumi.Input; /** * The ending redeemed date filter for the redemption history. */ timeRedeemedLessThan?: pulumi.Input; } //# sourceMappingURL=getSubscriptionRedemption.d.ts.map