ArmStorageCacheModelFactory.StorageCacheHealth Method
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.
Initializes a new instance of StorageCacheHealth.
public static Azure.ResourceManager.StorageCache.Models.StorageCacheHealth StorageCacheHealth (Azure.ResourceManager.StorageCache.Models.StorageCacheHealthStateType? state = default, string statusDescription = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.OutstandingCondition> conditions = default);
static member StorageCacheHealth : Nullable<Azure.ResourceManager.StorageCache.Models.StorageCacheHealthStateType> * string * seq<Azure.ResourceManager.StorageCache.Models.OutstandingCondition> -> Azure.ResourceManager.StorageCache.Models.StorageCacheHealth
Public Shared Function StorageCacheHealth (Optional state As Nullable(Of StorageCacheHealthStateType) = Nothing, Optional statusDescription As String = Nothing, Optional conditions As IEnumerable(Of OutstandingCondition) = Nothing) As StorageCacheHealth
Parameters
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
- String
Describes explanation of state.
- conditions
- IEnumerable<OutstandingCondition>
Outstanding conditions that need to be investigated and resolved.
Returns
A new StorageCacheHealth instance for mocking.