你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ThroughputProperties 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 Azure Cosmos DB 服务中资源的吞吐量。 它是 Azure Cosmos DB 服务中资源的标准定价。
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonThroughputPropertiesConverter))]
public class ThroughputProperties
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Cosmos.TextJsonThroughputPropertiesConverter))>]
type ThroughputProperties = class
Public Class ThroughputProperties
- 继承
-
ThroughputProperties
- 属性
示例
以下示例提取 testContainer 上的 ThroughputProperties。
ThroughputProperties throughputProperties = await testContainer.ReadThroughputAsync().Value;
注解
它包含预配的容器吞吐量,用于测量 Azure Cosmos 服务中每秒的请求单位数。 有关预配产品/服务吞吐量的详细信息, http://azure.microsoft.com/documentation/articles/documentdb-performance-levels/ 请参阅 。
构造函数
ThroughputProperties() |
表示 Azure Cosmos DB 服务中资源的吞吐量。 它是 Azure Cosmos DB 服务中资源的标准定价。 |
属性
ETag |
从 Azure Cosmos DB 服务中获取与资源关联的实体标记。 |
LastModified |
从 Azure Cosmos DB 服务中获取与 DatabaseProperties 关联的上次修改时间戳。 |
Throughput |
获取资源的预配吞吐量,以度量 Azure Cosmos 服务中的每秒请求单位数。 |