Table of Contents

Interface IWithCompositeIndexes<ParentT>

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Update
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The stage of the indexing policy update allowing to set composite indexes.

public interface IWithCompositeIndexes<ParentT>

Type Parameters

ParentT

The stage of the parent update to return to after attaching this update.

Methods

WithCompositeIndex(IList<CompositePath>)

Specifies a composite index.

IWithAttach<ParentT> WithCompositeIndex(IList<CompositePath> compositePath)

Parameters

compositePath IList<CompositePath>

One of the composite path.

Returns

IWithAttach<ParentT>

The next stage of the update.

WithCompositeIndexesAppend(IList<IList<CompositePath>>)

Appends composite indexes.

IWithAttach<ParentT> WithCompositeIndexesAppend(IList<IList<CompositePath>> compositePaths)

Parameters

compositePaths IList<IList<CompositePath>>

The list of the composite path.

Returns

IWithAttach<ParentT>

The next stage of the update.

WithCompositeIndexesReplace(IList<IList<CompositePath>>)

Replaces the composite indexes.

IWithAttach<ParentT> WithCompositeIndexesReplace(IList<IList<CompositePath>> compositePaths)

Parameters

compositePaths IList<IList<CompositePath>>

The list of the composite path.

Returns

IWithAttach<ParentT>

The next stage of the update.

WithNewCompositeIndexList()

Specifies a composite index empty list to set every composite path.

IWithCompositeIndexList<ParentT> WithNewCompositeIndexList()

Returns

IWithCompositeIndexList<ParentT>

The next stage of the update.

WithoutCompositeIndexes()

Removes all composite indexes.

IWithAttach<ParentT> WithoutCompositeIndexes()

Returns

IWithAttach<ParentT>

The next stage of the update.