v1.6.4
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
## Version 1.6.3
|
## Version 1.6.4
|
||||||
|
|
||||||
### Bugfix
|
### Bugfix
|
||||||
- Fixed fields SysctlParams and ACL models RecordLB in ca/lb/models and models RecordLB and ItemLBList in cb/lb/models
|
- Fixed type field DiskSizeMax in Resource model in cloudapi/account/models. Rename field ItemResourceConsumption model and rename json's tags in cloudapi/account/models
|
||||||
|
- Rename field in ListPCIDeviceRequest model in cloudapi/compute/list_pci_device
|
||||||
|
- Delete excess field in ListDeletedRequest model in cloudapi/k8s/list_deleted
|
||||||
|
- Add fields Page and Size in AffinityGroupsListRequest model in cloudapi/lb/affinity_groups_list
|
||||||
|
- Fixed type field Data in ListAffinityGroups model in cloudapi/lb/models
|
||||||
|
- Rename in ItemResourceConsumption model json's tags in cloudapi/rg/models
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ type Resource struct {
|
|||||||
DiskSize float64 `json:"disksize"`
|
DiskSize float64 `json:"disksize"`
|
||||||
|
|
||||||
// Max disk size
|
// Max disk size
|
||||||
DiskSizeMax uint64 `json:"disksizemax"`
|
DiskSizeMax float64 `json:"disksizemax"`
|
||||||
|
|
||||||
// Number of External IPs
|
// Number of External IPs
|
||||||
ExtIPs int64 `json:"extips"`
|
ExtIPs int64 `json:"extips"`
|
||||||
@@ -126,10 +126,10 @@ type RecordResourceConsumption struct {
|
|||||||
// Information about resources
|
// Information about resources
|
||||||
type ItemResourceConsumption struct {
|
type ItemResourceConsumption struct {
|
||||||
// Current information about resources
|
// Current information about resources
|
||||||
Current Resource `json:"Current"`
|
Consumed Resource `json:"consumed"`
|
||||||
|
|
||||||
// Reserved information about resources
|
// Reserved information about resources
|
||||||
Reserved Resource `json:"Reserved"`
|
Reserved Resource `json:"reserved"`
|
||||||
|
|
||||||
// Account ID
|
// Account ID
|
||||||
AccountID uint64 `json:"id"`
|
AccountID uint64 `json:"id"`
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ type ListPCIDeviceRequest struct {
|
|||||||
// Required: false
|
// Required: false
|
||||||
DevID uint64 `url:"devId,omitempty" json:"devId,omitempty"`
|
DevID uint64 `url:"devId,omitempty" json:"devId,omitempty"`
|
||||||
|
|
||||||
// Find by type
|
// Find by name
|
||||||
// Required: false
|
// Required: false
|
||||||
Type string `url:"type,omitempty" json:"type,omitempty"`
|
Name string `url:"name,omitempty" json:"name,omitempty"`
|
||||||
|
|
||||||
// Find by status
|
// Find by status
|
||||||
// Required: false
|
// Required: false
|
||||||
|
|||||||
@@ -32,10 +32,6 @@ type ListDeletedRequest struct {
|
|||||||
// Required: false
|
// Required: false
|
||||||
BasicServiceID uint64 `url:"basicServiceId,omitempty" json:"basicServiceId,omitempty"`
|
BasicServiceID uint64 `url:"basicServiceId,omitempty" json:"basicServiceId,omitempty"`
|
||||||
|
|
||||||
// Find by status
|
|
||||||
// Required: false
|
|
||||||
Status string `url:"status,omitempty" json:"status,omitempty"`
|
|
||||||
|
|
||||||
// Find by techStatus
|
// Find by techStatus
|
||||||
// Required: false
|
// Required: false
|
||||||
TechStatus string `url:"techStatus,omitempty" json:"techStatus,omitempty"`
|
TechStatus string `url:"techStatus,omitempty" json:"techStatus,omitempty"`
|
||||||
|
|||||||
@@ -13,6 +13,14 @@ type AffinityGroupsListRequest struct {
|
|||||||
// Resource group ID
|
// Resource group ID
|
||||||
// Required: true
|
// Required: true
|
||||||
RGID uint64 `url:"rgId" json:"rgId" validate:"required"`
|
RGID uint64 `url:"rgId" json:"rgId" validate:"required"`
|
||||||
|
|
||||||
|
// Page number
|
||||||
|
// Required: false
|
||||||
|
Page uint64 `url:"page,omitempty" json:"page,omitempty"`
|
||||||
|
|
||||||
|
// Page size
|
||||||
|
// Required: false
|
||||||
|
Size uint64 `url:"size,omitempty" json:"size,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// AffinityGroupsList gets all currently defined affinity groups in this resource group with compute IDs
|
// AffinityGroupsList gets all currently defined affinity groups in this resource group with compute IDs
|
||||||
|
|||||||
@@ -48,10 +48,10 @@ type Resources struct {
|
|||||||
// Detailed information about resource consumption
|
// Detailed information about resource consumption
|
||||||
type ItemResourceConsumption struct {
|
type ItemResourceConsumption struct {
|
||||||
// Consumed information about resources
|
// Consumed information about resources
|
||||||
Consumed Resource `json:"Consumed"`
|
Consumed Resource `json:"consumed"`
|
||||||
|
|
||||||
// Reserved information about resources
|
// Reserved information about resources
|
||||||
Reserved Resource `json:"Reserved"`
|
Reserved Resource `json:"reserved"`
|
||||||
|
|
||||||
// Resource limits
|
// Resource limits
|
||||||
ResourceLimits ResourceLimits `json:"resourceLimits"`
|
ResourceLimits ResourceLimits `json:"resourceLimits"`
|
||||||
@@ -333,7 +333,7 @@ type ListAffinityGroupsComputes []ItemAffinityGroupComputes
|
|||||||
|
|
||||||
type ListAffinityGroups struct {
|
type ListAffinityGroups struct {
|
||||||
// Data
|
// Data
|
||||||
Data map[string][]uint64 `json:"data"`
|
Data []map[string][]uint64 `json:"data"`
|
||||||
|
|
||||||
// Entry count
|
// Entry count
|
||||||
EntryCount uint64 `json:"entryCount"`
|
EntryCount uint64 `json:"entryCount"`
|
||||||
|
|||||||
Reference in New Issue
Block a user