Condividi tramite


StorageCacheHealth Class

Definition

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

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

Properties

Conditions

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.

Explicit Interface Implementations

IJsonModel<StorageCacheHealth>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageCacheHealth>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageCacheHealth>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageCacheHealth>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageCacheHealth>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to