Table of Contents

Class UniqueKey

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.

public class UniqueKey
Inheritance
UniqueKey
Inherited Members

Constructors

UniqueKey()

Initializes a new instance of the UniqueKey class.

public UniqueKey()

UniqueKey(IList<string>)

Initializes a new instance of the UniqueKey class.

public UniqueKey(IList<string> paths = null)

Parameters

paths IList<string>

List of paths must be unique for each document in the Azure Cosmos DB service

Properties

Paths

Gets or sets list of paths must be unique for each document in the Azure Cosmos DB service

public IList<string> Paths { get; set; }

Property Value

IList<string>