v16.0.0
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
// GetRequest struct to get detailed information about zone
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
|
||||
)
|
||||
|
||||
// ListRequest struct to get list of zones
|
||||
|
||||
@@ -117,6 +117,15 @@ type RecordZone struct {
|
||||
|
||||
// Reserved RAM
|
||||
ReservedRAM uint64 `json:"reserved_ram"`
|
||||
|
||||
// Storage Distributed Resource Scheduler
|
||||
SDRS bool `json:"sdrs"`
|
||||
|
||||
// Mode of SDRS
|
||||
SDRSMode string `json:"sdrs_mode"`
|
||||
|
||||
// Minimal level of logs
|
||||
LoggingLevel string `json:"logging_level"`
|
||||
}
|
||||
|
||||
// A zone item from a list
|
||||
@@ -195,4 +204,13 @@ type ItemZone struct {
|
||||
|
||||
// Reserved RAM
|
||||
ReservedRAM uint64 `json:"reserved_ram"`
|
||||
|
||||
// Storage Distributed Resource Scheduler
|
||||
SDRS bool `json:"sdrs"`
|
||||
|
||||
// Mode of SDRS
|
||||
SDRSMode string `json:"sdrs_mode"`
|
||||
|
||||
// Minimal level of logs
|
||||
LoggingLevel string `json:"logging_level"`
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package zone
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/serialization"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/serialization"
|
||||
)
|
||||
|
||||
// Serialize returns JSON-serialized []byte. Used as a wrapper over json.Marshal and json.MarshalIndent functions.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
package zone
|
||||
|
||||
import (
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/interfaces"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/interfaces"
|
||||
)
|
||||
|
||||
// Structure for creating request to zone
|
||||
|
||||
Reference in New Issue
Block a user