import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.core.getSubscription({}); * export const currentSubscriptionDisplayName = current.then(current => current.displayName); * ``` */ export declare function getSubscription(args?: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionArgs { /** * Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used. */ subscriptionId?: string; } /** * A collection of values returned by getSubscription. */ export interface GetSubscriptionResult { /** * The subscription display name. */ readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The subscription location placement ID. */ readonly locationPlacementId: string; /** * The subscription quota ID. */ readonly quotaId: string; /** * The subscription spending limit. */ readonly spendingLimit: string; /** * The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. */ readonly state: string; /** * The subscription GUID. */ readonly subscriptionId: string; /** * A mapping of tags assigned to the Subscription. */ readonly tags: { [key: string]: string; }; /** * The subscription tenant ID. */ readonly tenantId: string; } /** * Use this data source to access information about an existing Subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.core.getSubscription({}); * export const currentSubscriptionDisplayName = current.then(current => current.displayName); * ``` */ export declare function getSubscriptionOutput(args?: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionOutputArgs { /** * Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used. */ subscriptionId?: pulumi.Input; }