Compartilhar via


LogFileSettings Class

Definition

Settings for different log file formats

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.LogFileSettingsTypeConverter))]
public class LogFileSettings : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ILogFileSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.LogFileSettingsTypeConverter))>]
type LogFileSettings = class
    interface ILogFileSettings
    interface IJsonSerializable
Public Class LogFileSettings
Implements ILogFileSettings
Inheritance
LogFileSettings
Attributes
Implements

Constructors

LogFileSettings()

Creates an new LogFileSettings instance.

Properties

TextRecordStartTimestampFormat

One of the supported timestamp formats

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogFileSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogFileSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ILogFileSettings.

FromJsonString(String)

Creates a new instance of LogFileSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogFileSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to