SharingState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. SharingState
- com.
- com.
public final class SharingState
extends ExpandableStringEnum<SharingState>
The sharing state of the gallery. The sharing state of the gallery, which only appears in the response.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Sharing |
FAILED
Static value Failed for Sharing |
static final
Sharing |
IN_PROGRESS
Static value In |
static final
Sharing |
SUCCEEDED
Static value Succeeded for Sharing |
static final
Sharing |
UNKNOWN
Static value Unknown for Sharing |
Constructor Summary
Constructor | Description |
---|---|
SharingState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Sharing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sharing |
fromString(String name)
Creates or finds a Sharing |
static
Collection<Sharing |
values()
Gets known Sharing |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FAILED
public static final SharingState FAILED
Static value Failed for SharingState.
IN_PROGRESS
public static final SharingState IN_PROGRESS
Static value InProgress for SharingState.
SUCCEEDED
public static final SharingState SUCCEEDED
Static value Succeeded for SharingState.
UNKNOWN
public static final SharingState UNKNOWN
Static value Unknown for SharingState.
Constructor Details
SharingState
@Deprecated
public SharingState()
Deprecated
Creates a new instance of SharingState value.
Method Details
fromString
public static SharingState fromString(String name)
Creates or finds a SharingState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SharingState values.
Returns:
Applies to
Azure SDK for Java