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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET