microsoft / microsoft/AzureTRE
Delete running VMs with a single action.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 235
- Forks
- 192
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
Description
As a TRE Administrator/Researcher I want to be able to issue a single command to delete a VM regardless of its state.
So that I do not get distracted with another task and leave disabled VMs to exist longer than they should.
This will help with ephemeral VMs that exist solely to transfer between airlock storage containers and workspace network storage.
Acceptance criteria
- Criteria 1 - Delete option automatically schedules a disable, then deletion instead of user needing to do both.
- Criteria 2 - Optional - Ask for confirmation. I do not know if the two-stage "disable then delete" is to avoid erroneous deletion or for another reason, but this would help mitigate if so.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing VM disable and delete actions and how a VM's state is handled. Implement the single delete action so it schedules disable before deletion, with confirmation only if the existing workflow supports it. Done means a running VM can be removed with one action and the relevant behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100