다음을 통해 공유


ManagedDatabaseInner Constructors

Definition

Overloads

ManagedDatabaseInner()

Initializes a new instance of the ManagedDatabaseInner class.

ManagedDatabaseInner(String, String, String, String, IDictionary<String, String>, String, ManagedDatabaseStatus, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, CatalogCollationType, ManagedDatabaseCreateMode, String, String, String, String, String, String)

Initializes a new instance of the ManagedDatabaseInner class.

ManagedDatabaseInner()

Initializes a new instance of the ManagedDatabaseInner class.

public ManagedDatabaseInner ();
Public Sub New ()

Applies to

ManagedDatabaseInner(String, String, String, String, IDictionary<String, String>, String, ManagedDatabaseStatus, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, CatalogCollationType, ManagedDatabaseCreateMode, String, String, String, String, String, String)

Initializes a new instance of the ManagedDatabaseInner class.

public ManagedDatabaseInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, 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);
new Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * 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 -> Microsoft.Azure.Management.Sql.Fluent.Models.ManagedDatabaseInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, 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)

Parameters

location
String

Resource location.

id
String
name
String
type
String
tags
IDictionary<String,String>

Resource tags.

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.

Applies to