次の方法で共有


MongoDBCollectionResource コンストラクター

定義

オーバーロード

MongoDBCollectionResource()

MongoDBCollectionResource クラスの新しいインスタンスを初期化します。

MongoDBCollectionResource(String, IDictionary<String,String>, IList<MongoIndex>)

MongoDBCollectionResource クラスの新しいインスタンスを初期化します。

MongoDBCollectionResource()

MongoDBCollectionResource クラスの新しいインスタンスを初期化します。

public MongoDBCollectionResource ();
Public Sub New ()

適用対象

MongoDBCollectionResource(String, IDictionary<String,String>, IList<MongoIndex>)

MongoDBCollectionResource クラスの新しいインスタンスを初期化します。

public MongoDBCollectionResource (string id, System.Collections.Generic.IDictionary<string,string> shardKey = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndex> indexes = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoDBCollectionResource : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoIndex> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.MongoDBCollectionResource
Public Sub New (id As String, Optional shardKey As IDictionary(Of String, String) = Nothing, Optional indexes As IList(Of MongoIndex) = Nothing)

パラメーター

id
String

Cosmos DB MongoDB コレクションの名前

shardKey
IDictionary<String,String>

要求に適用されるシャード キーのキーと値のペア。

indexes
IList<MongoIndex>

インデックス キーの一覧

適用対象