Share via


GremlinGraphResource Class

Definition

Cosmos DB Gremlin graph resource object

public class GremlinGraphResource
type GremlinGraphResource = class
Public Class GremlinGraphResource
Inheritance
GremlinGraphResource

Constructors

GremlinGraphResource()

Initializes a new instance of the GremlinGraphResource class.

GremlinGraphResource(String, IndexingPolicy, ContainerPartitionKey, Nullable<Int32>, UniqueKeyPolicy, ConflictResolutionPolicy)

Initializes a new instance of the GremlinGraphResource class.

Properties

ConflictResolutionPolicy

Gets or sets the conflict resolution policy for the graph.

DefaultTtl

Gets or sets default time to live

Id

Gets or sets name of the Cosmos DB Gremlin graph

IndexingPolicy

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

PartitionKey

Gets or sets the configuration of the partition key to be used for partitioning data into multiple partitions

UniqueKeyPolicy

Gets or sets the unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.

Methods

Validate()

Validate the object.

Applies to