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

IUpdate 接口

定义

整个 mongo 集合更新作为父 cosmos db 帐户更新的一部分。

public interface IUpdate : Microsoft.Azure.Management.CosmosDB.Fluent.HasOptions.Update.IWithOptions<Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Update.IUpdate>, Microsoft.Azure.Management.CosmosDB.Fluent.HasThroughputSettings.Update.IWithThroughput<Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Update.IUpdate>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Update.IWithIndex, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Update.IWithOptions, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Update.IWithShardKey, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Update.IWithThroughput, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<Microsoft.Azure.Management.CosmosDB.Fluent.MongoDB.Update.IUpdate>
type IUpdate = interface
    interface ISettable<IUpdate>
    interface IWithOptions
    interface IWithOptions<IUpdate>
    interface IWithThroughput
    interface IWithThroughput<IUpdate>
    interface IWithShardKey
    interface IWithIndex
Public Interface IUpdate
Implements ISettable(Of IUpdate), IWithIndex, IWithOptions, IWithOptions(Of IUpdate), IWithShardKey, IWithThroughput, IWithThroughput(Of IUpdate)
实现

方法

Parent()

整个 mongo 集合更新作为父 cosmos db 帐户更新的一部分。

(继承自 ISettable<ParentT>)
WithIndex(MongoIndex)

指定 mongo 索引。

(继承自 IWithIndex)
WithIndex(MongoIndexKeys, MongoIndexOptions)

指定 mongo 索引。

(继承自 IWithIndex)
WithIndexesAppend(IList<MongoIndex>)

将所有 mongo 索引追加到当前索引。

(继承自 IWithIndex)
WithIndexesReplace(IList<MongoIndex>)

替换 mongo 索引。

(继承自 IWithIndex)
WithOption(String, String)

指定选项。

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

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

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

将当前选项替换为新选项。

(继承自 IWithOptions<ReturnT>)
WithoutIndexes()

删除所有 mongo 索引。

(继承自 IWithIndex)
WithoutOption(String)

删除选项。

(继承自 IWithOptions<ReturnT>)
WithoutOptions()

删除所有选项。

(继承自 IWithOptions<ReturnT>)
WithoutShardKey(String)

删除分片键。

(继承自 IWithShardKey)
WithoutShardKeys()

删除所有分片键。

(继承自 IWithShardKey)
WithShardKey(String)

指定默认分区类型为“Hash”的分片键。

(继承自 IWithShardKey)
WithShardKey(String, String)

指定分片键。

(继承自 IWithShardKey)
WithShardKeys(IDictionary<String,String>)

将所有分片键追加到当前分片键。

(继承自 IWithShardKey)
WithThroughput(Int32)

指定吞吐量值。

(继承自 IWithThroughput<ReturnT>)

适用于