Table of Contents

Class MongoIndex

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Cosmos DB MongoDB collection index key

public class MongoIndex
Inheritance
MongoIndex
Inherited Members

Constructors

MongoIndex()

Initializes a new instance of the MongoIndex class.

public MongoIndex()

MongoIndex(MongoIndexKeys, MongoIndexOptions)

Initializes a new instance of the MongoIndex class.

public MongoIndex(MongoIndexKeys key = null, MongoIndexOptions options = null)

Parameters

key MongoIndexKeys

Cosmos DB MongoDB collection index keys

options MongoIndexOptions

Cosmos DB MongoDB collection index key options

Properties

Key

Gets or sets cosmos DB MongoDB collection index keys

public MongoIndexKeys Key { get; set; }

Property Value

MongoIndexKeys

Options

Gets or sets cosmos DB MongoDB collection index key options

public MongoIndexOptions Options { get; set; }

Property Value

MongoIndexOptions