ImageState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. ImageState
- com.
- com.
public final class ImageState
extends ExpandableStringEnum<ImageState>
Describes the state of the image.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Image |
ACTIVE
Static value Active for Image |
static final
Image |
DEPRECATED
Static value Deprecated for Image |
static final
Image |
SCHEDULED_FOR_DEPRECATION
Static value Scheduled |
Constructor Summary
Constructor | Description |
---|---|
ImageState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Image |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Image |
fromString(String name)
Creates or finds a Image |
static
Collection<Image |
values()
Gets known Image |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ACTIVE
public static final ImageState ACTIVE
Static value Active for ImageState.
DEPRECATED
public static final ImageState DEPRECATED
Static value Deprecated for ImageState.
SCHEDULED_FOR_DEPRECATION
public static final ImageState SCHEDULED_FOR_DEPRECATION
Static value ScheduledForDeprecation for ImageState.
Constructor Details
ImageState
@Deprecated
public ImageState()
Deprecated
Creates a new instance of ImageState value.
Method Details
fromString
public static ImageState fromString(String name)
Creates or finds a ImageState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ImageState values.
Returns:
Applies to
Azure SDK for Java