/
server_auto_scale_in_info.go
42 lines (30 loc) · 1.85 KB
/
server_auto_scale_in_info.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
30
31
32
33
34
35
36
37
38
39
40
41
42
package models
// This file is auto-generated.
// Please contact avi-sdk@avinetworks.com for any change requests.
// ServerAutoScaleInInfo server auto scale in info
// swagger:model ServerAutoScaleInInfo
type ServerAutoScaleInInfo struct {
// alertconfig_name of ServerAutoScaleInInfo.
AlertconfigName *string `json:"alertconfig_name,omitempty"`
// It is a reference to an object of type AlertConfig.
AlertconfigRef *string `json:"alertconfig_ref,omitempty"`
// Placeholder for description of property available_capacity of obj type ServerAutoScaleInInfo field type str type number
AvailableCapacity *float64 `json:"available_capacity,omitempty"`
// Placeholder for description of property load of obj type ServerAutoScaleInInfo field type str type number
Load *float64 `json:"load,omitempty"`
// Number of num_scalein_servers.
// Required: true
NumScaleinServers *int32 `json:"num_scalein_servers"`
// Number of num_servers_up.
// Required: true
NumServersUp *int32 `json:"num_servers_up"`
// UUID of the Pool. It is a reference to an object of type Pool.
// Required: true
PoolRef *string `json:"pool_ref"`
// reason of ServerAutoScaleInInfo.
Reason *string `json:"reason,omitempty"`
// Enum options - SYSERR_SUCCESS. SYSERR_FAILURE. SYSERR_OUT_OF_MEMORY. SYSERR_NO_ENT. SYSERR_INVAL. SYSERR_ACCESS. SYSERR_FAULT. SYSERR_IO. SYSERR_TIMEOUT. SYSERR_NOT_SUPPORTED. SYSERR_NOT_READY. SYSERR_UPGRADE_IN_PROGRESS. SYSERR_WARM_START_IN_PROGRESS. SYSERR_TRY_AGAIN. SYSERR_NOT_UPGRADING. SYSERR_PENDING. SYSERR_EVENT_GEN_FAILURE. SYSERR_CONFIG_PARAM_MISSING. SYSERR_RANGE. SYSERR_BAD_REQUEST...
ReasonCode *string `json:"reason_code,omitempty"`
// Placeholder for description of property scalein_server_candidates of obj type ServerAutoScaleInInfo field type str type object
ScaleinServerCandidates []*ServerID `json:"scalein_server_candidates,omitempty"`
}