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"`
	QuicVersion             string      `json:"QuicVersion" xml:"QuicVersion"`
	RelatedLoadBalancerIds  []string    `json:"RelatedLoadBalancerIds" xml:"RelatedLoadBalancerIds"`
	HealthCheck             HealthCheck `json:"HealthCheck" xml:"HealthCheck"`
	Tags                    []Tag       `json:"Tags" xml:"Tags"`
}
