This commit is contained in:
2023-04-28 11:46:58 +03:00
parent 7d6cda7119
commit aaf0857ff0
38 changed files with 744 additions and 86 deletions

View File

@@ -131,6 +131,12 @@ type ItemRG struct {
// List ACL
ACL ListACL `json:"acl"`
// CPU allocation parameter
CPUAllocationParameter string `json:"cpu_allocation_parameter"`
// CPU allocation ratio
CPUAllocationRatio float64 `json:"cpu_allocation_ratio"`
// Created by
CreatedBy string `json:"createdBy"`
@@ -176,12 +182,18 @@ type ItemRG struct {
// Resource limits
ResourceLimits ResourceLimits `json:"resourceLimits"`
// Resource types list
ResTypes []string `json:"resourceTypes"`
// Secret
Secret string `json:"secret"`
// Status
Status string `json:"status"`
// Uniq pools
UniqPools []string `json:"uniqPools"`
// Updated by
UpdatedBy string `json:"updatedBy"`
@@ -193,12 +205,6 @@ type ItemRG struct {
// List virtual machine IDs
VMs []uint64 `json:"vms"`
// Resource types list
ResTypes []string `json:"resourceTypes"`
// Uniq pools
UniqPools []string `json:"uniqPools"`
}
// List resource groups