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:
@@ -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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user