Class SharingState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SharingState>
com.azure.resourcemanager.compute.models.SharingState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The sharing state of the gallery, which only appears in the response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SharingStateStatic value Failed for SharingState.static final SharingStateStatic value InProgress for SharingState.static final SharingStateStatic value Succeeded for SharingState.static final SharingStateStatic value Unknown for SharingState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SharingStatefromString(String name) Creates or finds a SharingState from its string representation.static Collection<SharingState> values()Gets known SharingState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SUCCEEDED
Static value Succeeded for SharingState. -
IN_PROGRESS
Static value InProgress for SharingState. -
FAILED
Static value Failed for SharingState. -
UNKNOWN
Static value Unknown for SharingState.
-
-
Constructor Details
-
SharingState
Deprecated.Use thefromString(String)factory method.Creates a new instance of SharingState value.
-
-
Method Details
-
fromString
Creates or finds a SharingState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SharingState.
-
values
Gets known SharingState values.- Returns:
- known SharingState values.
-
fromString(String)factory method.