Bagikan melalui


ManagedDatabaseUpdate Class

Definition

An managed database update.

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

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, String, Nullable<Boolean>, String, IDictionary<String, String>)

Initializes a new instance of the ManagedDatabaseUpdate class.

Properties

AutoCompleteRestore

Gets or sets whether to auto complete restore of this managed database.

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. RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention backup (longTermRetentionBackupResourceId required). Possible values include: 'Default', 'RestoreExternalBackup', 'PointInTimeRestore', 'Recovery', 'RestoreLongTermRetentionBackup'

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.

LastBackupName

Gets or sets last backup file name for restore of this managed database.

LongTermRetentionBackupResourceId

Gets or sets the name of the Long Term Retention backup to be used for restore of this managed database.

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', 'Restoring', '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