MongoDBCollectionResource Constructors
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
MongoDBCollectionResource() |
Initializes a new instance of the MongoDBCollectionResource class. |
MongoDBCollectionResource(String, IDictionary<String,String>, IList<MongoIndex>) |
Initializes a new instance of the MongoDBCollectionResource class. |
MongoDBCollectionResource()
Initializes a new instance of the MongoDBCollectionResource class.
public MongoDBCollectionResource ();
Public Sub New ()
Applies to
MongoDBCollectionResource(String, IDictionary<String,String>, IList<MongoIndex>)
Initializes a new instance of the MongoDBCollectionResource class.
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)
Parameters
- id
- String
Name of the Cosmos DB MongoDB collection
- shardKey
- IDictionary<String,String>
A key-value pair of shard keys to be applied for the request.
- indexes
- IList<MongoIndex>
List of index keys
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應