v15.4.0
This commit is contained in:
@@ -370,6 +370,9 @@ type ItemSnapshotDetailed struct {
|
||||
// Label
|
||||
Label string `json:"label"`
|
||||
|
||||
// Pool name
|
||||
PoolName string `json:"poolName"`
|
||||
|
||||
// Resource ID
|
||||
ResID string `json:"resId"`
|
||||
|
||||
|
||||
@@ -309,6 +309,9 @@ type ItemSnapshot struct {
|
||||
// Label
|
||||
Label string `json:"label"`
|
||||
|
||||
// Pool name
|
||||
PoolName string `json:"poolName"`
|
||||
|
||||
// Reference ID
|
||||
ReferenceID string `json:"referenceId"`
|
||||
|
||||
|
||||
@@ -100,6 +100,12 @@ type RecordGrid struct {
|
||||
// Network modes
|
||||
NetworkModes []string `json:"network_modes"`
|
||||
|
||||
// Reserved CPU
|
||||
ReservedCPU uint64 `json:"reserved_cpu"`
|
||||
|
||||
// Reserved RAM
|
||||
ReservedRAM uint64 `json:"reserved_ram"`
|
||||
|
||||
// SDN support
|
||||
SDNSupport bool `json:"sdn_support"`
|
||||
|
||||
@@ -139,6 +145,12 @@ type ItemGridList struct {
|
||||
// Network modes
|
||||
NetworkModes []string `json:"network_modes"`
|
||||
|
||||
// Reserved CPU
|
||||
ReservedCPU uint64 `json:"reserved_cpu"`
|
||||
|
||||
// Reserved RAM
|
||||
ReservedRAM uint64 `json:"reserved_ram"`
|
||||
|
||||
// SDN support
|
||||
SDNSupport bool `json:"sdn_support"`
|
||||
|
||||
@@ -175,15 +187,6 @@ type RecordSettingsGrid struct {
|
||||
//Cleanup retention period
|
||||
CleanupRetentionPeriod uint64 `json:"cleanupRetentionPeriod"`
|
||||
|
||||
// CPU allocation ratio
|
||||
CPUAllocationRatio uint64 `json:"cpu_allocation_ratio"`
|
||||
|
||||
// CPU allocation ratio for VMs
|
||||
CPUAllocationRatioVM uint64 `json:"cpu_allocation_ratio_vm"`
|
||||
|
||||
// Custom backup path
|
||||
CustomBackupPath []string `json:"custom_backup_path"`
|
||||
|
||||
//Docker registry
|
||||
DockerRegistry DockerRegistry `json:"docker_registry"`
|
||||
|
||||
@@ -214,9 +217,6 @@ type RecordSettingsGrid struct {
|
||||
//Net QOS
|
||||
NetQOS NetQOS `json:"net_qos"`
|
||||
|
||||
//Networks
|
||||
Networks string `json:"networks"`
|
||||
|
||||
// Node self stop timer uptime monitor
|
||||
NodeSelfStopTimerUptimeMonitor uint64 `json:"nodeSelfStopTimerUptimeMonitor"`
|
||||
|
||||
|
||||
@@ -209,6 +209,9 @@ type ItemNode struct {
|
||||
// Last check
|
||||
LastCheck uint64 `json:"lastcheck"`
|
||||
|
||||
// Machine ID
|
||||
MachineID string `json:"machine_id"`
|
||||
|
||||
// Machine GUID
|
||||
MachineGUID string `json:"machineguid"`
|
||||
|
||||
|
||||
@@ -81,6 +81,10 @@ type CreateRequest struct {
|
||||
// SDN access group id
|
||||
// Required: false
|
||||
SDNAccessGroupID string `url:"sdn_access_group_id,omitempty" json:"sdn_access_group_id,omitempty"`
|
||||
|
||||
// Enabling default gateway
|
||||
// Required: false
|
||||
EnableDefaultGateway interface{} `url:"enable_default_gateway,omitempty" json:"enable_default_gateway,omitempty" validate:"omitempty,isBool"`
|
||||
}
|
||||
|
||||
type StoragePolicy struct {
|
||||
|
||||
Reference in New Issue
Block a user