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

MongoDBCollectionGetPropertiesResource interface

Cosmos DB MongoDB 集合资源对象

扩展

继承属性

analyticalStorageTtl

分析 TTL。

createMode

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

etag

表示乐观并发控制所需的资源 etag 的系统生成属性。 注意:此属性不会序列化。 它只能由服务器填充。

id

Cosmos DB MongoDB 集合的名称

indexes

索引键列表

restoreParameters

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

rid

系统生成的属性。 唯一标识符。 注意:此属性不会序列化。 它只能由服务器填充。

shardKey

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

ts

一个系统生成的属性,该属性表示资源的上次更新时间戳。 注意:此属性不会序列化。 它只能由服务器填充。

继承属性详细信息

analyticalStorageTtl

分析 TTL。

analyticalStorageTtl?: number

属性值

number

继承自 MongoDBCollectionResource.分析StorageTtl

createMode

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

createMode?: string

属性值

string

继承自MongoDBCollectionResource.createMode

etag

表示乐观并发控制所需的资源 etag 的系统生成属性。 注意:此属性不会序列化。 它只能由服务器填充。

etag?: string

属性值

string

继承自 ExtendedResourceProperties.etag

id

Cosmos DB MongoDB 集合的名称

id: string

属性值

string

继承自 MongoDBCollectionResource.id

indexes

索引键列表

indexes?: MongoIndex[]

属性值

继承自MongoDBCollectionResource.indexes

restoreParameters

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

restoreParameters?: ResourceRestoreParameters

属性值

继承自MongoDBCollectionResource.restoreParameters

rid

系统生成的属性。 唯一标识符。 注意:此属性不会序列化。 它只能由服务器填充。

rid?: string

属性值

string

继承自 ExtendedResourceProperties.rid

shardKey

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

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

属性值

{[propertyName: string]: string}

继承自MongoDBCollectionResource.shardKey

ts

一个系统生成的属性,该属性表示资源的上次更新时间戳。 注意:此属性不会序列化。 它只能由服务器填充。

ts?: number

属性值

number

继承自 ExtendedResourceProperties.ts