GalleryImageVersionState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. GalleryImageVersionState
- com.
- com.
public final class GalleryImageVersionState
extends ExpandableStringEnum<GalleryImageVersionState>
The state of a gallery image version, derived from its soft-delete status.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Gallery |
ACTIVE
The gallery image version is active and available for use. |
|
static final
Gallery |
SOFT_DELETED
The gallery image version has been soft-deleted. |
Constructor Summary
| Constructor | Description |
|---|---|
| GalleryImageVersionState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Gallery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Gallery |
fromString(String name)
Creates or finds a Gallery |
|
static
Collection<Gallery |
values()
Gets known Gallery |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ACTIVE
public static final GalleryImageVersionState ACTIVE
The gallery image version is active and available for use.
SOFT_DELETED
public static final GalleryImageVersionState SOFT_DELETED
The gallery image version has been soft-deleted. It is available for use only when a specific version is requested, and it will not be resolved as the latest version.
Constructor Details
GalleryImageVersionState
@Deprecated
public GalleryImageVersionState()
Deprecated
Creates a new instance of GalleryImageVersionState value.
Method Details
fromString
public static GalleryImageVersionState fromString(String name)
Creates or finds a GalleryImageVersionState from its string representation.
Parameters:
Returns:
values
public static Collection<GalleryImageVersionState> values()
Gets known GalleryImageVersionState values.
Returns: