Refactor VM provisioning pipeline into focused services and add IP pool
management
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Services\VirtualMachine\Dto;
|
||||
|
||||
use App\Models\ModuleHost;
|
||||
use App\Models\Os;
|
||||
use App\Models\vCenter;
|
||||
|
||||
class VmInfrastructureContext
|
||||
{
|
||||
public function __construct(
|
||||
public readonly Os $os,
|
||||
public readonly ModuleHost $host,
|
||||
public readonly mixed $datacenter,
|
||||
public readonly vCenter $vcenter,
|
||||
public readonly mixed $template,
|
||||
public readonly bool $isWindows,
|
||||
public readonly string $vmUser,
|
||||
public readonly int $vmPort,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user