DatabaseStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. DatabaseStatus
- com.
- com.
public final class DatabaseStatus
extends ExpandableStringEnum<DatabaseStatus>
The status of the database.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Database |
AUTO_CLOSED
Static value Auto |
static final
Database |
COPYING
Static value Copying for Database |
static final
Database |
CREATING
Static value Creating for Database |
static final
Database |
DISABLED
Static value Disabled for Database |
static final
Database |
EMERGENCY_MODE
Static value Emergency |
static final
Database |
INACCESSIBLE
Static value Inaccessible for Database |
static final
Database |
OFFLINE
Static value Offline for Database |
static final
Database |
OFFLINE_CHANGING_DW_PERFORMANCE_TIERS
Static value Offline |
static final
Database |
OFFLINE_SECONDARY
Static value Offline |
static final
Database |
ONLINE
Static value Online for Database |
static final
Database |
ONLINE_CHANGING_DW_PERFORMANCE_TIERS
Static value Online |
static final
Database |
PAUSED
Static value Paused for Database |
static final
Database |
PAUSING
Static value Pausing for Database |
static final
Database |
RECOVERING
Static value Recovering for Database |
static final
Database |
RECOVERY_PENDING
Static value Recovery |
static final
Database |
RESTORING
Static value Restoring for Database |
static final
Database |
RESUMING
Static value Resuming for Database |
static final
Database |
SCALING
Static value Scaling for Database |
static final
Database |
SHUTDOWN
Static value Shutdown for Database |
static final
Database |
STANDBY
Static value Standby for Database |
static final
Database |
STARTING
Static value Starting for Database |
static final
Database |
STOPPED
Static value Stopped for Database |
static final
Database |
STOPPING
Static value Stopping for Database |
static final
Database |
SUSPECT
Static value Suspect for Database |
Constructor Summary
Constructor | Description |
---|---|
DatabaseStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Database |
fromString(String name)
Creates or finds a Database |
static
Collection<Database |
values()
Gets known Database |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTO_CLOSED
public static final DatabaseStatus AUTO_CLOSED
Static value AutoClosed for DatabaseStatus.
COPYING
public static final DatabaseStatus COPYING
Static value Copying for DatabaseStatus.
CREATING
public static final DatabaseStatus CREATING
Static value Creating for DatabaseStatus.
DISABLED
public static final DatabaseStatus DISABLED
Static value Disabled for DatabaseStatus.
EMERGENCY_MODE
public static final DatabaseStatus EMERGENCY_MODE
Static value EmergencyMode for DatabaseStatus.
INACCESSIBLE
public static final DatabaseStatus INACCESSIBLE
Static value Inaccessible for DatabaseStatus.
OFFLINE
public static final DatabaseStatus OFFLINE
Static value Offline for DatabaseStatus.
OFFLINE_CHANGING_DW_PERFORMANCE_TIERS
public static final DatabaseStatus OFFLINE_CHANGING_DW_PERFORMANCE_TIERS
Static value OfflineChangingDwPerformanceTiers for DatabaseStatus.
OFFLINE_SECONDARY
public static final DatabaseStatus OFFLINE_SECONDARY
Static value OfflineSecondary for DatabaseStatus.
ONLINE
public static final DatabaseStatus ONLINE
Static value Online for DatabaseStatus.
ONLINE_CHANGING_DW_PERFORMANCE_TIERS
public static final DatabaseStatus ONLINE_CHANGING_DW_PERFORMANCE_TIERS
Static value OnlineChangingDwPerformanceTiers for DatabaseStatus.
PAUSED
public static final DatabaseStatus PAUSED
Static value Paused for DatabaseStatus.
PAUSING
public static final DatabaseStatus PAUSING
Static value Pausing for DatabaseStatus.
RECOVERING
public static final DatabaseStatus RECOVERING
Static value Recovering for DatabaseStatus.
RECOVERY_PENDING
public static final DatabaseStatus RECOVERY_PENDING
Static value RecoveryPending for DatabaseStatus.
RESTORING
public static final DatabaseStatus RESTORING
Static value Restoring for DatabaseStatus.
RESUMING
public static final DatabaseStatus RESUMING
Static value Resuming for DatabaseStatus.
SCALING
public static final DatabaseStatus SCALING
Static value Scaling for DatabaseStatus.
SHUTDOWN
public static final DatabaseStatus SHUTDOWN
Static value Shutdown for DatabaseStatus.
STANDBY
public static final DatabaseStatus STANDBY
Static value Standby for DatabaseStatus.
STARTING
public static final DatabaseStatus STARTING
Static value Starting for DatabaseStatus.
STOPPED
public static final DatabaseStatus STOPPED
Static value Stopped for DatabaseStatus.
STOPPING
public static final DatabaseStatus STOPPING
Static value Stopping for DatabaseStatus.
SUSPECT
public static final DatabaseStatus SUSPECT
Static value Suspect for DatabaseStatus.
Constructor Details
DatabaseStatus
@Deprecated
public DatabaseStatus()
Deprecated
Creates a new instance of DatabaseStatus value.
Method Details
fromString
public static DatabaseStatus fromString(String name)
Creates or finds a DatabaseStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DatabaseStatus values.
Returns:
Applies to
Azure SDK for Java