ManagedDatabaseUpdate Class

Definition

An managed database update.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagedDatabaseUpdate
type ManagedDatabaseUpdate = class
Public Class ManagedDatabaseUpdate
Inheritance
ManagedDatabaseUpdate
Attributes
Microsoft.Rest.Serialization.JsonTransformationAttribute

Constructors

ManagedDatabaseUpdate()

Initializes a new instance of the ManagedDatabaseUpdate class.

ManagedDatabaseUpdate(String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String, String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the ManagedDatabaseUpdate class.

Properties

CatalogCollation

Gets or sets collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS'

Collation

Gets or sets collation of the managed database.

CreateMode

Gets or sets 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. Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery'

CreationDate

Gets creation date of the database.

DefaultSecondaryLocation

Gets geo paired region.

EarliestRestorePoint

Gets earliest restore point in time for point in time restore.

FailoverGroupId

Gets instance Failover Group resource identifier that this managed database belongs to.

RecoverableDatabaseId

Gets or sets the resource identifier of the recoverable database associated with create operation of this database.

RestorableDroppedDatabaseId

Gets or sets the restorable dropped database resource id to restore when creating this database.

RestorePointInTime

Gets or sets conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

SourceDatabaseId

Gets or sets the resource identifier of the source database associated with create operation of this database.

Status

Gets status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', 'Updating'

StorageContainerSasToken

Gets or sets conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the storage container sas token.

StorageContainerUri

Gets or sets conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored.

Tags

Gets or sets resource tags.

Applies to