다음을 통해 공유


ManagedDatabaseInner Class

Definition

A managed database resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagedDatabaseInner : Microsoft.Azure.Management.Sql.Fluent.Models.TrackedResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ManagedDatabaseInner = class
    inherit TrackedResourceInner
Public Class ManagedDatabaseInner
Inherits TrackedResourceInner
Inheritance
Attributes

Constructors

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.

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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
Name

Resource name

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

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object.

Applies to