ConsistencyModeTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. ConsistencyModeTypes
- com.
- com.
public final class ConsistencyModeTypes
extends ExpandableStringEnum<ConsistencyModeTypes>
ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Consistency |
APPLICATION_CONSISTENT
Static value Application |
static final
Consistency |
CRASH_CONSISTENT
Static value Crash |
static final
Consistency |
FILE_SYSTEM_CONSISTENT
Static value File |
Constructor Summary
Constructor | Description |
---|---|
ConsistencyModeTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Consistency |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Consistency |
fromString(String name)
Creates or finds a Consistency |
static
Collection<Consistency |
values()
Gets known Consistency |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
APPLICATION_CONSISTENT
public static final ConsistencyModeTypes APPLICATION_CONSISTENT
Static value ApplicationConsistent for ConsistencyModeTypes.
CRASH_CONSISTENT
public static final ConsistencyModeTypes CRASH_CONSISTENT
Static value CrashConsistent for ConsistencyModeTypes.
FILE_SYSTEM_CONSISTENT
public static final ConsistencyModeTypes FILE_SYSTEM_CONSISTENT
Static value FileSystemConsistent for ConsistencyModeTypes.
Constructor Details
ConsistencyModeTypes
@Deprecated
public ConsistencyModeTypes()
Deprecated
Creates a new instance of ConsistencyModeTypes value.
Method Details
fromString
public static ConsistencyModeTypes fromString(String name)
Creates or finds a ConsistencyModeTypes from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ConsistencyModeTypes values.
Returns:
Applies to
Azure SDK for Java