Language

ArmMonitorModelFactory.EtwProviderDataSource Method

Definition

Enables an ETW provider logs to be collected by this data collection rule.

public static Azure.ResourceManager.Monitor.Models.EtwProviderDataSource EtwProviderDataSource(System.Collections.Generic.IEnumerable<string> streams = default, string provider = default, Azure.ResourceManager.Monitor.Models.KnownEtwProviderType providerType = default, Azure.ResourceManager.Monitor.Models.KnownEtwProviderDataSourceLogLevel? logLevel = default, System.Collections.Generic.IEnumerable<string> eventIds = default, string keyword = default, string name = default);
static member EtwProviderDataSource : seq<string> * string * Azure.ResourceManager.Monitor.Models.KnownEtwProviderType * Nullable<Azure.ResourceManager.Monitor.Models.KnownEtwProviderDataSourceLogLevel> * seq<string> * string * string -> Azure.ResourceManager.Monitor.Models.EtwProviderDataSource
Public Shared Function EtwProviderDataSource (Optional streams As IEnumerable(Of String) = Nothing, Optional provider As String = Nothing, Optional providerType As KnownEtwProviderType = Nothing, Optional logLevel As Nullable(Of KnownEtwProviderDataSourceLogLevel) = Nothing, Optional eventIds As IEnumerable(Of String) = Nothing, Optional keyword As String = Nothing, Optional name As String = Nothing) As EtwProviderDataSource

Parameters

streams
IEnumerable<String>

List of streams that this data source will be sent to.

provider
String

The provider GUID or class name for event source.

providerType
KnownEtwProviderType

Provider type specification: By Manifest GUID or by Event Source name.

logLevel
Nullable<KnownEtwProviderDataSourceLogLevel>

Minimal level of detail to be logged.

eventIds
IEnumerable<String>

Events Ids to collect.

keyword
String

Event's membership in a set of event categories.

name
String

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

Returns

A new EtwProviderDataSource instance for mocking.

Applies to