Class UniqueKeyPolicy
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
public class UniqueKeyPolicy
- Inheritance
-
UniqueKeyPolicy
- Inherited Members
Constructors
UniqueKeyPolicy()
Initializes a new instance of the UniqueKeyPolicy class.
public UniqueKeyPolicy()
UniqueKeyPolicy(IList<UniqueKey>)
Initializes a new instance of the UniqueKeyPolicy class.
public UniqueKeyPolicy(IList<UniqueKey> uniqueKeys = null)
Parameters
uniqueKeys
IList<UniqueKey>List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
Properties
UniqueKeys
Gets or sets list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
public IList<UniqueKey> UniqueKeys { get; set; }