Bläddra i källkod

SLB SDK Auto Released By laysong.sl,Version:1.60.37

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 år sedan
förälder
incheckning
d56e1148c5

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-06-06 Version: 1.60.37
+1, Add RuleId in DescribeRuleAttribute.
+
 2019-06-05 Version: 1.60.36
 1, Update DescribeDataLimitDetail interface, add password for response
 

+ 1 - 0
services/slb/create_load_balancer.go

@@ -86,6 +86,7 @@ type CreateLoadBalancerRequest struct {
 	LoadBalancerName     string           `position:"Query" name:"LoadBalancerName"`
 	AddressType          string           `position:"Query" name:"AddressType"`
 	SlaveZoneId          string           `position:"Query" name:"SlaveZoneId"`
+	DeleteProtection     string           `position:"Query" name:"DeleteProtection"`
 	LoadBalancerSpec     string           `position:"Query" name:"LoadBalancerSpec"`
 	AutoPay              requests.Boolean `position:"Query" name:"AutoPay"`
 	Address              string           `position:"Query" name:"Address"`

+ 2 - 0
services/slb/create_load_balancer_http_listener.go

@@ -98,9 +98,11 @@ type CreateLoadBalancerHTTPListenerRequest struct {
 	AclId                  string           `position:"Query" name:"AclId"`
 	ListenerPort           requests.Integer `position:"Query" name:"ListenerPort"`
 	Cookie                 string           `position:"Query" name:"Cookie"`
+	HealthCheckType        string           `position:"Query" name:"HealthCheckType"`
 	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth              requests.Integer `position:"Query" name:"Bandwidth"`
 	StickySession          string           `position:"Query" name:"StickySession"`
+	HealthCheckMethod      string           `position:"Query" name:"HealthCheckMethod"`
 	HealthCheckDomain      string           `position:"Query" name:"HealthCheckDomain"`
 	RequestTimeout         requests.Integer `position:"Query" name:"RequestTimeout"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`

+ 3 - 0
services/slb/create_load_balancer_https_listener.go

@@ -97,9 +97,11 @@ type CreateLoadBalancerHTTPSListenerRequest struct {
 	AclId                  string           `position:"Query" name:"AclId"`
 	ListenerPort           requests.Integer `position:"Query" name:"ListenerPort"`
 	Cookie                 string           `position:"Query" name:"Cookie"`
+	HealthCheckType        string           `position:"Query" name:"HealthCheckType"`
 	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth              requests.Integer `position:"Query" name:"Bandwidth"`
 	StickySession          string           `position:"Query" name:"StickySession"`
+	HealthCheckMethod      string           `position:"Query" name:"HealthCheckMethod"`
 	HealthCheckDomain      string           `position:"Query" name:"HealthCheckDomain"`
 	RequestTimeout         requests.Integer `position:"Query" name:"RequestTimeout"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
@@ -108,6 +110,7 @@ type CreateLoadBalancerHTTPSListenerRequest struct {
 	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
 	ServerCertificateId    string           `position:"Query" name:"ServerCertificateId"`
 	CACertificateId        string           `position:"Query" name:"CACertificateId"`
+	BackendProtocol        string           `position:"Query" name:"BackendProtocol"`
 	Tags                   string           `position:"Query" name:"Tags"`
 	IdleTimeout            requests.Integer `position:"Query" name:"IdleTimeout"`
 	LoadBalancerId         string           `position:"Query" name:"LoadBalancerId"`

+ 1 - 0
services/slb/create_load_balancer_tcp_listener.go

@@ -96,6 +96,7 @@ type CreateLoadBalancerTCPListenerRequest struct {
 	HealthCheckType           string           `position:"Query" name:"HealthCheckType"`
 	ResourceOwnerAccount      string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth                 requests.Integer `position:"Query" name:"Bandwidth"`
+	HealthCheckMethod         string           `position:"Query" name:"HealthCheckMethod"`
 	HealthCheckDomain         string           `position:"Query" name:"HealthCheckDomain"`
 	OwnerAccount              string           `position:"Query" name:"OwnerAccount"`
 	OwnerId                   requests.Integer `position:"Query" name:"OwnerId"`

+ 1 - 0
services/slb/describe_load_balancer_attribute.go

@@ -122,6 +122,7 @@ type DescribeLoadBalancerAttributeResponse struct {
 	ReservedInfoInternetChargeType string                                        `json:"ReservedInfoInternetChargeType" xml:"ReservedInfoInternetChargeType"`
 	ReservedInfoBandwidth          string                                        `json:"ReservedInfoBandwidth" xml:"ReservedInfoBandwidth"`
 	ReservedInfoActiveTime         string                                        `json:"ReservedInfoActiveTime" xml:"ReservedInfoActiveTime"`
+	DeleteProtection               string                                        `json:"DeleteProtection" xml:"DeleteProtection"`
 	ListenerPorts                  ListenerPorts                                 `json:"ListenerPorts" xml:"ListenerPorts"`
 	ListenerPortsAndProtocal       ListenerPortsAndProtocal                      `json:"ListenerPortsAndProtocal" xml:"ListenerPortsAndProtocal"`
 	ListenerPortsAndProtocol       ListenerPortsAndProtocol                      `json:"ListenerPortsAndProtocol" xml:"ListenerPortsAndProtocol"`

+ 2 - 0
services/slb/describe_load_balancer_http_listener_attribute.go

@@ -102,6 +102,7 @@ type DescribeLoadBalancerHTTPListenerAttributeResponse struct {
 	CookieTimeout          int                                              `json:"CookieTimeout" xml:"CookieTimeout"`
 	Cookie                 string                                           `json:"Cookie" xml:"Cookie"`
 	HealthCheck            string                                           `json:"HealthCheck" xml:"HealthCheck"`
+	HealthCheckType        string                                           `json:"HealthCheckType" xml:"HealthCheckType"`
 	HealthCheckDomain      string                                           `json:"HealthCheckDomain" xml:"HealthCheckDomain"`
 	HealthCheckURI         string                                           `json:"HealthCheckURI" xml:"HealthCheckURI"`
 	HealthyThreshold       int                                              `json:"HealthyThreshold" xml:"HealthyThreshold"`
@@ -110,6 +111,7 @@ type DescribeLoadBalancerHTTPListenerAttributeResponse struct {
 	HealthCheckInterval    int                                              `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
 	HealthCheckConnectPort int                                              `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
 	HealthCheckHttpCode    string                                           `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
+	HealthCheckMethod      string                                           `json:"HealthCheckMethod" xml:"HealthCheckMethod"`
 	MaxConnection          int                                              `json:"MaxConnection" xml:"MaxConnection"`
 	VServerGroupId         string                                           `json:"VServerGroupId" xml:"VServerGroupId"`
 	Gzip                   string                                           `json:"Gzip" xml:"Gzip"`

+ 3 - 0
services/slb/describe_load_balancer_https_listener_attribute.go

@@ -92,6 +92,7 @@ type DescribeLoadBalancerHTTPSListenerAttributeResponse struct {
 	RequestId              string                                                       `json:"RequestId" xml:"RequestId"`
 	ListenerPort           int                                                          `json:"ListenerPort" xml:"ListenerPort"`
 	BackendServerPort      int                                                          `json:"BackendServerPort" xml:"BackendServerPort"`
+	BackendProtocol        int                                                          `json:"BackendProtocol" xml:"BackendProtocol"`
 	Bandwidth              int                                                          `json:"Bandwidth" xml:"Bandwidth"`
 	Status                 string                                                       `json:"Status" xml:"Status"`
 	SecurityStatus         string                                                       `json:"SecurityStatus" xml:"SecurityStatus"`
@@ -102,6 +103,7 @@ type DescribeLoadBalancerHTTPSListenerAttributeResponse struct {
 	CookieTimeout          int                                                          `json:"CookieTimeout" xml:"CookieTimeout"`
 	Cookie                 string                                                       `json:"Cookie" xml:"Cookie"`
 	HealthCheck            string                                                       `json:"HealthCheck" xml:"HealthCheck"`
+	HealthCheckType        string                                                       `json:"HealthCheckType" xml:"HealthCheckType"`
 	HealthCheckDomain      string                                                       `json:"HealthCheckDomain" xml:"HealthCheckDomain"`
 	HealthCheckURI         string                                                       `json:"HealthCheckURI" xml:"HealthCheckURI"`
 	HealthyThreshold       int                                                          `json:"HealthyThreshold" xml:"HealthyThreshold"`
@@ -112,6 +114,7 @@ type DescribeLoadBalancerHTTPSListenerAttributeResponse struct {
 	HealthCheckHttpCode    string                                                       `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
 	ServerCertificateId    string                                                       `json:"ServerCertificateId" xml:"ServerCertificateId"`
 	CACertificateId        string                                                       `json:"CACertificateId" xml:"CACertificateId"`
+	HealthCheckMethod      string                                                       `json:"HealthCheckMethod" xml:"HealthCheckMethod"`
 	MaxConnection          int                                                          `json:"MaxConnection" xml:"MaxConnection"`
 	VServerGroupId         string                                                       `json:"VServerGroupId" xml:"VServerGroupId"`
 	Gzip                   string                                                       `json:"Gzip" xml:"Gzip"`

+ 1 - 0
services/slb/describe_load_balancer_tcp_listener_attribute.go

@@ -108,6 +108,7 @@ type DescribeLoadBalancerTCPListenerAttributeResponse struct {
 	HealthCheckDomain         string `json:"HealthCheckDomain" xml:"HealthCheckDomain"`
 	HealthCheckURI            string `json:"HealthCheckURI" xml:"HealthCheckURI"`
 	HealthCheckType           string `json:"HealthCheckType" xml:"HealthCheckType"`
+	HealthCheckMethod         string `json:"HealthCheckMethod" xml:"HealthCheckMethod"`
 	MaxConnection             int    `json:"MaxConnection" xml:"MaxConnection"`
 	VServerGroupId            string `json:"VServerGroupId" xml:"VServerGroupId"`
 	MasterSlaveServerGroupId  string `json:"MasterSlaveServerGroupId" xml:"MasterSlaveServerGroupId"`

+ 1 - 0
services/slb/describe_rule_attribute.go

@@ -88,6 +88,7 @@ type DescribeRuleAttributeRequest struct {
 // DescribeRuleAttributeResponse is the response struct for api DescribeRuleAttribute
 type DescribeRuleAttributeResponse struct {
 	*responses.BaseResponse
+	RuleId                 string `json:"RuleId" xml:"RuleId"`
 	RequestId              string `json:"RequestId" xml:"RequestId"`
 	RuleName               string `json:"RuleName" xml:"RuleName"`
 	LoadBalancerId         string `json:"LoadBalancerId" xml:"LoadBalancerId"`

+ 2 - 0
services/slb/set_load_balancer_http_listener_attribute.go

@@ -96,9 +96,11 @@ type SetLoadBalancerHTTPListenerAttributeRequest struct {
 	AclId                  string           `position:"Query" name:"AclId"`
 	ListenerPort           requests.Integer `position:"Query" name:"ListenerPort"`
 	Cookie                 string           `position:"Query" name:"Cookie"`
+	HealthCheckType        string           `position:"Query" name:"HealthCheckType"`
 	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth              requests.Integer `position:"Query" name:"Bandwidth"`
 	StickySession          string           `position:"Query" name:"StickySession"`
+	HealthCheckMethod      string           `position:"Query" name:"HealthCheckMethod"`
 	HealthCheckDomain      string           `position:"Query" name:"HealthCheckDomain"`
 	RequestTimeout         requests.Integer `position:"Query" name:"RequestTimeout"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`

+ 3 - 0
services/slb/set_load_balancer_https_listener_attribute.go

@@ -97,9 +97,11 @@ type SetLoadBalancerHTTPSListenerAttributeRequest struct {
 	AclId                  string           `position:"Query" name:"AclId"`
 	ListenerPort           requests.Integer `position:"Query" name:"ListenerPort"`
 	Cookie                 string           `position:"Query" name:"Cookie"`
+	HealthCheckType        string           `position:"Query" name:"HealthCheckType"`
 	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth              requests.Integer `position:"Query" name:"Bandwidth"`
 	StickySession          string           `position:"Query" name:"StickySession"`
+	HealthCheckMethod      string           `position:"Query" name:"HealthCheckMethod"`
 	HealthCheckDomain      string           `position:"Query" name:"HealthCheckDomain"`
 	RequestTimeout         requests.Integer `position:"Query" name:"RequestTimeout"`
 	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
@@ -108,6 +110,7 @@ type SetLoadBalancerHTTPSListenerAttributeRequest struct {
 	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
 	ServerCertificateId    string           `position:"Query" name:"ServerCertificateId"`
 	CACertificateId        string           `position:"Query" name:"CACertificateId"`
+	BackendProtocol        string           `position:"Query" name:"BackendProtocol"`
 	Tags                   string           `position:"Query" name:"Tags"`
 	IdleTimeout            requests.Integer `position:"Query" name:"IdleTimeout"`
 	LoadBalancerId         string           `position:"Query" name:"LoadBalancerId"`

+ 1 - 0
services/slb/set_load_balancer_tcp_listener_attribute.go

@@ -97,6 +97,7 @@ type SetLoadBalancerTCPListenerAttributeRequest struct {
 	HealthCheckType           string           `position:"Query" name:"HealthCheckType"`
 	ResourceOwnerAccount      string           `position:"Query" name:"ResourceOwnerAccount"`
 	Bandwidth                 requests.Integer `position:"Query" name:"Bandwidth"`
+	HealthCheckMethod         string           `position:"Query" name:"HealthCheckMethod"`
 	HealthCheckDomain         string           `position:"Query" name:"HealthCheckDomain"`
 	OwnerAccount              string           `position:"Query" name:"OwnerAccount"`
 	SynProxy                  string           `position:"Query" name:"SynProxy"`