Share via


GremlinGraphResourceInfo Class

Definition

Cosmos DB Gremlin graph resource object.

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

Constructors

GremlinGraphResourceInfo(String)

Initializes a new instance of GremlinGraphResourceInfo.

Properties

AnalyticalStorageTtl

Analytical TTL.

ConflictResolutionPolicy

The conflict resolution policy for the graph.

CreateMode

Enum to indicate the mode of resource creation.

DefaultTtl

Default time to live.

GraphName

Name of the Cosmos DB Gremlin graph.

IndexingPolicy

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph.

PartitionKey

The configuration of the partition key to be used for partitioning data into multiple partitions.

RestoreParameters

Parameters to indicate the information about the restore.

UniqueKeys

List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GremlinGraphResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GremlinGraphResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GremlinGraphResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GremlinGraphResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GremlinGraphResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to