| Package | Description |
|---|---|
| com.azure.resourcemanager.cosmos.models |
Package containing the data models for CosmosDBManagementClient.
|
| Modifier and Type | Method and Description |
|---|---|
MongoIndexOptions |
MongoIndex.options()
Get the options property: Cosmos DB MongoDB collection index key options.
|
MongoIndexOptions |
MongoIndexOptions.withExpireAfterSeconds(Integer expireAfterSeconds)
Set the expireAfterSeconds property: Expire after seconds.
|
MongoIndexOptions |
MongoIndexOptions.withUnique(Boolean unique)
Set the unique property: Is unique or not.
|
| Modifier and Type | Method and Description |
|---|---|
MongoIndex |
MongoIndex.withOptions(MongoIndexOptions options)
Set the options property: Cosmos DB MongoDB collection index key options.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.