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>, Nullable<Int32>) |
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>, Nullable<Int32>)
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.Models.MongoIndex> indexes = default, int? analyticalStorageTtl = default);
new Microsoft.Azure.Management.CosmosDB.Models.MongoDBCollectionResource : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.MongoIndex> * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Models.MongoDBCollectionResource
Public Sub New (id As String, Optional shardKey As IDictionary(Of String, String) = Nothing, Optional indexes As IList(Of MongoIndex) = Nothing, Optional analyticalStorageTtl As Nullable(Of Integer) = 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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET