你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MongoDBCollectionResource interface

Cosmos DB MongoDB 集合资源对象

属性

analyticalStorageTtl

分析 TTL。

createMode

用于指示资源创建模式的枚举。

id

Cosmos DB MongoDB 集合的名称

indexes

索引键列表

restoreParameters

指示有关还原的信息的参数

shardKey

要为请求应用的分片键的键值对。

属性详细信息

analyticalStorageTtl

分析 TTL。

analyticalStorageTtl?: number

属性值

number

createMode

用于指示资源创建模式的枚举。

createMode?: string

属性值

string

id

Cosmos DB MongoDB 集合的名称

id: string

属性值

string

indexes

索引键列表

indexes?: MongoIndex[]

属性值

restoreParameters

指示有关还原的信息的参数

restoreParameters?: ResourceRestoreParameters

属性值

shardKey

要为请求应用的分片键的键值对。

shardKey?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}