Azure Cosmos DB: ID-based routing
Közzététel dátuma: augusztus 14, 2015
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.