This commit is contained in:
2024-11-22 12:09:50 +03:00
parent 80491ed643
commit 9ec34c6bfc
21 changed files with 57 additions and 156 deletions

View File

@@ -22,12 +22,12 @@ type CreateRequest struct {
Name string `url:"name" json:"name" validate:"required"`
// External network to connect this load balancer to
// Required: true
ExtNetID int64 `url:"extnetId" json:"extnetId" validate:"required"`
// Required: true, can be 0
ExtNetID int64 `url:"extnetId" json:"extnetId"`
// Internal network (VINS) to connect this load balancer to
// Required: true
VINSID uint64 `url:"vinsId" json:"vinsId" validate:"required"`
// Required: true, can be 0
VINSID uint64 `url:"vinsId" json:"vinsId"`
// Start now Load balancer
// Required: true