-
Notifications
You must be signed in to change notification settings - Fork 273
/
struct_server_group.go
41 lines (39 loc) · 2.44 KB
/
struct_server_group.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
package nlb
//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.
// ServerGroup is a nested struct in nlb response
type ServerGroup struct {
RegionId string `json:"RegionId" xml:"RegionId"`
ServerGroupId string `json:"ServerGroupId" xml:"ServerGroupId"`
ServerGroupName string `json:"ServerGroupName" xml:"ServerGroupName"`
ServerGroupType string `json:"ServerGroupType" xml:"ServerGroupType"`
AddressIPVersion string `json:"AddressIPVersion" xml:"AddressIPVersion"`
VpcId string `json:"VpcId" xml:"VpcId"`
Scheduler string `json:"Scheduler" xml:"Scheduler"`
Protocol string `json:"Protocol" xml:"Protocol"`
PersistenceEnabled bool `json:"PersistenceEnabled" xml:"PersistenceEnabled"`
PersistenceTimeout int `json:"PersistenceTimeout" xml:"PersistenceTimeout"`
ConnectionDrainEnabled bool `json:"ConnectionDrainEnabled" xml:"ConnectionDrainEnabled"`
ConnectionDrainTimeout int `json:"ConnectionDrainTimeout" xml:"ConnectionDrainTimeout"`
PreserveClientIpEnabled bool `json:"PreserveClientIpEnabled" xml:"PreserveClientIpEnabled"`
AnyPortEnabled bool `json:"AnyPortEnabled" xml:"AnyPortEnabled"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
ServerGroupStatus string `json:"ServerGroupStatus" xml:"ServerGroupStatus"`
AliUid int64 `json:"AliUid" xml:"AliUid"`
ServerCount int `json:"ServerCount" xml:"ServerCount"`
RelatedLoadBalancerIds []string `json:"RelatedLoadBalancerIds" xml:"RelatedLoadBalancerIds"`
HealthCheck HealthCheck `json:"HealthCheck" xml:"HealthCheck"`
Tags []Tag `json:"Tags" xml:"Tags"`
}