Share via


MongoDBCollectionGetPropertiesResource Constructors

Definition

Overloads

MongoDBCollectionGetPropertiesResource()

Initializes a new instance of the MongoDBCollectionGetPropertiesResource class.

MongoDBCollectionGetPropertiesResource(String, IDictionary<String,String>, IList<MongoIndex>, Nullable<Int32>, String, Nullable<Double>, String)

Initializes a new instance of the MongoDBCollectionGetPropertiesResource class.

MongoDBCollectionGetPropertiesResource()

Initializes a new instance of the MongoDBCollectionGetPropertiesResource class.

public MongoDBCollectionGetPropertiesResource ();
Public Sub New ()

Applies to

MongoDBCollectionGetPropertiesResource(String, IDictionary<String,String>, IList<MongoIndex>, Nullable<Int32>, String, Nullable<Double>, String)

Initializes a new instance of the MongoDBCollectionGetPropertiesResource class.

public MongoDBCollectionGetPropertiesResource (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, string _rid = default, double? _ts = default, string _etag = default);
new Microsoft.Azure.Management.CosmosDB.Models.MongoDBCollectionGetPropertiesResource : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.MongoIndex> * Nullable<int> * string * Nullable<double> * string -> Microsoft.Azure.Management.CosmosDB.Models.MongoDBCollectionGetPropertiesResource
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, Optional _rid As String = Nothing, Optional _ts As Nullable(Of Double) = Nothing, Optional _etag As String = 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

analyticalStorageTtl
Nullable<Int32>

Analytical TTL.

_rid
String

A system generated property. A unique identifier.

_ts
Nullable<Double>

A system generated property that denotes the last updated timestamp of the resource.

_etag
String

A system generated property representing the resource etag required for optimistic concurrency control.

Applies to