Class CurrentProtectionState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CurrentProtectionState>
com.azure.resourcemanager.dataprotection.models.CurrentProtectionState

public final class CurrentProtectionState extends com.azure.core.util.ExpandableStringEnum<CurrentProtectionState>
Specifies the current protection state of the resource.
  • Field Details

    • INVALID

      public static final CurrentProtectionState INVALID
      Static value Invalid for CurrentProtectionState.
    • NOT_PROTECTED

      public static final CurrentProtectionState NOT_PROTECTED
      Static value NotProtected for CurrentProtectionState.
    • CONFIGURING_PROTECTION

      public static final CurrentProtectionState CONFIGURING_PROTECTION
      Static value ConfiguringProtection for CurrentProtectionState.
    • PROTECTION_CONFIGURED

      public static final CurrentProtectionState PROTECTION_CONFIGURED
      Static value ProtectionConfigured for CurrentProtectionState.
    • BACKUP_SCHEDULES_SUSPENDED

      public static final CurrentProtectionState BACKUP_SCHEDULES_SUSPENDED
      Static value BackupSchedulesSuspended for CurrentProtectionState.
    • RETENTION_SCHEDULES_SUSPENDED

      public static final CurrentProtectionState RETENTION_SCHEDULES_SUSPENDED
      Static value RetentionSchedulesSuspended for CurrentProtectionState.
    • PROTECTION_STOPPED

      public static final CurrentProtectionState PROTECTION_STOPPED
      Static value ProtectionStopped for CurrentProtectionState.
    • PROTECTION_ERROR

      public static final CurrentProtectionState PROTECTION_ERROR
      Static value ProtectionError for CurrentProtectionState.
    • CONFIGURING_PROTECTION_FAILED

      public static final CurrentProtectionState CONFIGURING_PROTECTION_FAILED
      Static value ConfiguringProtectionFailed for CurrentProtectionState.
    • SOFT_DELETING

      public static final CurrentProtectionState SOFT_DELETING
      Static value SoftDeleting for CurrentProtectionState.
    • SOFT_DELETED

      public static final CurrentProtectionState SOFT_DELETED
      Static value SoftDeleted for CurrentProtectionState.
    • UPDATING_PROTECTION

      public static final CurrentProtectionState UPDATING_PROTECTION
      Static value UpdatingProtection for CurrentProtectionState.
  • Constructor Details

    • CurrentProtectionState

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

    • fromString

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

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