CacheHealth Class
- java.
lang. Object - com.
azure. resourcemanager. storagecache. models. CacheHealth
- com.
public final class CacheHealth
An indication of cache health. Gives more information about health than just that related to provisioning.
Constructor Summary
Constructor | Description |
---|---|
CacheHealth() |
Creates an instance of Cache |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Condition> |
conditions()
Get the conditions property: Outstanding conditions that need to be investigated and resolved. |
Health |
state()
Get the state property: List of cache health states. |
String |
statusDescription()
Get the status |
void |
validate()
Validates the instance. |
Cache |
withState(HealthStateType state)
Set the state property: List of cache health states. |
Cache |
withStatusDescription(String statusDescription)
Set the status |
Methods inherited from java.lang.Object
Constructor Details
CacheHealth
public CacheHealth()
Creates an instance of CacheHealth class.
Method Details
conditions
public List
Get the conditions property: Outstanding conditions that need to be investigated and resolved.
Returns:
state
public HealthStateType state()
Get the state property: 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.
Returns:
statusDescription
public String statusDescription()
Get the statusDescription property: Describes explanation of state.
Returns:
validate
public void validate()
Validates the instance.
withState
public CacheHealth withState(HealthStateType state)
Set the state property: 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.
Parameters:
Returns:
withStatusDescription
public CacheHealth withStatusDescription(String statusDescription)
Set the statusDescription property: Describes explanation of state.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for