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 服務

深入了解