共用方式為


ExtendedRestorableSqlDatabaseResourceInfo Class

Definition

The resource of an Azure Cosmos DB SQL database event.

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

Properties

CanUndelete

A state of this database to identify if this database is restorable in same account.

CanUndeleteReason

The reason why this database can not be restored in same account.

Database

Cosmos DB SQL database resource object.

DatabaseId

The resource ID of the SQL database.

DatabaseName

The name of the SQL database.

EventTimestamp

The time when this database event happened.

OperationType

The operation type of this database event.

Rid

A system generated property. A unique identifier.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExtendedRestorableSqlDatabaseResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExtendedRestorableSqlDatabaseResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExtendedRestorableSqlDatabaseResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExtendedRestorableSqlDatabaseResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExtendedRestorableSqlDatabaseResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to