import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Subscription Redemptions 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 testSubscriptionRedemptions = oci.usageproxy.getSubscriptionRedemptions({ * subscriptionId: testSubscription.id, * tenancyId: testTenancy.id, * timeRedeemedGreaterThanOrEqualTo: subscriptionRedemptionTimeRedeemedGreaterThanOrEqualTo, * timeRedeemedLessThan: subscriptionRedemptionTimeRedeemedLessThan, * }); * ``` */ export declare function getSubscriptionRedemptions(args: GetSubscriptionRedemptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscriptionRedemptions. */ export interface GetSubscriptionRedemptionsArgs { filters?: inputs.UsageProxy.GetSubscriptionRedemptionsFilter[]; /** * 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 getSubscriptionRedemptions. */ export interface GetSubscriptionRedemptionsResult { readonly filters?: outputs.UsageProxy.GetSubscriptionRedemptionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of redemption_collection. */ readonly redemptionCollections: outputs.UsageProxy.GetSubscriptionRedemptionsRedemptionCollection[]; readonly subscriptionId: string; readonly tenancyId: string; readonly timeRedeemedGreaterThanOrEqualTo?: string; readonly timeRedeemedLessThan?: string; } /** * This data source provides the list of Subscription Redemptions 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 testSubscriptionRedemptions = oci.usageproxy.getSubscriptionRedemptions({ * subscriptionId: testSubscription.id, * tenancyId: testTenancy.id, * timeRedeemedGreaterThanOrEqualTo: subscriptionRedemptionTimeRedeemedGreaterThanOrEqualTo, * timeRedeemedLessThan: subscriptionRedemptionTimeRedeemedLessThan, * }); * ``` */ export declare function getSubscriptionRedemptionsOutput(args: GetSubscriptionRedemptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscriptionRedemptions. */ export interface GetSubscriptionRedemptionsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * 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=getSubscriptionRedemptions.d.ts.map