Class DeletionRecoveryLevel
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DeletionRecoveryLevel>
com.azure.resourcemanager.keyvault.models.DeletionRecoveryLevel
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DeletionRecoveryLevel
extends com.azure.core.util.ExpandableStringEnum<DeletionRecoveryLevel>
The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be
permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention
interval.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeletionRecoveryLevelStatic value Purgeable for DeletionRecoveryLevel.static final DeletionRecoveryLevelStatic value Recoverable for DeletionRecoveryLevel.static final DeletionRecoveryLevelStatic value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.static final DeletionRecoveryLevelStatic value Recoverable+Purgeable for DeletionRecoveryLevel. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletionRecoveryLevelfromString(String name) Creates or finds a DeletionRecoveryLevel from its string representation.static Collection<DeletionRecoveryLevel> values()Gets known DeletionRecoveryLevel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PURGEABLE
Static value Purgeable for DeletionRecoveryLevel. -
RECOVERABLE_PURGEABLE
Static value Recoverable+Purgeable for DeletionRecoveryLevel. -
RECOVERABLE
Static value Recoverable for DeletionRecoveryLevel. -
RECOVERABLE_PROTECTED_SUBSCRIPTION
Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.
-
-
Constructor Details
-
DeletionRecoveryLevel
Deprecated.Use thefromString(String)factory method.Creates a new instance of DeletionRecoveryLevel value.
-
-
Method Details
-
fromString
Creates or finds a DeletionRecoveryLevel from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DeletionRecoveryLevel.
-
values
Gets known DeletionRecoveryLevel values.- Returns:
- known DeletionRecoveryLevel values.
-
fromString(String)factory method.