Partager via


FileSystemHttpLogsConfig Class

Definition

Http logs to file system configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.FileSystemHttpLogsConfigTypeConverter))]
public class FileSystemHttpLogsConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IFileSystemHttpLogsConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.FileSystemHttpLogsConfigTypeConverter))>]
type FileSystemHttpLogsConfig = class
    interface IFileSystemHttpLogsConfig
    interface IJsonSerializable
Public Class FileSystemHttpLogsConfig
Implements IFileSystemHttpLogsConfig
Inheritance
FileSystemHttpLogsConfig
Attributes
Implements

Constructors

FileSystemHttpLogsConfig()

Creates an new FileSystemHttpLogsConfig instance.

Properties

Enabled

True if configuration is enabled, false if it is disabled and null if configuration is not set.

RetentionInDay

Retention in days. Remove files older than X days. 0 or lower means no retention.

RetentionInMb

Maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FileSystemHttpLogsConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FileSystemHttpLogsConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IFileSystemHttpLogsConfig.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FileSystemHttpLogsConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to