ManagedDatabaseUpdate Constructors

Definition

Overloads

ManagedDatabaseUpdate()

Initializes a new instance of the ManagedDatabaseUpdate class.

ManagedDatabaseUpdate(String, ManagedDatabaseStatus, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, CatalogCollationType, ManagedDatabaseCreateMode, String, String, String, String, String, 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, ManagedDatabaseStatus, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, CatalogCollationType, ManagedDatabaseCreateMode, String, String, String, String, String, String, IDictionary<String,String>)

Initializes a new instance of the ManagedDatabaseUpdate class.

public ManagedDatabaseUpdate (string collation = default, Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseStatus status = default, DateTime? creationDate = default, DateTime? earliestRestorePoint = default, DateTime? restorePointInTime = default, string defaultSecondaryLocation = default, Microsoft.Azure.Management.Sql.Fluent.Models.CatalogCollationType catalogCollation = default, Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseCreateMode createMode = default, string storageContainerUri = default, string sourceDatabaseId = default, string restorableDroppedDatabaseId = default, string storageContainerSasToken = default, string failoverGroupId = default, string recoverableDatabaseId = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseUpdate : string * Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseStatus * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.Sql.Fluent.Models.CatalogCollationType * Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseCreateMode * string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseUpdate
Public Sub New (Optional collation As String = Nothing, Optional status As ManagedDatabaseStatus = 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 CatalogCollationType = Nothing, Optional createMode As ManagedDatabaseCreateMode = 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 tags As IDictionary(Of String, String) = Nothing)

Parameters

collation
String

Collation of the managed database.

status
ManagedDatabaseStatus

Status of the database. Possible values include: 'Online', 'Offline', 'Shutdown', 'Creating', 'Inaccessible', '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
CatalogCollationType

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

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

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.

tags
IDictionary<String,String>

Resource tags.

Applies to