共用方式為


ManagedDatabasePatch Class

Definition

An managed database update.

public class ManagedDatabasePatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.ManagedDatabasePatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.ManagedDatabasePatch>
type ManagedDatabasePatch = class
    interface IJsonModel<ManagedDatabasePatch>
    interface IPersistableModel<ManagedDatabasePatch>
Public Class ManagedDatabasePatch
Implements IJsonModel(Of ManagedDatabasePatch), IPersistableModel(Of ManagedDatabasePatch)
Inheritance
ManagedDatabasePatch
Implements

Constructors

ManagedDatabasePatch()

Initializes a new instance of ManagedDatabasePatch.

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.

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.

LongTermRetentionBackupResourceId

The name of the Long Term Retention backup to be used for restore of this managed database.

RecoverableDatabaseId

The resource identifier of the recoverable database associated with create operation of this database.

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.

Tags

Resource tags.

Explicit Interface Implementations

IJsonModel<ManagedDatabasePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedDatabasePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedDatabasePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedDatabasePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedDatabasePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to