ArmWebPubSubModelFactory.WebPubSubGroupPresenceEventFilters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents presence event filters for event handler configuration.
public static Azure.ResourceManager.WebPubSub.Models.WebPubSubGroupPresenceEventFilters WebPubSubGroupPresenceEventFilters(System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubGroupPresenceEventName> eventNames = default, System.Collections.Generic.IEnumerable<string> groupFilters = default);
static member WebPubSubGroupPresenceEventFilters : seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubGroupPresenceEventName> * seq<string> -> Azure.ResourceManager.WebPubSub.Models.WebPubSubGroupPresenceEventFilters
Public Shared Function WebPubSubGroupPresenceEventFilters (Optional eventNames As IEnumerable(Of WebPubSubGroupPresenceEventName) = Nothing, Optional groupFilters As IEnumerable(Of String) = Nothing) As WebPubSubGroupPresenceEventFilters
Parameters
- eventNames
- IEnumerable<WebPubSubGroupPresenceEventName>
The concerning event names. Valid values are "joined", "left". If the value is null or empty, no presence events will be sent to the event handler.
- groupFilters
- IEnumerable<String>
The group filters. Only events from these groups will be sent to the event handler. Each element is a pattern that may match multiple groups. If null or empty, events from all groups will be sent (subject to eventNames).
Returns
A new WebPubSubGroupPresenceEventFilters instance for mocking.