v12.0.0
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"net/http"
|
||||
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v12/internal/validators"
|
||||
)
|
||||
|
||||
// ApplyIpmiActionRequest struct to apply ipmi action on node
|
||||
@@ -14,7 +14,7 @@ type ApplyIpmiActionRequest struct {
|
||||
NID uint64 `url:"nid" json:"nid" validate:"required"`
|
||||
|
||||
// Action
|
||||
// on of actions power_on shutdown force_shutdown reboot
|
||||
// Available values : is_powered, power_on, shutdown, force_shutdown, reboot.
|
||||
// Required: true
|
||||
Action string `url:"action" json:"action" validate:"required,action"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user