共用方式為


ManagedDatabaseUpdate Constructors

Definition

Overloads

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.

ManagedDatabaseUpdate()

Initializes a new instance of the ManagedDatabaseUpdate class.

public ManagedDatabaseUpdate ();
Public Sub New ()

Applies to

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.

public ManagedDatabaseUpdate (string collation = default, string status = default, DateTime? creationDate = default, DateTime? earliestRestorePoint = default, DateTime? restorePointInTime = default, string defaultSecondaryLocation = default, string catalogCollation = default, string createMode = default, string storageContainerUri = default, string sourceDatabaseId = default, string restorableDroppedDatabaseId = default, string storageContainerSasToken = default, string failoverGroupId = default, string recoverableDatabaseId = default, string longTermRetentionBackupResourceId = default, bool? autoCompleteRestore = default, string lastBackupName = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Sql.Models.ManagedDatabaseUpdate : string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string * string * string * string * string * string * Nullable<bool> * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Sql.Models.ManagedDatabaseUpdate
Public Sub New (Optional collation As String = Nothing, Optional status As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional earliestRestorePoint As Nullable(Of DateTime) = Nothing, Optional restorePointInTime As Nullable(Of DateTime) = Nothing, Optional defaultSecondaryLocation As String = Nothing, Optional catalogCollation As String = Nothing, Optional createMode As String = Nothing, Optional storageContainerUri As String = Nothing, Optional sourceDatabaseId As String = Nothing, Optional restorableDroppedDatabaseId As String = Nothing, Optional storageContainerSasToken As String = Nothing, Optional failoverGroupId As String = Nothing, Optional recoverableDatabaseId As String = Nothing, Optional longTermRetentionBackupResourceId As String = Nothing, Optional autoCompleteRestore As Nullable(Of Boolean) = Nothing, Optional lastBackupName As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

Parameters

collation
String

Collation of the managed database.

status
String

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

creationDate
Nullable<DateTime>

Creation date of the database.

earliestRestorePoint
Nullable<DateTime>

Earliest restore point in time for point in time restore.

restorePointInTime
Nullable<DateTime>

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.

defaultSecondaryLocation
String

Geo paired region.

catalogCollation
String

Collation of the metadata catalog. Possible values include: 'DATABASE_DEFAULT', 'SQL_Latin1_General_CP1_CI_AS'

createMode
String

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'

storageContainerUri
String

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

sourceDatabaseId
String

The resource identifier of the source database associated with create operation of this database.

restorableDroppedDatabaseId
String

The restorable dropped database resource id to restore when creating this database.

storageContainerSasToken
String

Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the storage container sas token.

failoverGroupId
String

Instance Failover Group resource identifier that this managed database belongs to.

recoverableDatabaseId
String

The resource identifier of the recoverable database associated with create operation of this database.

longTermRetentionBackupResourceId
String

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

autoCompleteRestore
Nullable<Boolean>

Whether to auto complete restore of this managed database.

lastBackupName
String

Last backup file name for restore of this managed database.

tags
IDictionary<String,String>

Resource tags.

Applies to