Class SharingState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SharingState>
com.azure.resourcemanager.compute.models.SharingState

public final class SharingState extends com.azure.core.util.ExpandableStringEnum<SharingState>
The sharing state of the gallery.

The sharing state of the gallery, which only appears in the response.

  • Field Details

    • SUCCEEDED

      public static final SharingState SUCCEEDED
      Static value Succeeded for SharingState.
    • IN_PROGRESS

      public static final SharingState IN_PROGRESS
      Static value InProgress for SharingState.
    • FAILED

      public static final SharingState FAILED
      Static value Failed for SharingState.
    • UNKNOWN

      public static final SharingState UNKNOWN
      Static value Unknown for SharingState.
  • Constructor Details

    • SharingState

      public SharingState()
  • Method Details

    • fromString

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

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