Condividi tramite


IWithSpatialIndexes<ParentT>.WithSpatialIndex Method

Definition

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