CachingType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. devopsinfrastructure. models. CachingType
- com.
- com.
public final class CachingType
extends ExpandableStringEnum<CachingType>
The type of caching in a data disk.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Caching |
NONE
Don't use host caching. |
|
static final
Caching |
READ_ONLY
For workloads that only do read operations. |
|
static final
Caching |
READ_WRITE
For workloads that do a balance of read and write operations. |
Constructor Summary
| Constructor | Description |
|---|---|
| CachingType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Caching |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Caching |
fromString(String name)
Creates or finds a Caching |
|
static
Collection<Caching |
values()
Gets known Caching |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final CachingType NONE
Don't use host caching.
READ_ONLY
public static final CachingType READ_ONLY
For workloads that only do read operations.
READ_WRITE
public static final CachingType READ_WRITE
For workloads that do a balance of read and write operations.
Constructor Details
CachingType
@Deprecated
public CachingType()
Deprecated
Creates a new instance of CachingType value.
Method Details
fromString
public static CachingType fromString(String name)
Creates or finds a CachingType from its string representation.
Parameters:
Returns:
values
public static Collection<CachingType> values()
Gets known CachingType values.
Returns: