Interface IWithSpatialIndexes<ParentT>
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The stage of the indexing policy definition allowing to set spatial indexes.
public interface IWithSpatialIndexes<ParentT>
Type Parameters
ParentT
The stage of the parent definition to return to after attaching this definition.
Methods
WithSpatialIndex(SpatialSpec)
Specifies a spatial index.
IWithAttach<ParentT> WithSpatialIndex(SpatialSpec spatialSpec)
Parameters
spatialSpec
SpatialSpecOne of the spatial spec.
Returns
- IWithAttach<ParentT>
The next stage of the definition.
WithSpatialIndex(string, params SpatialType[])
Specifies a spatial index.
IWithAttach<ParentT> WithSpatialIndex(string path, params SpatialType[] types)
Parameters
path
stringThe path of the spatial index.
types
SpatialType[]The types of the spatial index.
Returns
- IWithAttach<ParentT>
The next stage of the definition.
WithSpatialIndexes(IList<SpatialSpec>)
Specifies the spatial indexes.
IWithAttach<ParentT> WithSpatialIndexes(IList<SpatialSpec> spatialSpecs)
Parameters
spatialSpecs
IList<SpatialSpec>The list of the spatial spec.
Returns
- IWithAttach<ParentT>
The next stage of the definition.