Share via


CacheConfiguration Class

Definition

Cache configurations.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.CacheConfigurationTypeConverter))]
public class CacheConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.ICacheConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.CacheConfigurationTypeConverter))>]
type CacheConfiguration = class
    interface ICacheConfiguration
    interface IJsonSerializable
Public Class CacheConfiguration
Implements ICacheConfiguration
Inheritance
CacheConfiguration
Attributes
Implements

Constructors

CacheConfiguration()

Creates an new CacheConfiguration instance.

Properties

MaxStorageUsage

Max storage usage in megabytes.

RetentionPeriod

Retention period in minutes.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.ICacheConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to