Class SharedGalleryHostCaching

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SharedGalleryHostCaching>
com.azure.resourcemanager.compute.models.SharedGalleryHostCaching
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

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 Details

  • Constructor Details

    • SharedGalleryHostCaching

      @Deprecated public SharedGalleryHostCaching()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding SharedGalleryHostCaching.
    • values

      public static Collection<SharedGalleryHostCaching> values()
      Gets known SharedGalleryHostCaching values.
      Returns:
      known SharedGalleryHostCaching values.