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.Update.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.Update.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 update.
Applies to
WithSpatialIndex(String, SpatialType[])
Specifies a spatial index.
public Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Update.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.Update.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 update.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET