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 Details

    • PURGEABLE

      public static final DeletionRecoveryLevel PURGEABLE
      Static value Purgeable for DeletionRecoveryLevel.
    • RECOVERABLE_PURGEABLE

      public static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE
      Static value Recoverable+Purgeable for DeletionRecoveryLevel.
    • RECOVERABLE

      public static final DeletionRecoveryLevel RECOVERABLE
      Static value Recoverable for DeletionRecoveryLevel.
    • RECOVERABLE_PROTECTED_SUBSCRIPTION

      public static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION
      Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.
  • Constructor Details

    • DeletionRecoveryLevel

      @Deprecated public DeletionRecoveryLevel()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of DeletionRecoveryLevel value.
  • Method Details

    • fromString

      public static DeletionRecoveryLevel fromString(String name)
      Creates or finds a DeletionRecoveryLevel from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding DeletionRecoveryLevel.
    • values

      public static Collection<DeletionRecoveryLevel> values()
      Gets known DeletionRecoveryLevel values.
      Returns:
      known DeletionRecoveryLevel values.