Files
dynamix-golang-sdk/pkg/cloudbroker/vgpu/models.go
2026-08-21 19:04:19 +04:00

70 lines
1.2 KiB
Go

package vgpu
type ItemVGPU struct {
// CKey
CKey string `json:"_ckey"`
// Meta
Meta []interface{} `json:"_meta"`
// Account IDs
AccountIDs []uint64 `json:"account_ids"`
// Bus number
BusNumber int `json:"bus_number"`
// ComputeID
ComputeID uint64 `json:"compute_id"`
// Created time
CreatedTime uint64 `json:"created_time"`
// Deleted time
DeletedTime uint64 `json:"deleted_time"`
// Device Reference
DeviceReference string `json:"device_reference"`
//Grid ID
GID uint64 `json:"gid"`
// GUID
GUID uint64 `json:"guid"`
// VGPU ID
ID uint64 `json:"id"`
// Last Update time
LastUpdateTime uint64 `json:"last_update_time"`
// Mdev UUID
MdevUUID string `json:"mdev_uuid"`
// Parent PCI Address
ParentPCIAddress string `json:"parent_pci_address"`
// PCI Slot
PCISlot uint64 `json:"pci_slot"`
// PGPU ID
PGPUID uint64 `json:"pgpu_id"`
// Profile Reference
ProfileReference string `json:"profile_reference"`
// Split Mode
SplitMode string `json:"split_mode"`
// Status
Status string `json:"status"`
}
// List of VGPU
type ListVGPU struct {
// Data
Data []ItemVGPU `json:"data"`
// Entry count
EntryCount uint64 `json:"entryCount"`
}