ManagedDatabaseCreateMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. ManagedDatabaseCreateMode
- com.
- com.
public final class ManagedDatabaseCreateMode
extends ExpandableStringEnum<ManagedDatabaseCreateMode>
Managed database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be specified. Recovery: Creates a database by restoring a geo-replicated backup. RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention backup (longTermRetentionBackupResourceId required).
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Managed |
DEFAULT
Static value Default for Managed |
static final
Managed |
POINT_IN_TIME_RESTORE
Static value Point |
static final
Managed |
RECOVERY
Static value Recovery for Managed |
static final
Managed |
RESTORE_EXTERNAL_BACKUP
Static value Restore |
static final
Managed |
RESTORE_LONG_TERM_RETENTION_BACKUP
Static value Restore |
Constructor Summary
Constructor | Description |
---|---|
ManagedDatabaseCreateMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromString(String name)
Creates or finds a Managed |
static
Collection<Managed |
values()
Gets known Managed |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEFAULT
public static final ManagedDatabaseCreateMode DEFAULT
Static value Default for ManagedDatabaseCreateMode.
POINT_IN_TIME_RESTORE
public static final ManagedDatabaseCreateMode POINT_IN_TIME_RESTORE
Static value PointInTimeRestore for ManagedDatabaseCreateMode.
RECOVERY
public static final ManagedDatabaseCreateMode RECOVERY
Static value Recovery for ManagedDatabaseCreateMode.
RESTORE_EXTERNAL_BACKUP
public static final ManagedDatabaseCreateMode RESTORE_EXTERNAL_BACKUP
Static value RestoreExternalBackup for ManagedDatabaseCreateMode.
RESTORE_LONG_TERM_RETENTION_BACKUP
public static final ManagedDatabaseCreateMode RESTORE_LONG_TERM_RETENTION_BACKUP
Static value RestoreLongTermRetentionBackup for ManagedDatabaseCreateMode.
Constructor Details
ManagedDatabaseCreateMode
@Deprecated
public ManagedDatabaseCreateMode()
Deprecated
Creates a new instance of ManagedDatabaseCreateMode value.
Method Details
fromString
public static ManagedDatabaseCreateMode fromString(String name)
Creates or finds a ManagedDatabaseCreateMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ManagedDatabaseCreateMode values.
Returns:
Applies to
Azure SDK for Java