-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_web_pubsub_hub
- add event_listener
property
#21145
Changes from 2 commits
bf1d414
4e88f52
a4ab63f
c1f7ffc
8aa4fcd
9a0f74f
e8769a5
13d4c0f
9cc3002
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,10 @@ The following arguments are supported: | |
|
||
-> **NOTE:** User can change the order of `event_handler` to change the priority accordingly. | ||
|
||
* `event_listener` - (Optional) An `event_listener` block as defined below. | ||
|
||
-> **NOTE:** The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub. | ||
xiaxyi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
--- | ||
|
||
An `event_handler` block supports the following: | ||
|
@@ -87,6 +91,18 @@ An `event_handler` block supports the following: | |
|
||
--- | ||
|
||
An `event_listener` block supports the following: | ||
|
||
* `system_event_name_filter` - (Optional) Specify the list of system events. Supported values are `connect`, `connected` and `disconnected`. | ||
|
||
* `user_event_name_filter` - (Optional) Specify the matching event names. There are 3 kind of patterns supported: * `*` matches any event name * `,` Combine multiple events with `,` for example `event1,event2`, it matches event `event1` and `event2` * The single event name, for example `event1`, it matches `event1`. Defaults to `"*"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shouldn't this property be a lint then instead of CSV? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks kt for the review, sorry that I can't quite follow your question, can you be more specific about it? Thanks There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry list. ie as it is |
||
|
||
* `eventhub_namespace_name` - (Required) Specify the event hub namespace name to receive the events. | ||
|
||
* `eventhub_name` - (Required) Specify the event hub name to receive the events. | ||
|
||
--- | ||
|
||
An `auth` block supports the following: | ||
|
||
* `managed_identity_id` - (Required) Specify the identity ID of the target resource. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here