Files
dynamix-golang-sdk/pkg/cloudbroker/vgpu/models.go

70 lines
1.2 KiB
Go
Raw Normal View History

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