import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single EventSubscription. */ export declare function getEventSubscription(args: GetEventSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetEventSubscriptionArgs { connectionId: string; eventSubscriptionId: string; location: string; project?: string; } export interface GetEventSubscriptionResult { /** * Created time. */ readonly createTime: string; /** * Optional. The destination to hit when we receive an event */ readonly destinations: outputs.connectors.v1.EventSubscriptionDestinationResponse; /** * Optional. Event type id of the event of current EventSubscription. */ readonly eventTypeId: string; /** * Optional. JMS is the source for the event listener. */ readonly jms: outputs.connectors.v1.JMSResponse; /** * Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} */ readonly name: string; /** * Optional. Status indicates the status of the event subscription resource */ readonly status: outputs.connectors.v1.EventSubscriptionStatusResponse; /** * Optional. name of the Subscriber for the current EventSubscription. */ readonly subscriber: string; /** * Optional. Link for Subscriber of the current EventSubscription. */ readonly subscriberLink: string; /** * Updated time. */ readonly updateTime: string; } /** * Gets details of a single EventSubscription. */ export declare function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetEventSubscriptionOutputArgs { connectionId: pulumi.Input; eventSubscriptionId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }