Class SnapshotAccessState

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

public final class SnapshotAccessState extends com.azure.core.util.ExpandableStringEnum<SnapshotAccessState>
The state of snapshot which determines the access availability of the snapshot.
  • Field Details

    • UNKNOWN

      public static final SnapshotAccessState UNKNOWN
      Static value Unknown for SnapshotAccessState.
    • PENDING

      public static final SnapshotAccessState PENDING
      Static value Pending for SnapshotAccessState.
    • AVAILABLE

      public static final SnapshotAccessState AVAILABLE
      Static value Available for SnapshotAccessState.
    • INSTANT_ACCESS

      public static final SnapshotAccessState INSTANT_ACCESS
      Static value InstantAccess for SnapshotAccessState.
    • AVAILABLE_WITH_INSTANT_ACCESS

      public static final SnapshotAccessState AVAILABLE_WITH_INSTANT_ACCESS
      Static value AvailableWithInstantAccess for SnapshotAccessState.
  • Constructor Details

    • SnapshotAccessState

      @Deprecated public SnapshotAccessState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SnapshotAccessState value.
  • Method Details

    • fromString

      public static SnapshotAccessState fromString(String name)
      Creates or finds a SnapshotAccessState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SnapshotAccessState.
    • values

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