import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The Subscription data source allows access to the details of an existing subscription within your Redis Enterprise Cloud account. * * ## Example Usage * * The following example shows how to use the name attribute to locate a subscription within your Redis Enterprise Cloud account. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@pulumi/rediscloud"; * * const example = rediscloud.getSubscription({ * name: "My Example Subscription", * }); * export const rediscloudSubscription = example.then(example => example.id); * ``` */ export declare function getSubscription(args?: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionArgs { /** * The name of the subscription to filter returned subscriptions */ name?: string; } /** * A collection of values returned by getSubscription. */ export interface GetSubscriptionResult { /** * A cloud provider object, documented below */ readonly cloudProviders: outputs.GetSubscriptionCloudProvider[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Memory storage preference: either ‘ram’ or a combination of 'ram-and-flash’ */ readonly memoryStorage: string; readonly name: string; /** * The number of databases that are linked to this subscription. */ readonly numberOfDatabases: number; readonly paymentMethod: string; /** * A valid payment method pre-defined in the current account */ readonly paymentMethodId: string; /** * Current status of the subscription */ readonly status: string; } /** * The Subscription data source allows access to the details of an existing subscription within your Redis Enterprise Cloud account. * * ## Example Usage * * The following example shows how to use the name attribute to locate a subscription within your Redis Enterprise Cloud account. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@pulumi/rediscloud"; * * const example = rediscloud.getSubscription({ * name: "My Example Subscription", * }); * export const rediscloudSubscription = example.then(example => example.id); * ``` */ export declare function getSubscriptionOutput(args?: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionOutputArgs { /** * The name of the subscription to filter returned subscriptions */ name?: pulumi.Input; }