Share via


GremlinDatabaseResourceInfo Class

Definition

Cosmos DB Gremlin database resource object.

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

Constructors

GremlinDatabaseResourceInfo(String)

Initializes a new instance of GremlinDatabaseResourceInfo.

Properties

CreateMode

Enum to indicate the mode of resource creation.

DatabaseName

Name of the Cosmos DB Gremlin database.

RestoreParameters

Parameters to indicate the information about the restore.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GremlinDatabaseResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GremlinDatabaseResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GremlinDatabaseResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GremlinDatabaseResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GremlinDatabaseResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to