The Cosmos DB resource provider does not support PATCH operations. You must do a GET on the resource and then a PUT on the entire resource with your changed property value.
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello ,
Im trying to update Virtual network on Cosmos DB Account, though I dont see any activity on that particular Account I see below error while using Patch Rest API
There is already an operation in progress which requires exlusive lock on this service mangoservicenowdbaccount. Please retry the operation after sometime.
ActivityId: 7272845f-0f15-4c21-b5b8-4bdacf546329, Microsoft.Azure.Documents.Common/2.11.0
The Cosmos DB resource provider does not support PATCH operations. You must do a GET on the resource and then a PUT on the entire resource with your changed property value.
Thanks.
Yes sorry, I should clarify. The databaseAccount resource supports patch but none of the child resources do. You can use patch to modify the vnet settings.
Regarding your error I don't have any deeper insights other than there was something else modifying the databaseAccount resource when you issued this command. If it persists you need to contact support to investigate.
Thanks.