import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the subscription configuration. */ export declare function getSubscription(args: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetSubscriptionArgs { location: string; project?: string; subscriptionId: string; } export interface GetSubscriptionResult { /** * The settings for this subscription's message delivery. */ readonly deliveryConfig: outputs.pubsublite.v1.DeliveryConfigResponse; /** * If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination. */ readonly exportConfig: outputs.pubsublite.v1.ExportConfigResponse; /** * The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id} */ readonly name: string; /** * The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} */ readonly topic: string; } /** * Returns the subscription configuration. */ export declare function getSubscriptionOutput(args: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetSubscriptionOutputArgs { location: pulumi.Input; project?: pulumi.Input; subscriptionId: pulumi.Input; }