Share via


CacheHealth Class

Definition

An indication of cache health. Gives more information about health than just that related to provisioning.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheHealthTypeConverter))]
public class CacheHealth : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheHealth
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheHealthTypeConverter))>]
type CacheHealth = class
    interface ICacheHealth
    interface IJsonSerializable
Public Class CacheHealth
Implements ICacheHealth
Inheritance
CacheHealth
Attributes
Implements

Constructors

CacheHealth()

Creates an new CacheHealth instance.

Properties

Condition

Outstanding conditions that need to be investigated and resolved.

State

List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings.

StatusDescription

Describes explanation of state.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheHealth.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheHealth.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheHealth.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheHealth into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to