提交请求后,请确保订阅中至少有 1 个 Azure Cosmos DB 帐户。 此帐户可能是现有帐户,也可能是你为了试用预览功能而创建的新帐户。 如果收到请求时你在订阅中没有帐户,则会拒绝请求,因为没有可应用功能的帐户。
Azure Cosmos DB 团队将审核你的请求并通过电子邮件与你联系,以确认订阅中要注册预览版的 Azure Cosmos DB 帐户。 若要使用预览版,必须为 Azure Cosmos DB 帐户配置连续备份。 连续备份可以在允许进入预览版之前或之后启用,但尝试在所有版本和删除模式下读取更改源中的内容之前,必须启用连续备份。
{
"current": {
<The current version of the item that changed. All the properties of your item will appear here.>
},
"metadata": {
"operationType": "create",
"lsn": <A number that represents the batch ID. Many items can have the same lsn.>,
"crts": <A number that represents the Conflict Resolved Timestamp. It has the same format as _ts.>
}
}
替换操作
{
"current": {
<The current version of the item that changed. All the properties of your item will appear here.>
},
"metadata": {
"operationType": "replace",
"lsn": <A number that represents the batch ID. Many items can have the same lsn.>,
"crts": <A number that represents the Conflict Resolved Timestamp. It has the same format as _ts.>,
"previousImageLSN" : <A number that represents the batch ID of the change prior to this one.>,
}
}
删除操作
{
"metadata": {
"operationType": "delete",
"lsn": <A number that represents the batch ID. Many items can have the same lsn.>,
"crts": <A number that represents the Conflict Resolved Timestamp. It has the same format as _ts.>,
"previousImageLSN" : <A number that represents the batch ID of the change prior to this one.>,
"id": "<Id of the deleted item.>",
"partitionKey": {
"<Partition key property name>": "<Partition key property value>"
}
}
}
限制
支持 Azure Cosmos DB for NoSQL 帐户。 不支持其他 Azure Cosmos DB 帐户类型。