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
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:
- Connection
Id string - Event
Subscription stringId - Location string
- Project string
- Connection
Id string - Event
Subscription stringId - Location string
- Project string
- connection
Id String - event
Subscription StringId - location String
- project String
- connection
Id string - event
Subscription stringId - location string
- project string
- connection_
id str - event_
subscription_ strid - location str
- project str
- connection
Id String - event
Subscription StringId - location String
- project String
getEventSubscription Result
The following output properties are available:
- Create
Time string - Created time.
- Destinations
Pulumi.
Google Native. Connectors. V1. Outputs. Event Subscription Destination Response - Optional. The destination to hit when we receive an event
- Event
Type 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.
- Subscriber
Link string - Optional. Link for Subscriber of the current EventSubscription.
- Update
Time string - Updated time.
- Create
Time string - Created time.
- Destinations
Event
Subscription Destination Response - Optional. The destination to hit when we receive an event
- Event
Type 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
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.
- Subscriber
Link string - Optional. Link for Subscriber of the current EventSubscription.
- Update
Time string - Updated time.
- create
Time String - Created time.
- destinations
Event
Subscription Destination Response - Optional. The destination to hit when we receive an event
- event
Type 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
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.
- subscriber
Link String - Optional. Link for Subscriber of the current EventSubscription.
- update
Time String - Updated time.
- create
Time string - Created time.
- destinations
Event
Subscription Destination Response - Optional. The destination to hit when we receive an event
- event
Type 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
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.
- subscriber
Link string - Optional. Link for Subscriber of the current EventSubscription.
- update
Time string - Updated time.
- create_
time str - Created time.
- destinations
Event
Subscription 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
Event
Subscription 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.
- create
Time String - Created time.
- destinations Property Map
- Optional. The destination to hit when we receive an event
- event
Type 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.
- subscriber
Link String - Optional. Link for Subscriber of the current EventSubscription.
- update
Time String - Updated time.
Supporting Types
EndPointResponse
- Endpoint
Uri 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.
- Endpoint
Uri string - The URI of the Endpoint.
- Headers
[]Header
Response - List of Header to be added to the Endpoint.
- endpoint
Uri String - The URI of the Endpoint.
- headers
List<Header
Response> - List of Header to be added to the Endpoint.
- endpoint
Uri string - The URI of the Endpoint.
- headers
Header
Response[] - List of Header to be added to the Endpoint.
- endpoint_
uri str - The URI of the Endpoint.
- headers
Sequence[Header
Response] - List of Header to be added to the Endpoint.
- endpoint
Uri 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.
- Service
Account string - Service account needed for runtime plane to trigger IP workflow.
- Type string
- type of the destination
- Endpoint
End
Point Response - OPTION 1: Hit an endpoint when we receive an event.
- Service
Account string - Service account needed for runtime plane to trigger IP workflow.
- Type string
- type of the destination
- endpoint
End
Point Response - OPTION 1: Hit an endpoint when we receive an event.
- service
Account String - Service account needed for runtime plane to trigger IP workflow.
- type String
- type of the destination
- endpoint
End
Point Response - OPTION 1: Hit an endpoint when we receive an event.
- service
Account string - Service account needed for runtime plane to trigger IP workflow.
- type string
- type of the destination
- endpoint
End
Point 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.
- service
Account 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
