feat: Implement comprehensive vCenter integration with new services for VM configuration, power management, templates, snapshots, and resource management, alongside infrastructure management and synchronization job updates.

This commit is contained in:
pbao9
2026-02-12 17:23:01 +07:00
parent f3a679d7f3
commit 64c3182b00
16 changed files with 1979 additions and 223 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class InfraManagement extends Model
{
use HasFactory;
protected $table = 'infra_management';
protected $fillable = [
'name',
'host',
'username',
'password',
'token',
'type', // e.g. vcenter, esxi
'status',
'description',
'meta_data'
];
protected $casts = [
'meta_data' => 'array',
'status' => 'boolean',
];
}