1. Packages
  2. Google Cloud Native
  3. API Docs
  4. connectors
  5. connectors/v1
  6. getEventSubscription

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.connectors/v1.getEventSubscription

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets details of a single EventSubscription.

    Using getEventSubscription

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventSubscription(args: GetEventSubscriptionArgs, opts?: InvokeOptions): Promise<GetEventSubscriptionResult>
    function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetEventSubscriptionResult>
    def get_event_subscription(connection_id: Optional[str] = None,
                               event_subscription_id: Optional[str] = None,
                               location: Optional[str] = None,
                               project: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetEventSubscriptionResult
    def get_event_subscription_output(connection_id: Optional[pulumi.Input[str]] = None,
                               event_subscription_id: Optional[pulumi.Input[str]] = None,
                               location: Optional[pulumi.Input[str]] = None,
                               project: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetEventSubscriptionResult]
    func LookupEventSubscription(ctx *Context, args *LookupEventSubscriptionArgs, opts ...InvokeOption) (*LookupEventSubscriptionResult, error)
    func LookupEventSubscriptionOutput(ctx *Context, args *LookupEventSubscriptionOutputArgs, opts ...InvokeOption) LookupEventSubscriptionResultOutput

    > Note: This function is named LookupEventSubscription in the Go SDK.

    public static class GetEventSubscription 
    {
        public static Task<GetEventSubscriptionResult> InvokeAsync(GetEventSubscriptionArgs args, InvokeOptions? opts = null)
        public static Output<GetEventSubscriptionResult> Invoke(GetEventSubscriptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:connectors/v1:getEventSubscription
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getEventSubscription Result

    The following output properties are available:

    CreateTime string
    Created time.
    Destinations Pulumi.GoogleNative.Connectors.V1.Outputs.EventSubscriptionDestinationResponse
    Optional. The destination to hit when we receive an event
    EventTypeId string
    Optional. Event type id of the event of current EventSubscription.
    Jms Pulumi.GoogleNative.Connectors.V1.Outputs.JMSResponse
    Optional. JMS is the source for the event listener.
    Name string
    Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
    Status Pulumi.GoogleNative.Connectors.V1.Outputs.EventSubscriptionStatusResponse
    Optional. Status indicates the status of the event subscription resource
    Subscriber string
    Optional. name of the Subscriber for the current EventSubscription.
    SubscriberLink string
    Optional. Link for Subscriber of the current EventSubscription.
    UpdateTime string
    Updated time.
    CreateTime string
    Created time.
    Destinations EventSubscriptionDestinationResponse
    Optional. The destination to hit when we receive an event
    EventTypeId string
    Optional. Event type id of the event of current EventSubscription.
    Jms JMSResponse
    Optional. JMS is the source for the event listener.
    Name string
    Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
    Status EventSubscriptionStatusResponse
    Optional. Status indicates the status of the event subscription resource
    Subscriber string
    Optional. name of the Subscriber for the current EventSubscription.
    SubscriberLink string
    Optional. Link for Subscriber of the current EventSubscription.
    UpdateTime string
    Updated time.
    createTime String
    Created time.
    destinations EventSubscriptionDestinationResponse
    Optional. The destination to hit when we receive an event
    eventTypeId String
    Optional. Event type id of the event of current EventSubscription.
    jms JMSResponse
    Optional. JMS is the source for the event listener.
    name String
    Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
    status EventSubscriptionStatusResponse
    Optional. Status indicates the status of the event subscription resource
    subscriber String
    Optional. name of the Subscriber for the current EventSubscription.
    subscriberLink String
    Optional. Link for Subscriber of the current EventSubscription.
    updateTime String
    Updated time.
    createTime string
    Created time.
    destinations EventSubscriptionDestinationResponse
    Optional. The destination to hit when we receive an event
    eventTypeId string
    Optional. Event type id of the event of current EventSubscription.
    jms JMSResponse
    Optional. JMS is the source for the event listener.
    name string
    Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
    status EventSubscriptionStatusResponse
    Optional. Status indicates the status of the event subscription resource
    subscriber string
    Optional. name of the Subscriber for the current EventSubscription.
    subscriberLink string
    Optional. Link for Subscriber of the current EventSubscription.
    updateTime string
    Updated time.
    create_time str
    Created time.
    destinations EventSubscriptionDestinationResponse
    Optional. The destination to hit when we receive an event
    event_type_id str
    Optional. Event type id of the event of current EventSubscription.
    jms JMSResponse
    Optional. JMS is the source for the event listener.
    name str
    Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
    status EventSubscriptionStatusResponse
    Optional. Status indicates the status of the event subscription resource
    subscriber str
    Optional. name of the Subscriber for the current EventSubscription.
    subscriber_link str
    Optional. Link for Subscriber of the current EventSubscription.
    update_time str
    Updated time.
    createTime String
    Created time.
    destinations Property Map
    Optional. The destination to hit when we receive an event
    eventTypeId String
    Optional. Event type id of the event of current EventSubscription.
    jms Property Map
    Optional. JMS is the source for the event listener.
    name String
    Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}
    status Property Map
    Optional. Status indicates the status of the event subscription resource
    subscriber String
    Optional. name of the Subscriber for the current EventSubscription.
    subscriberLink String
    Optional. Link for Subscriber of the current EventSubscription.
    updateTime String
    Updated time.

    Supporting Types

    EndPointResponse

    EndpointUri string
    The URI of the Endpoint.
    Headers List<Pulumi.GoogleNative.Connectors.V1.Inputs.HeaderResponse>
    List of Header to be added to the Endpoint.
    EndpointUri string
    The URI of the Endpoint.
    Headers []HeaderResponse
    List of Header to be added to the Endpoint.
    endpointUri String
    The URI of the Endpoint.
    headers List<HeaderResponse>
    List of Header to be added to the Endpoint.
    endpointUri string
    The URI of the Endpoint.
    headers HeaderResponse[]
    List of Header to be added to the Endpoint.
    endpoint_uri str
    The URI of the Endpoint.
    headers Sequence[HeaderResponse]
    List of Header to be added to the Endpoint.
    endpointUri String
    The URI of the Endpoint.
    headers List<Property Map>
    List of Header to be added to the Endpoint.

    EventSubscriptionDestinationResponse

    Endpoint Pulumi.GoogleNative.Connectors.V1.Inputs.EndPointResponse
    OPTION 1: Hit an endpoint when we receive an event.
    ServiceAccount string
    Service account needed for runtime plane to trigger IP workflow.
    Type string
    type of the destination
    Endpoint EndPointResponse
    OPTION 1: Hit an endpoint when we receive an event.
    ServiceAccount string
    Service account needed for runtime plane to trigger IP workflow.
    Type string
    type of the destination
    endpoint EndPointResponse
    OPTION 1: Hit an endpoint when we receive an event.
    serviceAccount String
    Service account needed for runtime plane to trigger IP workflow.
    type String
    type of the destination
    endpoint EndPointResponse
    OPTION 1: Hit an endpoint when we receive an event.
    serviceAccount string
    Service account needed for runtime plane to trigger IP workflow.
    type string
    type of the destination
    endpoint EndPointResponse
    OPTION 1: Hit an endpoint when we receive an event.
    service_account str
    Service account needed for runtime plane to trigger IP workflow.
    type str
    type of the destination
    endpoint Property Map
    OPTION 1: Hit an endpoint when we receive an event.
    serviceAccount String
    Service account needed for runtime plane to trigger IP workflow.
    type String
    type of the destination

    EventSubscriptionStatusResponse

    Description string
    Description of the state.
    State string
    State of Event Subscription resource.
    Description string
    Description of the state.
    State string
    State of Event Subscription resource.
    description String
    Description of the state.
    state String
    State of Event Subscription resource.
    description string
    Description of the state.
    state string
    State of Event Subscription resource.
    description str
    Description of the state.
    state str
    State of Event Subscription resource.
    description String
    Description of the state.
    state String
    State of Event Subscription resource.

    HeaderResponse

    Key string
    Key of Header.
    Value string
    Value of Header.
    Key string
    Key of Header.
    Value string
    Value of Header.
    key String
    Key of Header.
    value String
    Value of Header.
    key string
    Key of Header.
    value string
    Value of Header.
    key str
    Key of Header.
    value str
    Value of Header.
    key String
    Key of Header.
    value String
    Value of Header.

    JMSResponse

    Name string
    Optional. Name of the JMS source. i.e. queueName or topicName
    Type string
    Optional. Type of the JMS Source. i.e. Queue or Topic
    Name string
    Optional. Name of the JMS source. i.e. queueName or topicName
    Type string
    Optional. Type of the JMS Source. i.e. Queue or Topic
    name String
    Optional. Name of the JMS source. i.e. queueName or topicName
    type String
    Optional. Type of the JMS Source. i.e. Queue or Topic
    name string
    Optional. Name of the JMS source. i.e. queueName or topicName
    type string
    Optional. Type of the JMS Source. i.e. Queue or Topic
    name str
    Optional. Name of the JMS source. i.e. queueName or topicName
    type str
    Optional. Type of the JMS Source. i.e. Queue or Topic
    name String
    Optional. Name of the JMS source. i.e. queueName or topicName
    type String
    Optional. Type of the JMS Source. i.e. Queue or Topic

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi