forked from owulveryck/example-iaas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nodes.go
29 lines (28 loc) · 1.02 KB
/
nodes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package main
type NodeRequest struct {
Kind string `json:"kind"` // Node kind (eg linux)
Size string `json:"size"` // size
// optional Default value : XS, The following parameters refer to the SGCLOUD fields :
// * XS
// * S
// * M
// * L
// * L32 (L With 32 gb memory)
// * XL32
// * XL32 (XL With 32 gb memory)
// * XL64 (XL With 64 gb memory).
// You can check couples vCPU/vRAM and reversibility on top of this page
// Value must be one of: XS, S, M, L, L32, XL, XL32, XL64.
Disksize int `json:"disksize"`
Leasedays int `json:"leasedays"`
EnvironmentType string `json:"environment_type"`
CentrifyZone string `json:"centrify_zone"`
Description string `json:"description"`
Usergroup string `json:"usergroup"`
ServiceAccount string `json:"service_account"`
AppTrigram string `json:"app_trigram"`
Region string `json:"region"`
AvailabilityZone string `json:"availability_zone"`
Subnet string `json:"subnet"`
Notifymail string `json:"notifymail"`
}