/
gateway_monitor.go
25 lines (18 loc) · 1.17 KB
/
gateway_monitor.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
package models
// This file is auto-generated.
// Please contact avi-sdk@avinetworks.com for any change requests.
// GatewayMonitor gateway monitor
// swagger:model GatewayMonitor
type GatewayMonitor struct {
// IP address of next hop gateway to be monitored.
// Required: true
GatewayIP *IPAddr `json:"gateway_ip"`
// The number of consecutive failed gateway health checks before a gateway is marked down. Allowed values are 3-50.
GatewayMonitorFailThreshold *int32 `json:"gateway_monitor_fail_threshold,omitempty"`
// The interval between two ping requests sent by the gateway monitor in milliseconds. If a value is not specified, requests are sent every second. Allowed values are 100-60000. Unit is MILLISECONDS.
GatewayMonitorInterval *int32 `json:"gateway_monitor_interval,omitempty"`
// The number of consecutive successful gateway health checks before a gateway that was marked down by the gateway monitor is marked up. Allowed values are 3-50.
GatewayMonitorSuccessThreshold *int32 `json:"gateway_monitor_success_threshold,omitempty"`
// Subnet providing reachability for Multi-hop Gateway. Field introduced in 18.1.1.
Subnet *IPAddrPrefix `json:"subnet,omitempty"`
}