ArmDeviceRegistryModelFactory.NamespaceEvent 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 properties.
public static Azure.ResourceManager.DeviceRegistry.Models.NamespaceEvent NamespaceEvent(string name = default, string dataSource = default, string eventConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.EventDestination> destinations = default, string typeRef = default);
static member NamespaceEvent : string * string * string * seq<Azure.ResourceManager.DeviceRegistry.Models.EventDestination> * string -> Azure.ResourceManager.DeviceRegistry.Models.NamespaceEvent
Public Shared Function NamespaceEvent (Optional name As String = Nothing, Optional dataSource As String = Nothing, Optional eventConfiguration As String = Nothing, Optional destinations As IEnumerable(Of EventDestination) = Nothing, Optional typeRef As String = Nothing) As NamespaceEvent
Parameters
- name
- String
The name of the event.
- dataSource
- String
Reference to a data source for a given event.
- eventConfiguration
- String
Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
- destinations
- IEnumerable<EventDestination>
Destinations for an event.
- typeRef
- String
URI or type definition ID.
Returns
A new NamespaceEvent instance for mocking.