IndexingPolicyDefinition<T> Class

Definition

Indexing Policy fluent definition.

public class IndexingPolicyDefinition<T>
type IndexingPolicyDefinition<'T> = class
Public Class IndexingPolicyDefinition(Of T)

Type Parameters

T
Inheritance
IndexingPolicyDefinition<T>

Constructors

IndexingPolicyDefinition<T>()

Creates an instance for unit-testing

Methods

Attach()

Applies the current definition to the parent.

WithAutomaticIndexing(Boolean)

Defines the CosmosContainer's automatic indexing.

WithCompositeIndex()

Defines a Composite Index in the current CosmosContainer's definition.

WithExcludedPaths()

Defines the CosmosContainer's ExcludedPaths.

WithIncludedPaths()

Defines the CosmosContainer's IncludedPaths.

WithIndexingMode(IndexingMode)

Defines the CosmosContainer's IndexingMode.

WithSpatialIndex()

Defines a Azure.Cosmos.SpatialIndex in the current CosmosContainer's definition.

Applies to

See also