MongoDBCollectionResourceArgs

data class MongoDBCollectionResourceArgs(val analyticalStorageTtl: Output<Int>? = null, val id: Output<String>, val indexes: Output<List<MongoIndexArgs>>? = null, val shardKey: Output<Map<String, String>>? = null) : ConvertibleToJava<MongoDBCollectionResourceArgs>

Cosmos DB MongoDB collection resource object

Constructors

Link copied to clipboard
constructor(analyticalStorageTtl: Output<Int>? = null, id: Output<String>, indexes: Output<List<MongoIndexArgs>>? = null, shardKey: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val analyticalStorageTtl: Output<Int>? = null

Analytical TTL.

Link copied to clipboard
val id: Output<String>

Name of the Cosmos DB MongoDB collection

Link copied to clipboard
val indexes: Output<List<MongoIndexArgs>>? = null

List of index keys

Link copied to clipboard
val shardKey: Output<Map<String, String>>? = null

A key-value pair of shard keys to be applied for the request.

Functions

Link copied to clipboard
open override fun toJava(): MongoDBCollectionResourceArgs