SharedGalleryHostCaching Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. SharedGalleryHostCaching
- com.
- com.
public final class SharedGalleryHostCaching
extends ExpandableStringEnum<SharedGalleryHostCaching>
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Shared |
NONE
Static value None for Shared |
static final
Shared |
READ_ONLY
Static value Read |
static final
Shared |
READ_WRITE
Static value Read |
Constructor Summary
Constructor | Description |
---|---|
SharedGalleryHostCaching() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Shared |
fromString(String name)
Creates or finds a Shared |
static
Collection<Shared |
values()
Gets known Shared |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final SharedGalleryHostCaching NONE
Static value None for SharedGalleryHostCaching.
READ_ONLY
public static final SharedGalleryHostCaching READ_ONLY
Static value ReadOnly for SharedGalleryHostCaching.
READ_WRITE
public static final SharedGalleryHostCaching READ_WRITE
Static value ReadWrite for SharedGalleryHostCaching.
Constructor Details
SharedGalleryHostCaching
@Deprecated
public SharedGalleryHostCaching()
Deprecated
Creates a new instance of SharedGalleryHostCaching value.
Method Details
fromString
public static SharedGalleryHostCaching fromString(String name)
Creates or finds a SharedGalleryHostCaching from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SharedGalleryHostCaching values.
Returns:
Applies to
Azure SDK for Java