-
Notifications
You must be signed in to change notification settings - Fork 267
/
struct_tcp_listener_config.go
47 lines (45 loc) · 3.33 KB
/
struct_tcp_listener_config.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
43
44
45
46
47
package slb
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// TCPListenerConfig is a nested struct in slb response
type TCPListenerConfig struct {
HealthCheckHttpCode string `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
ConnectionDrainTimeout int `json:"ConnectionDrainTimeout" xml:"ConnectionDrainTimeout"`
PersistenceTimeout int `json:"PersistenceTimeout" xml:"PersistenceTimeout"`
HealthCheckInterval int `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
HealthCheckURI string `json:"HealthCheckURI" xml:"HealthCheckURI"`
HealthCheckSwitch string `json:"HealthCheckSwitch" xml:"HealthCheckSwitch"`
FullNatEnabled string `json:"FullNatEnabled" xml:"FullNatEnabled"`
HealthCheckConnectPort int `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
EstablishedTimeout int `json:"EstablishedTimeout" xml:"EstablishedTimeout"`
HealthCheckType string `json:"HealthCheckType" xml:"HealthCheckType"`
HealthCheckConnectTimeout int `json:"HealthCheckConnectTimeout" xml:"HealthCheckConnectTimeout"`
MasterSlaveServerGroupId string `json:"MasterSlaveServerGroupId" xml:"MasterSlaveServerGroupId"`
HealthyThreshold int `json:"HealthyThreshold" xml:"HealthyThreshold"`
HealthCheckDomain string `json:"HealthCheckDomain" xml:"HealthCheckDomain"`
UnhealthyThreshold int `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
ConnectionDrain string `json:"ConnectionDrain" xml:"ConnectionDrain"`
HealthCheckMethod string `json:"HealthCheckMethod" xml:"HealthCheckMethod"`
HealthCheck string `json:"HealthCheck" xml:"HealthCheck"`
ProxyProtocolV2Enabled string `json:"ProxyProtocolV2Enabled" xml:"ProxyProtocolV2Enabled"`
HealthCheckTcpFastCloseEnabled bool `json:"HealthCheckTcpFastCloseEnabled" xml:"HealthCheckTcpFastCloseEnabled"`
MasterSlaveModeEnabled bool `json:"MasterSlaveModeEnabled" xml:"MasterSlaveModeEnabled"`
MasterServerGroupId string `json:"MasterServerGroupId" xml:"MasterServerGroupId"`
SlaveServerGroupId string `json:"SlaveServerGroupId" xml:"SlaveServerGroupId"`
FailoverThreshold int `json:"FailoverThreshold" xml:"FailoverThreshold"`
FailoverStrategy string `json:"FailoverStrategy" xml:"FailoverStrategy"`
MaxConnection int `json:"MaxConnection" xml:"MaxConnection"`
PortRanges []PortRange `json:"PortRanges" xml:"PortRanges"`
}