Dela via


IWithUniqueKeyPolicy<ParentT>.WithUniqueKeyPolicy Method

Definition

Specifies the unique key policy.

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT> WithUniqueKeyPolicy (Microsoft.Azure.Management.CosmosDB.Fluent.Models.UniqueKeyPolicy uniqueKeyPolicy);
abstract member WithUniqueKeyPolicy : Microsoft.Azure.Management.CosmosDB.Fluent.Models.UniqueKeyPolicy -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<'ParentT>
Public Function WithUniqueKeyPolicy (uniqueKeyPolicy As UniqueKeyPolicy) As IWithAttach(Of ParentT)

Parameters

uniqueKeyPolicy
UniqueKeyPolicy

The whole object of the unique key policy.

Returns

The next stage of the definition.

Applies to