Share via


ExtendedRestorableMongoDBDatabaseResourceInfo Class

Definition

The resource of an Azure Cosmos DB MongoDB database event.

public class ExtendedRestorableMongoDBDatabaseResourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableMongoDBDatabaseResourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableMongoDBDatabaseResourceInfo>
type ExtendedRestorableMongoDBDatabaseResourceInfo = class
    interface IJsonModel<ExtendedRestorableMongoDBDatabaseResourceInfo>
    interface IPersistableModel<ExtendedRestorableMongoDBDatabaseResourceInfo>
Public Class ExtendedRestorableMongoDBDatabaseResourceInfo
Implements IJsonModel(Of ExtendedRestorableMongoDBDatabaseResourceInfo), IPersistableModel(Of ExtendedRestorableMongoDBDatabaseResourceInfo)
Inheritance
ExtendedRestorableMongoDBDatabaseResourceInfo
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.

DatabaseId

The resource ID of this MongoDB database.

DatabaseName

The name of this MongoDB 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<ExtendedRestorableMongoDBDatabaseResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExtendedRestorableMongoDBDatabaseResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExtendedRestorableMongoDBDatabaseResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExtendedRestorableMongoDBDatabaseResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExtendedRestorableMongoDBDatabaseResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to