SnapshotAccessState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. SnapshotAccessState
- com.
- com.
public final class SnapshotAccessState
extends ExpandableStringEnum<SnapshotAccessState>
The state of snapshot which determines the access availability of the snapshot.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Snapshot |
AVAILABLE
Static value Available for Snapshot |
|
static final
Snapshot |
AVAILABLE_WITH_INSTANT_ACCESS
Static value Available |
|
static final
Snapshot |
INSTANT_ACCESS
Static value Instant |
|
static final
Snapshot |
PENDING
Static value Pending for Snapshot |
|
static final
Snapshot |
UNKNOWN
Static value Unknown for Snapshot |
Constructor Summary
| Constructor | Description |
|---|---|
| SnapshotAccessState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Snapshot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Snapshot |
fromString(String name)
Creates or finds a Snapshot |
|
static
Collection<Snapshot |
values()
Gets known Snapshot |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AVAILABLE
public static final SnapshotAccessState AVAILABLE
Static value Available for SnapshotAccessState.
AVAILABLE_WITH_INSTANT_ACCESS
public static final SnapshotAccessState AVAILABLE_WITH_INSTANT_ACCESS
Static value AvailableWithInstantAccess for SnapshotAccessState.
INSTANT_ACCESS
public static final SnapshotAccessState INSTANT_ACCESS
Static value InstantAccess for SnapshotAccessState.
PENDING
public static final SnapshotAccessState PENDING
Static value Pending for SnapshotAccessState.
UNKNOWN
public static final SnapshotAccessState UNKNOWN
Static value Unknown for SnapshotAccessState.
Constructor Details
SnapshotAccessState
@Deprecated
public SnapshotAccessState()
Deprecated
Creates a new instance of SnapshotAccessState value.
Method Details
fromString
public static SnapshotAccessState fromString(String name)
Creates or finds a SnapshotAccessState from its string representation.
Parameters:
Returns:
values
public static Collection<SnapshotAccessState> values()
Gets known SnapshotAccessState values.
Returns: