This commit is contained in:
dayterr
2026-02-06 17:14:17 +03:00
parent c17b6f2336
commit d149ba19fd
16 changed files with 69 additions and 53 deletions

View File

@@ -62,6 +62,10 @@ type DiskAddRequest struct {
// Disk cache mode
// Required: false
Cache string `url:"cache,omitempty" json:"cache,omitempty"`
// BLK Discard
// Required: false
BLKDiscard interface{} `url:"blkdiscard" json:"blkdiscard" validate:"omitempty,isBool"`
}
// DiskAdd creates new disk and attach to compute

View File

@@ -391,6 +391,9 @@ type ItemDisk struct {
// Access Control List
ACL ItemACL `json:"acl"`
// BLK Discard
BLKDiscard bool `json:"blkdiscard"`
// Boot partition
BootPartition uint64 `json:"bootPartition"`