Files
portal-api/app/Services/VirtualMachine/Dto/VmInfrastructureContext.php
T
2026-06-22 08:43:32 +07:00

29 lines
725 B
PHP

<?php
declare(strict_types=1);
namespace App\Services\VirtualMachine\Dto;
use App\Models\ModuleDatastore;
use App\Models\ModuleHost;
use App\Models\ModuleNetwork;
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,
public readonly ?ModuleDatastore $datastore = null,
public readonly ?ModuleNetwork $network = null,
) {
}
}