Implement VM deletion functionality and update related services; add confirmation check and logging

This commit is contained in:
baodev0
2026-07-17 09:14:26 +07:00
parent 5cf7411d3e
commit abc12b71ef
12 changed files with 320 additions and 161 deletions
@@ -225,6 +225,7 @@ class VCenterController extends Controller
'type' => 'virtual_machine',
'meta' => [
'db_id' => $vm->id,
'vmware_db_id' => $vm->vmware?->id,
'uuid' => $vm->uuid,
'vm_id' => $vm->vm_id,
'ip' => $vm->ip,
@@ -302,6 +303,7 @@ class VCenterController extends Controller
'type' => 'virtual_machine',
'meta' => [
'db_id' => $vm->id,
'vmware_db_id' => $vm->vmware?->id,
'uuid' => $vm->uuid,
'vm_id' => $vm->vm_id,
'ip' => $vm->ip,