v1.16.5
This commit is contained in:
@@ -240,6 +240,10 @@ type CreateRequest struct {
|
||||
// Required: false
|
||||
PreferredCPU []int64 `url:"preferredCpu,omitempty" json:"preferredCpu,omitempty" validate:"omitempty,preferredCPU"`
|
||||
|
||||
// List of PCI device IDs to attach to this VM
|
||||
// Required: false
|
||||
PCIdevices []uint64 `url:"pcidevices,omitempty" json:"pcidevices,omitempty"`
|
||||
|
||||
// Zone ID
|
||||
// Required: false
|
||||
ZoneID uint64 `url:"zoneId,omitempty" json:"zoneId,omitempty"`
|
||||
@@ -275,6 +279,10 @@ type CreateRequest struct {
|
||||
// Required: false
|
||||
// Default: "auto"
|
||||
MemoryBalloonMode string `url:"memory_balloon_mode,omitempty" json:"memory_balloon_mode,omitempty" validate:"omitempty,memoryBalloonMode"`
|
||||
|
||||
// List of vGPU IDs to attach to the VM
|
||||
// Required: false
|
||||
VGPUs []uint64 `url:"vgpus,omitempty" json:"vgpus,omitempty"`
|
||||
}
|
||||
|
||||
// GetRAM returns RAM field values
|
||||
|
||||
@@ -92,6 +92,10 @@ type CreateBlankRequest struct {
|
||||
// Required: false
|
||||
PreferredCPU []int64 `url:"preferredCpu,omitempty" json:"preferredCpu,omitempty" validate:"omitempty,preferredCPU"`
|
||||
|
||||
// List of PCI device IDs to attach to this VM
|
||||
// Required: false
|
||||
PCIdevices []uint64 `url:"pcidevices,omitempty" json:"pcidevices,omitempty"`
|
||||
|
||||
// VM type linux, windows or unknown
|
||||
// Required: false
|
||||
LoaderType string `url:"loaderType,omitempty" json:"loaderType,omitempty" validate:"omitempty,loaderType"`
|
||||
@@ -147,6 +151,10 @@ type CreateBlankRequest struct {
|
||||
// Required: false
|
||||
// Default: "auto"
|
||||
MemoryBalloonMode string `url:"memory_balloon_mode,omitempty" json:"memory_balloon_mode,omitempty" validate:"omitempty,memoryBalloonMode"`
|
||||
|
||||
// List of vGPU IDs to attach to the VM
|
||||
// Required: false
|
||||
VGPUs []uint64 `url:"vgpus,omitempty" json:"vgpus,omitempty"`
|
||||
}
|
||||
|
||||
// GetRAM returns RAM field values
|
||||
|
||||
Reference in New Issue
Block a user