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 Summary
Modifier and TypeFieldDescriptionstatic final CurrentProtectionState
Static value BackupSchedulesSuspended for CurrentProtectionState.static final CurrentProtectionState
Static value ConfiguringProtection for CurrentProtectionState.static final CurrentProtectionState
Static value ConfiguringProtectionFailed for CurrentProtectionState.static final CurrentProtectionState
Static value Invalid for CurrentProtectionState.static final CurrentProtectionState
Static value NotProtected for CurrentProtectionState.static final CurrentProtectionState
Static value ProtectionConfigured for CurrentProtectionState.static final CurrentProtectionState
Static value ProtectionError for CurrentProtectionState.static final CurrentProtectionState
Static value ProtectionStopped for CurrentProtectionState.static final CurrentProtectionState
Static value RetentionSchedulesSuspended for CurrentProtectionState.static final CurrentProtectionState
Static value SoftDeleted for CurrentProtectionState.static final CurrentProtectionState
Static value SoftDeleting for CurrentProtectionState.static final CurrentProtectionState
Static value UpdatingProtection for CurrentProtectionState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CurrentProtectionState
fromString
(String name) Creates or finds a CurrentProtectionState from its string representation.static Collection<CurrentProtectionState>
values()
Gets known CurrentProtectionState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for CurrentProtectionState. -
NOT_PROTECTED
Static value NotProtected for CurrentProtectionState. -
CONFIGURING_PROTECTION
Static value ConfiguringProtection for CurrentProtectionState. -
PROTECTION_CONFIGURED
Static value ProtectionConfigured for CurrentProtectionState. -
BACKUP_SCHEDULES_SUSPENDED
Static value BackupSchedulesSuspended for CurrentProtectionState. -
RETENTION_SCHEDULES_SUSPENDED
Static value RetentionSchedulesSuspended for CurrentProtectionState. -
PROTECTION_STOPPED
Static value ProtectionStopped for CurrentProtectionState. -
PROTECTION_ERROR
Static value ProtectionError for CurrentProtectionState. -
CONFIGURING_PROTECTION_FAILED
Static value ConfiguringProtectionFailed for CurrentProtectionState. -
SOFT_DELETING
Static value SoftDeleting for CurrentProtectionState. -
SOFT_DELETED
Static value SoftDeleted for CurrentProtectionState. -
UPDATING_PROTECTION
Static value UpdatingProtection for CurrentProtectionState.
-
-
Constructor Details
-
CurrentProtectionState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CurrentProtectionState value.
-
-
Method Details
-
fromString
Creates or finds a CurrentProtectionState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CurrentProtectionState.
-
values
Gets known CurrentProtectionState values.- Returns:
- known CurrentProtectionState values.
-
fromString(String)
factory method.