MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / remove_vm

Method remove_vm

vmm/src/vmm-cli.py:581–584  ·  view source on GitHub ↗

Remove a VM.

(self, vm_id: str)

Source from the content-addressed store, hash-verified

579 print(f"Gracefully shutting down VM {vm_id}")
580
581 def remove_vm(self, vm_id: str) -> None:
582 """Remove a VM."""
583 self.rpc_call("RemoveVm", {"id": vm_id})
584 print(f"Removed VM {vm_id}")
585
586 def resize_vm(
587 self,

Callers 1

mainFunction · 0.95

Calls 1

rpc_callMethod · 0.95

Tested by

no test coverage detected