struct_rule.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package slb
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Rule is a nested struct in slb response
  17. type Rule struct {
  18. Domain string `json:"Domain" xml:"Domain"`
  19. HealthCheckTimeout int `json:"HealthCheckTimeout" xml:"HealthCheckTimeout"`
  20. RuleName string `json:"RuleName" xml:"RuleName"`
  21. HealthCheckURI string `json:"HealthCheckURI" xml:"HealthCheckURI"`
  22. StickySession string `json:"StickySession" xml:"StickySession"`
  23. HealthCheckInterval int `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
  24. ListenerSync string `json:"ListenerSync" xml:"ListenerSync"`
  25. RuleId string `json:"RuleId" xml:"RuleId"`
  26. HealthCheckDomain string `json:"HealthCheckDomain" xml:"HealthCheckDomain"`
  27. Scheduler string `json:"Scheduler" xml:"Scheduler"`
  28. Url string `json:"Url" xml:"Url"`
  29. VServerGroupId string `json:"VServerGroupId" xml:"VServerGroupId"`
  30. HealthyThreshold int `json:"HealthyThreshold" xml:"HealthyThreshold"`
  31. CookieTimeout int `json:"CookieTimeout" xml:"CookieTimeout"`
  32. HealthCheckHttpCode string `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
  33. UnhealthyThreshold int `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
  34. StickySessionType string `json:"StickySessionType" xml:"StickySessionType"`
  35. HealthCheckConnectPort int `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
  36. Cookie string `json:"Cookie" xml:"Cookie"`
  37. HealthCheck string `json:"HealthCheck" xml:"HealthCheck"`
  38. }