IWithSpatialIndexes<ParentT>.WithSpatialIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithSpatialIndex(SpatialSpec) |
Specifies a spatial index. |
WithSpatialIndex(String, SpatialType[]) |
Specifies a spatial index. |
WithSpatialIndex(SpatialSpec)
Specifies a spatial index.
public Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<ParentT> WithSpatialIndex (Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialSpec spatialSpec);
abstract member WithSpatialIndex : Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialSpec -> Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<'ParentT>
Public Function WithSpatialIndex (spatialSpec As SpatialSpec) As IWithAttach(Of ParentT)
Parameters
- spatialSpec
- SpatialSpec
One of the spatial spec.
Returns
The next stage of the definition.
Applies to
WithSpatialIndex(String, SpatialType[])
Specifies a spatial index.
public Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<ParentT> WithSpatialIndex (string path, params Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialType[] types);
abstract member WithSpatialIndex : string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialType[] -> Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<'ParentT>
Public Function WithSpatialIndex (path As String, ParamArray types As SpatialType()) As IWithAttach(Of ParentT)
Parameters
- path
- String
The path of the spatial index.
- types
- SpatialType[]
The types of the spatial index.
Returns
The next stage of the definition.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET