This commit is contained in:
2026-08-21 18:12:55 +04:00
parent f34fa6055c
commit 3c5157281e
1285 changed files with 4016 additions and 3302 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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"`
}

View File

@@ -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.

View File

@@ -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