Share via


MonitorWorkspaceLogsExporterCacheConfiguration Class

Definition

Cache configurations.

public class MonitorWorkspaceLogsExporterCacheConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorWorkspaceLogsExporterCacheConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorWorkspaceLogsExporterCacheConfiguration>
type MonitorWorkspaceLogsExporterCacheConfiguration = class
    interface IJsonModel<MonitorWorkspaceLogsExporterCacheConfiguration>
    interface IPersistableModel<MonitorWorkspaceLogsExporterCacheConfiguration>
Public Class MonitorWorkspaceLogsExporterCacheConfiguration
Implements IJsonModel(Of MonitorWorkspaceLogsExporterCacheConfiguration), IPersistableModel(Of MonitorWorkspaceLogsExporterCacheConfiguration)
Inheritance
MonitorWorkspaceLogsExporterCacheConfiguration
Implements

Constructors

MonitorWorkspaceLogsExporterCacheConfiguration()

Initializes a new instance of MonitorWorkspaceLogsExporterCacheConfiguration.

Properties

MaxStorageUsage

Max storage usage in megabytes.

RetentionPeriod

Retention period in minutes.

Explicit Interface Implementations

IJsonModel<MonitorWorkspaceLogsExporterCacheConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MonitorWorkspaceLogsExporterCacheConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorWorkspaceLogsExporterCacheConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorWorkspaceLogsExporterCacheConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MonitorWorkspaceLogsExporterCacheConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to