Table of Contents

Class GremlinGraphGetPropertiesResource

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll
public class GremlinGraphGetPropertiesResource
Inheritance
GremlinGraphGetPropertiesResource
Inherited Members

Constructors

GremlinGraphGetPropertiesResource()

Initializes a new instance of the GremlinGraphGetPropertiesResource class.

public GremlinGraphGetPropertiesResource()

GremlinGraphGetPropertiesResource(string, IndexingPolicy, ContainerPartitionKey, int?, UniqueKeyPolicy, ConflictResolutionPolicy, string, object, string)

Initializes a new instance of the GremlinGraphGetPropertiesResource class.

public GremlinGraphGetPropertiesResource(string id, IndexingPolicy indexingPolicy = null, ContainerPartitionKey partitionKey = null, int? defaultTtl = null, UniqueKeyPolicy uniqueKeyPolicy = null, ConflictResolutionPolicy conflictResolutionPolicy = null, string _rid = null, object _ts = null, string _etag = null)

Parameters

id string

Name of the Cosmos DB Gremlin graph

indexingPolicy IndexingPolicy

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

partitionKey ContainerPartitionKey

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

defaultTtl int?

Default time to live

uniqueKeyPolicy UniqueKeyPolicy

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

conflictResolutionPolicy ConflictResolutionPolicy

The conflict resolution policy for the graph.

_rid string

A system generated property. A unique identifier.

_ts object

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

_etag string

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

Properties

ConflictResolutionPolicy

Gets or sets the conflict resolution policy for the graph.

public ConflictResolutionPolicy ConflictResolutionPolicy { get; set; }

Property Value

ConflictResolutionPolicy

DefaultTtl

Gets or sets default time to live

public int? DefaultTtl { get; set; }

Property Value

int?

Id

Gets or sets name of the Cosmos DB Gremlin graph

public string Id { get; set; }

Property Value

string

IndexingPolicy

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

public IndexingPolicy IndexingPolicy { get; set; }

Property Value

IndexingPolicy

PartitionKey

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

public ContainerPartitionKey PartitionKey { get; set; }

Property Value

ContainerPartitionKey

UniqueKeyPolicy

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

public UniqueKeyPolicy UniqueKeyPolicy { get; set; }

Property Value

UniqueKeyPolicy

_etag

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

public string _etag { get; }

Property Value

string

_rid

Gets a system generated property. A unique identifier.

public string _rid { get; }

Property Value

string

_ts

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

public object _ts { get; }

Property Value

object

Methods

Validate()

Validate the object.

public virtual void Validate()

Exceptions

Microsoft.Rest.ValidationException

Thrown if validation fails