Share via


RestorableSqlDatabasePropertiesResourceDatabase Class

Definition

Cosmos DB SQL database resource object.

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

Constructors

RestorableSqlDatabasePropertiesResourceDatabase(String)

Initializes a new instance of RestorableSqlDatabasePropertiesResourceDatabase.

Properties

Colls

A system generated property that specified the addressable path of the collections resource.

CreateMode

Enum to indicate the mode of resource creation.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
DatabaseName

Name of the Cosmos DB SQL database.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
ETag

A system generated property representing the resource etag required for optimistic concurrency control.

RestoreParameters

Parameters to indicate the information about the restore.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
Rid

A system generated property. A unique identifier.

Self

A system generated property that specifies the addressable path of the database resource.

Timestamp

A system generated property that denotes the last updated timestamp of the resource.

Users

A system generated property that specifies the addressable path of the users resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CosmosDBSqlDatabaseResourceInfo)

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.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
IJsonModel<CosmosDBSqlDatabaseResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
IJsonModel<RestorableSqlDatabasePropertiesResourceDatabase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestorableSqlDatabasePropertiesResourceDatabase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlDatabaseResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
IPersistableModel<CosmosDBSqlDatabaseResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CosmosDBSqlDatabaseResourceInfo)
IPersistableModel<CosmosDBSqlDatabaseResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CosmosDBSqlDatabaseResourceInfo)
IPersistableModel<RestorableSqlDatabasePropertiesResourceDatabase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestorableSqlDatabasePropertiesResourceDatabase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestorableSqlDatabasePropertiesResourceDatabase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to