ManagedDatabaseData 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 class representing the ManagedDatabase data model. A managed database resource.
public class ManagedDatabaseData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.ManagedDatabaseData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.ManagedDatabaseData>
type ManagedDatabaseData = class
inherit TrackedResourceData
interface IJsonModel<ManagedDatabaseData>
interface IPersistableModel<ManagedDatabaseData>
Public Class ManagedDatabaseData
Inherits TrackedResourceData
Implements IJsonModel(Of ManagedDatabaseData), IPersistableModel(Of ManagedDatabaseData)
- Inheritance
- Implements
Constructors
ManagedDatabaseData(AzureLocation) |
Initializes a new instance of ManagedDatabaseData. |
Properties
AllowAutoCompleteRestore |
Whether to auto complete restore of this managed database. |
CatalogCollation |
Collation of the metadata catalog. |
Collation |
Collation of the managed database. |
CreatedOn |
Creation date of the database. |
CreateMode |
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). |
CrossSubscriptionRestorableDroppedDatabaseId |
The restorable cross-subscription dropped database resource id to restore when creating this database. |
CrossSubscriptionSourceDatabaseId |
The resource identifier of the cross-subscription source database associated with create operation of this database. |
CrossSubscriptionTargetManagedInstanceId |
Target managed instance id used in cross-subscription restore. |
DefaultSecondaryLocation |
Geo paired region. |
EarliestRestorePoint |
Earliest restore point in time for point in time restore. |
FailoverGroupId |
Instance Failover Group resource identifier that this managed database belongs to. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
IsLedgerOn |
Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. |
LastBackupName |
Last backup file name for restore of this managed database. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
LongTermRetentionBackupResourceId |
The name of the Long Term Retention backup to be used for restore of this managed database. |
Name |
The name of the resource. (Inherited from ResourceData) |
RecoverableDatabaseId |
The resource identifier of the recoverable database associated with create operation of this database. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
RestorableDroppedDatabaseId |
The restorable dropped database resource id to restore when creating this database. |
RestorePointInTime |
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 |
The resource identifier of the source database associated with create operation of this database. |
Status |
Status of the database. |
StorageContainerIdentity |
Conditional. If createMode is RestoreExternalBackup, this value is used. Specifies the identity used for storage container authentication. Can be 'SharedAccessSignature' or 'ManagedIdentity'; if not specified 'SharedAccessSignature' is assumed. |
StorageContainerSasToken |
Conditional. If createMode is RestoreExternalBackup and storageContainerIdentity is not ManagedIdentity, this value is required. Specifies the storage container sas token. |
StorageContainerUri |
Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from TrackedResourceData) |
Explicit Interface Implementations
IJsonModel<ManagedDatabaseData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ManagedDatabaseData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ManagedDatabaseData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ManagedDatabaseData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ManagedDatabaseData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET