CacheHealth Class
- java.
lang. Object - com.
microsoft. azure. management. storagecache. v2020_03_01.CacheHealth
- com.
public class CacheHealth
An indication of Cache health. Gives more information about health than just that related to provisioning.
Constructor | Description | |
---|---|---|
Cache |
Modifier and Type | Method and Description |
---|---|
Health |
state()
Get list of Cache health states. |
java.lang.String |
status Get describes explanation of state. |
Cache |
with Set list of Cache health states. |
Cache |
with Set describes explanation of state. |
CacheHealth
public CacheHealth()
state
public HealthStateType state()
Get list of Cache health states. Possible values include: 'Unknown', 'Healthy', 'Degraded', 'Down', 'Transitioning', 'Stopping', 'Stopped', 'Upgrading', 'Flushing'.
Returns:
statusDescription
public String statusDescription()
Get describes explanation of state.
Returns:
withState
public CacheHealth withState(HealthStateType state)
Set list of Cache health states. Possible values include: 'Unknown', 'Healthy', 'Degraded', 'Down', 'Transitioning', 'Stopping', 'Stopped', 'Upgrading', 'Flushing'.
Parameters:
Returns:
withStatusDescription
public CacheHealth withStatusDescription(String statusDescription)
Set describes explanation of state.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: