Azure Cosmos DB: ID-based routing

2015年8月14日

The ID-based routing update for Azure Cosmos DB adds support for using an alternate link to address resources via REST, a link composed of IDs that you supplied when you created the resource. Until now, all resources in Azure Cosmos DB were reachable via the _self property or a SelfLink. A SelfLink is made up of immutable _rid properties or resource IDs. With this update, you can use a URI that contains ID properties instead of the resource ID. These updates are available in Azure Cosmos DB .NET SDK version 1.4.0. No changes are needed in Node.js, Python, and Java SDKs. Simply construct the URIs as strings with the ID properties you need. To learn more about this release, read the blog announcement: Azure Cosmos DB bids fond farewell to Self-Links. For more information about Azure Cosmos DB, visit the Azure Cosmos DB page.

免费帐户

免费获得 $200 点 Azure 信用额度和 12 个月的常见服务使用权

免费开始

Visual Studio

订阅者每年可获得高达 $1800 的 Azure 服务

立即激活

初创企业

加入 BizSpark 计划并获得免费的 Azure 服务

了解更多