You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/app/Models/CloudHostCapacitySnapshot.php

38 lines
1.2 KiB
PHP

<?php
namespace App\Models;
final class CloudHostCapacitySnapshot extends Model
{
protected $connection = 'default';
protected $table = 'cloud_host_capacity_snapshots';
protected $primaryKey = 'host_id';
public $incrementing = false;
protected $casts = [
'host_id' => 'int',
'cpu_total_cores' => 'int',
'cpu_allocated_cores' => 'int',
'cpu_available_cores' => 'int',
'memory_total_mib' => 'int',
'memory_allocated_mib' => 'int',
'memory_available_mib' => 'int',
'storage_total_bytes' => 'int',
'storage_allocated_bytes' => 'int',
'storage_available_bytes' => 'int',
'instance_total_count' => 'int',
'instance_running_count' => 'int',
'public_ip_configured' => 'boolean',
'public_ip_total_count' => 'int',
'public_ip_reserved_count' => 'int',
'public_ip_allocated_count' => 'int',
'public_ip_available_count' => 'int',
'observed_at' => 'int',
'last_attempt_at' => 'int',
'attempt_generation' => 'int',
'revision' => 'int',
'created_at' => 'int',
'updated_at' => 'int',
];
}