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>
Defines values for SharingState.
-
-
Field Summary
Fields Modifier and Type Field Description static SharingStateFAILEDStatic value Failed for SharingState.static SharingStateIN_PROGRESSStatic value InProgress for SharingState.static SharingStateSUCCEEDEDStatic value Succeeded for SharingState.static SharingStateUNKNOWNStatic value Unknown for SharingState.
-
Constructor Summary
Constructors Constructor Description SharingState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SharingStatefromString(String name)Creates or finds a SharingState from its string representation.static Collection<SharingState>values()
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
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()
- Returns:
- known SharingState values.
-
-