共用方式為


IWithSpatialIndexes<ParentT>.WithSpatialIndexes Method

Definition

Specifies the spatial indexes.

public Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<ParentT> WithSpatialIndexes (System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialSpec> spatialSpecs);
abstract member WithSpatialIndexes : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialSpec> -> Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<'ParentT>
Public Function WithSpatialIndexes (spatialSpecs As IList(Of SpatialSpec)) As IWithAttach(Of ParentT)

Parameters

spatialSpecs
IList<SpatialSpec>

The list of the spatial spec.

Returns

The next stage of the definition.

Applies to