共用方式為


LogFilesDataSource Constructor

Definition

Initializes a new instance of LogFilesDataSource.

public LogFilesDataSource (System.Collections.Generic.IEnumerable<string> streams, System.Collections.Generic.IEnumerable<string> filePatterns, Azure.ResourceManager.Monitor.Models.LogFilesDataSourceFormat format);
new Azure.ResourceManager.Monitor.Models.LogFilesDataSource : seq<string> * seq<string> * Azure.ResourceManager.Monitor.Models.LogFilesDataSourceFormat -> Azure.ResourceManager.Monitor.Models.LogFilesDataSource
Public Sub New (streams As IEnumerable(Of String), filePatterns As IEnumerable(Of String), format As LogFilesDataSourceFormat)

Parameters

streams
IEnumerable<String>

List of streams that this data source will be sent to. A stream indicates what schema will be used for this data source

filePatterns
IEnumerable<String>

File Patterns where the log files are located.

format
LogFilesDataSourceFormat

The data format of the log files.

Exceptions

streams or filePatterns is null.

Applies to