Comments (1)
Hi @kentcb,
In the v3 SDK everything is reference via objects instead of ids and URLs. When you create a stored procedure you get that reference object. From that object you can delete the stored procedure. You can also read and replace the stored procedure with the reference CosmosStoredProcedure object.
// If you don't have a reference to the existing stored procedure.
await container.StoredProcedures[sprocId].DeleteAsync();
// To get a reference from the created stored procedure
CosmosStoredProcedure sproc = await container.StoredProcedures.CreateStoredProceducreAsync(scriptId, File.ReadAllText(scriptFileName));
await sproc.DeleteAsync();
from azure-cosmos-dotnet-v3.
Related Issues (20)
- Hedging With Writes on MultiMaster
- [FEATURE REQ] Resolve Native AOT Warnings in Microsoft.Azure.Cosmos
- Distributed Tracing: Pass more information in an event along with request diagnostics
- Documentation: CosmosClientOptions.OpenTcpConnectionTimeout recommends > 5 seconds
- Group by with continuation token
- LoadBalancingPartition: Clean-Up Unhealthy Dangling Connections.
- Incorrect order of items on "Order by" query on multi-partition container HOT 1
- ChangeFeed: Investigating Compute Gateway AVAD Archival Tree Cache Eviction HOT 5
- Update `Azure.Core` Library to Latest Nuget Release HOT 1
- Money maker HOT 2
- ChangeFeedProcessor: AVAD Response to Include More Intrinsic Information (specifically Feed Range) and API to validate processed LSNs
- Microsoft.Azure.Cosmos copies older vcruntime140 DLLs, creating risk of ABI breaks + crashes HOT 2
- LINQ custom serializer: query translated incorrectly when passing variable to the nested "where" clause HOT 5
- COUNT is including expired TTL documents that are pending deletion HOT 3
- Make the `VectorIndexes` setter as `internal` in `IndexingPolicy`
- TcpOpenConnectionTimeout TimeSpan contract not honoring values less than a second
- What is the stream needed for or how is it used in `PatchItemStreamAsync`? HOT 2
- Microsoft.Azure.Cosmos.Encryption.Custom 1.0.0-preview06 is incompatible with Cosmos 3.40.0-preview.0 and newer
- Change Feed / Processor: AVAD timeToLiveExpired deserialization Issue
- LINQ support for specifying FilterPredicate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cosmos-dotnet-v3.