FileSystemHttpLogsConfig Class
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.
Http logs to file system configuration.
public class FileSystemHttpLogsConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.FileSystemHttpLogsConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.FileSystemHttpLogsConfig>
type FileSystemHttpLogsConfig = class
interface IJsonModel<FileSystemHttpLogsConfig>
interface IPersistableModel<FileSystemHttpLogsConfig>
Public Class FileSystemHttpLogsConfig
Implements IJsonModel(Of FileSystemHttpLogsConfig), IPersistableModel(Of FileSystemHttpLogsConfig)
- Inheritance
-
FileSystemHttpLogsConfig
- Implements
Constructors
FileSystemHttpLogsConfig() |
Initializes a new instance of FileSystemHttpLogsConfig. |
Properties
IsEnabled |
True if configuration is enabled, false if it is disabled and null if configuration is not set. |
RetentionInDays |
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
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<FileSystemHttpLogsConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<FileSystemHttpLogsConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<FileSystemHttpLogsConfig>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<FileSystemHttpLogsConfig>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<FileSystemHttpLogsConfig>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |