ManagedDatabase Class

Definition

A managed database resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagedDatabase : Microsoft.Azure.Management.Sql.Models.TrackedResource
type ManagedDatabase = class
    inherit TrackedResource
Public Class ManagedDatabase
Inherits TrackedResource
Inheritance
ManagedDatabase
Attributes
Microsoft.Rest.Serialization.JsonTransformationAttribute

Constructors

ManagedDatabase()

Initializes a new instance of the ManagedDatabase class.

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

Initializes a new instance of the ManagedDatabase 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.

Id

Gets resource ID.

(Inherited from Resource)
Location

Gets or sets resource location.

(Inherited from TrackedResource)
Name

Gets resource name.

(Inherited from Resource)
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.

(Inherited from TrackedResource)
Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to