Delen via


IWithUniqueKeyPolicy<ParentT>.WithUniqueKey Method

Definition

Overloads

WithUniqueKey(UniqueKey)

Specifies a unique key appended to original list.

WithUniqueKey(String[])

Specifies a unique key appended to original list.

WithUniqueKey(UniqueKey)

Specifies a unique key appended to original list.

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

Parameters

uniqueKey
UniqueKey

A unique key.

Returns

The next stage of the definition.

Applies to

WithUniqueKey(String[])

Specifies a unique key appended to original list.

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT> WithUniqueKey (params string[] paths);
abstract member WithUniqueKey : string[] -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<'ParentT>
Public Function WithUniqueKey (ParamArray paths As String()) As IWithAttach(Of ParentT)

Parameters

paths
String[]

The paths of the unique key.

Returns

The next stage of the definition.

Applies to