你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithAttach<ParentT> 接口

定义

索引策略定义的最后一个阶段。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAutomatic<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithCompositeIndexes<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithExcludedPaths<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithIncludedPaths<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithIndexingMode<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithSpatialIndexes<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInDefinition<'ParentT>
    interface IWithAutomatic<'ParentT>
    interface IWithIndexingMode<'ParentT>
    interface IWithIncludedPaths<'ParentT>
    interface IWithExcludedPaths<'ParentT>
    interface IWithCompositeIndexes<'ParentT>
    interface IWithSpatialIndexes<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IInDefinition(Of ParentT), IWithAutomatic(Of ParentT), IWithCompositeIndexes(Of ParentT), IWithExcludedPaths(Of ParentT), IWithIncludedPaths(Of ParentT), IWithIndexingMode(Of ParentT), IWithSpatialIndexes(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

派生
实现

方法

Attach()

索引策略定义的最后一个阶段。

(继承自 IInDefinition<ParentT>)
WithAutomatic(Boolean)

指定自动设置。

(继承自 IWithAutomatic<ParentT>)
WithCompositeIndex(IList<CompositePath>)

指定复合索引。

(继承自 IWithCompositeIndexes<ParentT>)
WithCompositeIndexes(IList<IList<CompositePath>>)

指定复合索引。

(继承自 IWithCompositeIndexes<ParentT>)
WithExcludedPath(ExcludedPath)

指定排除的路径。

(继承自 IWithExcludedPaths<ParentT>)
WithExcludedPath(String)

指定排除的路径。

(继承自 IWithExcludedPaths<ParentT>)
WithExcludedPaths(IList<ExcludedPath>)

指定排除的路径。

(继承自 IWithExcludedPaths<ParentT>)
WithIncludedPath(IncludedPath)

指定包含的路径。

(继承自 IWithIncludedPaths<ParentT>)
WithIncludedPath(String)

指定包含的路径。

(继承自 IWithIncludedPaths<ParentT>)
WithIncludedPaths(IList<IncludedPath>)

指定包含的路径。

(继承自 IWithIncludedPaths<ParentT>)
WithIndexingMode(IndexingMode)

指定索引模式。

(继承自 IWithIndexingMode<ParentT>)
WithNewCompositeIndexList()

指定用于设置每个复合路径的复合索引空列表。

(继承自 IWithCompositeIndexes<ParentT>)
WithSpatialIndex(SpatialSpec)

指定空间索引。

(继承自 IWithSpatialIndexes<ParentT>)
WithSpatialIndex(String, SpatialType[])

指定空间索引。

(继承自 IWithSpatialIndexes<ParentT>)
WithSpatialIndexes(IList<SpatialSpec>)

指定空间索引。

(继承自 IWithSpatialIndexes<ParentT>)

适用于