Azure-Samples / cosmos-management-net

Azure Management Library .net samples for Cosmos DB (Preview)
MIT License
1 stars 2 forks source link

Adding/updating stored procedures on a Gremlin model database #9

Open liquidsnk opened 3 years ago

liquidsnk commented 3 years ago

I'm not seeing a way to create/update stored procedures on a Gremlin database through the fluent management API or otherwise. Am I missing something or is this just not supported by the resource provider API? We use them in our graph database as we also manipulate the documents directly and communicate with it through the cosmos client and SQL API. In the past, we used to create these automatically using the javascript v2 SDK, same thing we did for cosmos SQL databases but I am attempting to migrate this to using these management SDKs if possible as our previous way of maintaining these objects was broken.

liquidsnk commented 3 years ago

Hey @markjbrown sorry for the direct mention, just wanted to call your attention in case you haven't seen the question at all. Otherwise, no worries, thanks!

markjbrown commented 3 years ago

Sorry for not seeing this sooner.

Stored procedures are not supported within our resource provider for the Gremlin API and there are no plans to support for these.

Thanks.