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 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)
public static Output<GetEventSubscriptionResult> getEventSubscription(GetEventSubscriptionArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:connectors/v1:getEventSubscription
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConnectionId string
- EventSubscription stringId 
- Location string
- Project string
- ConnectionId string
- EventSubscription stringId 
- Location string
- Project string
- connectionId String
- eventSubscription StringId 
- location String
- project String
- connectionId string
- eventSubscription stringId 
- location string
- project string
- connection_id str
- event_subscription_ strid 
- location str
- project str
- connectionId String
- eventSubscription StringId 
- location String
- project String
getEventSubscription Result
The following output properties are available:
- CreateTime string
- Created time.
- Destinations
Pulumi.Google Native. Connectors. V1. Outputs. Event Subscription Destination Response 
- Optional. The destination to hit when we receive an event
- EventType stringId 
- Optional. Event type id of the event of current EventSubscription.
- Jms
Pulumi.Google Native. 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.Google Native. Connectors. V1. Outputs. Event Subscription Status Response 
- 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
EventSubscription Destination Response 
- Optional. The destination to hit when we receive an event
- EventType stringId 
- 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
EventSubscription Status Response 
- 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
EventSubscription Destination Response 
- Optional. The destination to hit when we receive an event
- eventType StringId 
- 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
EventSubscription Status Response 
- 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
EventSubscription Destination Response 
- Optional. The destination to hit when we receive an event
- eventType stringId 
- 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
EventSubscription Status Response 
- 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
EventSubscription Destination Response 
- Optional. The destination to hit when we receive an event
- event_type_ strid 
- 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
EventSubscription Status Response 
- 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
- eventType StringId 
- 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.Google Native. Connectors. V1. Inputs. Header Response> 
- 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.Google Native. Connectors. V1. Inputs. End Point Response 
- 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
EndPoint Response 
- 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
EndPoint Response 
- 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
EndPoint Response 
- 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
EndPoint Response 
- 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 
JMSResponse
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
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