共用方式為


MongoDBDatabaseResourceInfo Class

Definition

Cosmos DB MongoDB database resource object.

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

Constructors

MongoDBDatabaseResourceInfo(String)

Initializes a new instance of MongoDBDatabaseResourceInfo.

Properties

CreateMode

Enum to indicate the mode of resource creation.

DatabaseName

Name of the Cosmos DB MongoDB database.

RestoreParameters

Parameters to indicate the information about the restore.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MongoDBDatabaseResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoDBDatabaseResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoDBDatabaseResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBDatabaseResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoDBDatabaseResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to