Class SharedGalleryHostCaching
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SharedGalleryHostCaching>
com.azure.resourcemanager.compute.models.SharedGalleryHostCaching
public final class SharedGalleryHostCaching
extends com.azure.core.util.ExpandableStringEnum<SharedGalleryHostCaching>
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SharedGalleryHostCachingStatic value None for SharedGalleryHostCaching.static final SharedGalleryHostCachingStatic value ReadOnly for SharedGalleryHostCaching.static final SharedGalleryHostCachingStatic value ReadWrite for SharedGalleryHostCaching. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SharedGalleryHostCachingfromString(String name) Creates or finds a SharedGalleryHostCaching from its string representation.static Collection<SharedGalleryHostCaching>values()Gets known SharedGalleryHostCaching values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NONE
Static value None for SharedGalleryHostCaching. -
READ_ONLY
Static value ReadOnly for SharedGalleryHostCaching. -
READ_WRITE
Static value ReadWrite for SharedGalleryHostCaching.
-
-
Constructor Details
-
SharedGalleryHostCaching
public SharedGalleryHostCaching()
-
-
Method Details
-
fromString
Creates or finds a SharedGalleryHostCaching from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SharedGalleryHostCaching.
-
values
Gets known SharedGalleryHostCaching values.- Returns:
- known SharedGalleryHostCaching values.
-