Condividi tramite


CosmosDBSqlDatabaseResourceInfo Class

Definition

Cosmos DB SQL database resource object.

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

Constructors

CosmosDBSqlDatabaseResourceInfo(String)

Initializes a new instance of CosmosDBSqlDatabaseResourceInfo.

Properties

CreateMode

Enum to indicate the mode of resource creation.

DatabaseName

Name of the Cosmos DB SQL database.

RestoreParameters

Parameters to indicate the information about the restore.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlDatabaseResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBSqlDatabaseResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlDatabaseResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlDatabaseResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBSqlDatabaseResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to