ManagedDatabase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A managed database resource.
[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagedDatabase : Microsoft.Azure.Management.Sql.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ManagedDatabase = class
inherit TrackedResource
Public Class ManagedDatabase
Inherits TrackedResource
- Inheritance
- Attributes
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, String, Nullable<Boolean>, String) |
Initializes a new instance of the ManagedDatabase 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. |
Id |
Gets resource ID. (Inherited from Resource) |
LastBackupName |
Gets or sets last backup file name for restore of this managed database. |
Location |
Gets or sets resource location. (Inherited from TrackedResource) |
LongTermRetentionBackupResourceId |
Gets or sets the name of the Long Term Retention backup to be used for restore of this managed database. |
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', '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. (Inherited from TrackedResource) |
Type |
Gets resource type. (Inherited from Resource) |
Methods
Validate() |
Validate the object. |