v11.0.0
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
)
|
||||
|
||||
type GetByComputeRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
)
|
||||
|
||||
type GetByComputesRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
)
|
||||
|
||||
type GetByGRIDRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
)
|
||||
|
||||
type GetByStackRequest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
)
|
||||
|
||||
type GetByStacksRequest struct {
|
||||
|
||||
@@ -28,10 +28,12 @@ type ComputeUsage struct {
|
||||
}
|
||||
|
||||
type ItemDisk struct {
|
||||
Pool string `json:"pool"`
|
||||
ResID string `json:"resId"`
|
||||
SizeUsed uint64 `json:"sizeUsed"`
|
||||
SizeMax uint64 `json:"sizeMax"`
|
||||
ID uint64 `json:"id"`
|
||||
Pool string `json:"pool"`
|
||||
ResID string `json:"resId"`
|
||||
SizeUsed float64 `json:"sizeUsed"`
|
||||
SizeAvailable float64 `json:"sizeAvailable"`
|
||||
SizeMax float64 `json:"sizeMax"`
|
||||
}
|
||||
|
||||
// GetByGRIDData represents an array of data points
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package resmon
|
||||
|
||||
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/interfaces"
|
||||
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/interfaces"
|
||||
|
||||
// Structure for creating request to resource monitoring
|
||||
type Resmon struct {
|
||||
|
||||
Reference in New Issue
Block a user