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

IWithAttach<ParentT> 接口

定义

SQL 容器定义的最后一个阶段。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.CosmosDB.Fluent.HasOptions.Definition.IWithOptions<Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.CosmosDB.Fluent.HasThroughputSettings.Definition.IWithThroughput<Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithChildResource<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithConflictResolutionPolicy<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithDefaultTtl<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithIndexingPolicy<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithOptions<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithPartitionKey<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithThroughput<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithUniqueKeyPolicy<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInDefinition<'ParentT>
    interface IWithOptions<'ParentT>
    interface IWithOptions<IWithAttach<'ParentT>>
    interface IWithThroughput<'ParentT>
    interface IWithThroughput<IWithAttach<'ParentT>>
    interface IWithIndexingPolicy<'ParentT>
    interface IWithPartitionKey<'ParentT>
    interface IWithDefaultTtl<'ParentT>
    interface IWithUniqueKeyPolicy<'ParentT>
    interface IWithConflictResolutionPolicy<'ParentT>
    interface IWithChildResource<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IInDefinition(Of ParentT), IWithChildResource(Of ParentT), IWithConflictResolutionPolicy(Of ParentT), IWithDefaultTtl(Of ParentT), IWithIndexingPolicy(Of ParentT), IWithOptions(Of IWithAttach(Of ParentT)), IWithOptions(Of ParentT), IWithPartitionKey(Of ParentT), IWithThroughput(Of IWithAttach(Of ParentT)), IWithThroughput(Of ParentT), IWithUniqueKeyPolicy(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Attach()

SQL 容器定义的最后一个阶段。

(继承自 IInDefinition<ParentT>)
DefineIndexingPolicy()

启动索引策略的定义。

(继承自 IWithIndexingPolicy<ParentT>)
WithConflictResolutionPath(ConflictResolutionMode, String)

使用冲突解决路径指定冲突解决策略。

(继承自 IWithConflictResolutionPolicy<ParentT>)
WithConflictResolutionPolicy(ConflictResolutionPolicy)

指定冲突解决策略。

(继承自 IWithConflictResolutionPolicy<ParentT>)
WithConflictResolutionProcedure(ConflictResolutionMode, String)

使用冲突解决过程指定冲突解决策略。

(继承自 IWithConflictResolutionPolicy<ParentT>)
WithDefaultTtl(Int32)

指定默认生存时间。

(继承自 IWithDefaultTtl<ParentT>)
WithIndexingPolicy(IndexingPolicy)

指定索引策略。

(继承自 IWithIndexingPolicy<ParentT>)
WithOption(String, String)

指定选项。

(继承自 IWithOptions<ReturnT>)
WithOptionsAppend(IDictionary<String,String>)

将所有选项追加到当前选项。

(继承自 IWithOptions<ReturnT>)
WithPartitionKey(ContainerPartitionKey)

指定容器分区键。

(继承自 IWithPartitionKey<ParentT>)
WithPartitionKey(PartitionKind, Nullable<Int32>)

指定容器分区键。

(继承自 IWithPartitionKey<ParentT>)
WithPartitionKeyPath(String[])

指定容器分区键路径。

(继承自 IWithPartitionKey<ParentT>)
WithStoredProcedure(String, SqlStoredProcedureResource, CreateUpdateOptions)

指定存储过程。

(继承自 IWithChildResource<ParentT>)
WithStoredProcedure(String, String, CreateUpdateOptions)

指定存储过程。

(继承自 IWithChildResource<ParentT>)
WithThroughput(Int32)

指定吞吐量值。

(继承自 IWithThroughput<ReturnT>)
WithTrigger(String, SqlTriggerResource, CreateUpdateOptions)

指定触发器。

(继承自 IWithChildResource<ParentT>)
WithTrigger(String, String, TriggerType, TriggerOperation, CreateUpdateOptions)

指定触发器。

(继承自 IWithChildResource<ParentT>)
WithUniqueKey(String[])

指定追加到原始列表的唯一键。

(继承自 IWithUniqueKeyPolicy<ParentT>)
WithUniqueKey(UniqueKey)

指定追加到原始列表的唯一键。

(继承自 IWithUniqueKeyPolicy<ParentT>)
WithUniqueKeyPolicy(UniqueKeyPolicy)

指定唯一密钥策略。

(继承自 IWithUniqueKeyPolicy<ParentT>)
WithUniqueKeys(IList<UniqueKey>)

指定唯一键的列表。

(继承自 IWithUniqueKeyPolicy<ParentT>)
WithUserDefinedFunction(String, SqlUserDefinedFunctionResource, CreateUpdateOptions)

指定用户定义的函数。

(继承自 IWithChildResource<ParentT>)
WithUserDefinedFunction(String, String, CreateUpdateOptions)

指定用户定义的函数。

(继承自 IWithChildResource<ParentT>)

适用于