Azure / Azure/azure-rest-api-specs
ResourceManagement ResourceGroup - Can not track the deletion of a resource group delete operation
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
Hello!
I've been developing an API for some Azure resources - a representation of the CRUD operations.
As it goes for Resource Groups, I want to call the delete method, and then check the state of the operation every 5 seconds for example. I am not sure how this is possible for this resource.
For example, for the Virtual Networks, I am getting this value in the response headers -> Azure-AsyncOperation': 'https://management.azure.com/subscriptions//providers/Microsoft.Network/locations/eastus/operations/?api-version=2022-07-01'
And then I can make requests to this URL and wait for the operation to be finished. I'm not getting the same thing for Resource Groups.
Is there any way to track the operation?
Thanks!
Best regards,
Dijana
Contributor guide
Research direction
Start by reviewing the Resource Groups delete operation in the Azure REST API specifications and compare its response behavior with the Virtual Networks operation described in the report. Determine whether the specification should expose an operation-tracking mechanism; done means the expected behavior and any required specification change are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100