ArmMonitorModelFactory.LogFilesDataSource 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.
public static Azure.ResourceManager.Monitor.Models.LogFilesDataSource LogFilesDataSource(System.Collections.Generic.IEnumerable<string> streams = default, System.Collections.Generic.IEnumerable<string> filePatterns = default, Azure.ResourceManager.Monitor.Models.LogFilesDataSourceFormat format = default, Azure.ResourceManager.Monitor.Models.LogFileTextSettingsRecordStartTimestampFormat? textRecordStartTimestampFormat = default, string transformKql = default, string name = default);
static member LogFilesDataSource : seq<string> * seq<string> * Azure.ResourceManager.Monitor.Models.LogFilesDataSourceFormat * Nullable<Azure.ResourceManager.Monitor.Models.LogFileTextSettingsRecordStartTimestampFormat> * string * string -> Azure.ResourceManager.Monitor.Models.LogFilesDataSource
Public Shared Function LogFilesDataSource (Optional streams As IEnumerable(Of String) = Nothing, Optional filePatterns As IEnumerable(Of String) = Nothing, Optional format As LogFilesDataSourceFormat = Nothing, Optional textRecordStartTimestampFormat As Nullable(Of LogFileTextSettingsRecordStartTimestampFormat) = Nothing, Optional transformKql As String = Nothing, Optional name As String = Nothing) As LogFilesDataSource
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.
- textRecordStartTimestampFormat
- Nullable<LogFileTextSettingsRecordStartTimestampFormat>
One of the supported timestamp formats.
- transformKql
- String
The KQL query to transform the data source. This is a deprecated property and will be removed in future versions.
- 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 LogFilesDataSource instance for mocking.