ArmDeviceRegistryModelFactory.NamespaceEventGroup 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.
Defines the event group properties.
public static Azure.ResourceManager.DeviceRegistry.Models.NamespaceEventGroup NamespaceEventGroup(string name = default, string dataSource = default, string eventGroupConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.EventDestination> defaultDestinations = default, string typeRef = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.NamespaceEvent> events = default);
static member NamespaceEventGroup : string * string * string * seq<Azure.ResourceManager.DeviceRegistry.Models.EventDestination> * string * seq<Azure.ResourceManager.DeviceRegistry.Models.NamespaceEvent> -> Azure.ResourceManager.DeviceRegistry.Models.NamespaceEventGroup
Public Shared Function NamespaceEventGroup (Optional name As String = Nothing, Optional dataSource As String = Nothing, Optional eventGroupConfiguration As String = Nothing, Optional defaultDestinations As IEnumerable(Of EventDestination) = Nothing, Optional typeRef As String = Nothing, Optional events As IEnumerable(Of NamespaceEvent) = Nothing) As NamespaceEventGroup
Parameters
- name
- String
The name of the event group.
- dataSource
- String
The address of the notifier of the event group in the asset (e.g. URL) so that a client can access the event group on the asset.
- eventGroupConfiguration
- String
Stringified JSON that contains connector-specific configuration for the event group. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
- defaultDestinations
- IEnumerable<EventDestination>
Destinations for events. Default destinations when destinations is not defined at the event level.
- typeRef
- String
URI or type definition ID.
- events
- IEnumerable<NamespaceEvent>
Array of events that are part of the event group.
Returns
A new NamespaceEventGroup instance for mocking.