Bläddra i källkod

Generated 2014-05-15 for Slb.

sdk-team 6 år sedan
förälder
incheckning
e76f4c50e1
32 ändrade filer med 518 tillägg och 123 borttagningar
  1. 3 0
      ChangeLog.txt
  2. 1 0
      services/slb/create_load_balancer.go
  3. 112 0
      services/slb/describe_domain_extension_attribute.go
  4. 41 40
      services/slb/describe_load_balancer_http_listener_attribute.go
  5. 1 0
      services/slb/describe_load_balancer_https_listener_attribute.go
  6. 29 28
      services/slb/describe_load_balancer_tcp_listener_attribute.go
  7. 24 23
      services/slb/describe_load_balancer_udp_listener_attribute.go
  8. 42 13
      services/slb/endpoint.go
  9. 21 0
      services/slb/struct_acl_ids_in_describe_load_balancer_http_listener_attribute.go
  10. 21 0
      services/slb/struct_acl_ids_in_describe_load_balancer_https_listener_attribute.go
  11. 21 0
      services/slb/struct_acl_ids_in_describe_load_balancer_tcp_listener_attribute.go
  12. 21 0
      services/slb/struct_acl_ids_in_describe_load_balancer_udp_listener_attribute.go
  13. 1 1
      services/slb/struct_backend_server.go
  14. 27 0
      services/slb/struct_backend_server_in_add_v_server_group_backend_servers.go
  15. 27 0
      services/slb/struct_backend_server_in_create_v_server_group.go
  16. 4 4
      services/slb/struct_backend_server_in_describe_load_balancer_attribute.go
  17. 27 0
      services/slb/struct_backend_server_in_describe_v_server_group_attribute.go
  18. 27 0
      services/slb/struct_backend_server_in_modify_v_server_group_backend_servers.go
  19. 3 3
      services/slb/struct_backend_server_in_remove_backend_servers.go
  20. 27 0
      services/slb/struct_backend_server_in_remove_v_server_group_backend_servers.go
  21. 27 0
      services/slb/struct_backend_server_in_set_v_server_group_attribute.go
  22. 1 1
      services/slb/struct_backend_servers_in_add_backend_servers.go
  23. 1 1
      services/slb/struct_backend_servers_in_add_v_server_group_backend_servers.go
  24. 1 1
      services/slb/struct_backend_servers_in_create_v_server_group.go
  25. 1 1
      services/slb/struct_backend_servers_in_describe_load_balancer_attribute.go
  26. 1 1
      services/slb/struct_backend_servers_in_describe_v_server_group_attribute.go
  27. 1 1
      services/slb/struct_backend_servers_in_modify_v_server_group_backend_servers.go
  28. 1 1
      services/slb/struct_backend_servers_in_remove_backend_servers.go
  29. 1 1
      services/slb/struct_backend_servers_in_remove_v_server_group_backend_servers.go
  30. 1 1
      services/slb/struct_backend_servers_in_set_backend_servers.go
  31. 1 1
      services/slb/struct_backend_servers_in_set_v_server_group_attribute.go
  32. 1 1
      services/slb/struct_listener_ports.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-10-10 Version: 1.60.191
+- Generated 2014-05-15 for `Slb`.
+
 2019-10-10 Version: 1.60.190
 - Generated 2015-04-01 for `Sts`.
 

+ 1 - 0
services/slb/create_load_balancer.go

@@ -79,6 +79,7 @@ type CreateLoadBalancerRequest struct {
 	AccessKeyId          string           `position:"Query" name:"access_key_id"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ClientToken          string           `position:"Query" name:"ClientToken"`
+	CloudType            string           `position:"Query" name:"CloudType"`
 	AddressIPVersion     string           `position:"Query" name:"AddressIPVersion"`
 	MasterZoneId         string           `position:"Query" name:"MasterZoneId"`
 	Duration             requests.Integer `position:"Query" name:"Duration"`

+ 112 - 0
services/slb/describe_domain_extension_attribute.go

@@ -0,0 +1,112 @@
+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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeDomainExtensionAttribute invokes the slb.DescribeDomainExtensionAttribute API synchronously
+// api document: https://help.aliyun.com/api/slb/describedomainextensionattribute.html
+func (client *Client) DescribeDomainExtensionAttribute(request *DescribeDomainExtensionAttributeRequest) (response *DescribeDomainExtensionAttributeResponse, err error) {
+	response = CreateDescribeDomainExtensionAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDomainExtensionAttributeWithChan invokes the slb.DescribeDomainExtensionAttribute API asynchronously
+// api document: https://help.aliyun.com/api/slb/describedomainextensionattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainExtensionAttributeWithChan(request *DescribeDomainExtensionAttributeRequest) (<-chan *DescribeDomainExtensionAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeDomainExtensionAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDomainExtensionAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDomainExtensionAttributeWithCallback invokes the slb.DescribeDomainExtensionAttribute API asynchronously
+// api document: https://help.aliyun.com/api/slb/describedomainextensionattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDomainExtensionAttributeWithCallback(request *DescribeDomainExtensionAttributeRequest, callback func(response *DescribeDomainExtensionAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDomainExtensionAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDomainExtensionAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDomainExtensionAttributeRequest is the request struct for api DescribeDomainExtensionAttribute
+type DescribeDomainExtensionAttributeRequest struct {
+	*requests.RpcRequest
+	AccessKeyId          string           `position:"Query" name:"access_key_id"`
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	DomainExtensionId    string           `position:"Query" name:"DomainExtensionId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tags                 string           `position:"Query" name:"Tags"`
+}
+
+// DescribeDomainExtensionAttributeResponse is the response struct for api DescribeDomainExtensionAttribute
+type DescribeDomainExtensionAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId           string `json:"RequestId" xml:"RequestId"`
+	DomainExtensionId   string `json:"DomainExtensionId" xml:"DomainExtensionId"`
+	Domain              string `json:"Domain" xml:"Domain"`
+	ServerCertificateId string `json:"ServerCertificateId" xml:"ServerCertificateId"`
+}
+
+// CreateDescribeDomainExtensionAttributeRequest creates a request to invoke DescribeDomainExtensionAttribute API
+func CreateDescribeDomainExtensionAttributeRequest() (request *DescribeDomainExtensionAttributeRequest) {
+	request = &DescribeDomainExtensionAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Slb", "2014-05-15", "DescribeDomainExtensionAttribute", "slb", "openAPI")
+	return
+}
+
+// CreateDescribeDomainExtensionAttributeResponse creates a response to parse from DescribeDomainExtensionAttribute response
+func CreateDescribeDomainExtensionAttributeResponse() (response *DescribeDomainExtensionAttributeResponse) {
+	response = &DescribeDomainExtensionAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 41 - 40
services/slb/describe_load_balancer_http_listener_attribute.go

@@ -89,46 +89,47 @@ type DescribeLoadBalancerHTTPListenerAttributeRequest struct {
 // DescribeLoadBalancerHTTPListenerAttributeResponse is the response struct for api DescribeLoadBalancerHTTPListenerAttribute
 type DescribeLoadBalancerHTTPListenerAttributeResponse struct {
 	*responses.BaseResponse
-	RequestId              string                                           `json:"RequestId" xml:"RequestId"`
-	ListenerPort           int                                              `json:"ListenerPort" xml:"ListenerPort"`
-	BackendServerPort      int                                              `json:"BackendServerPort" xml:"BackendServerPort"`
-	Bandwidth              int                                              `json:"Bandwidth" xml:"Bandwidth"`
-	Status                 string                                           `json:"Status" xml:"Status"`
-	SecurityStatus         string                                           `json:"SecurityStatus" xml:"SecurityStatus"`
-	XForwardedFor          string                                           `json:"XForwardedFor" xml:"XForwardedFor"`
-	Scheduler              string                                           `json:"Scheduler" xml:"Scheduler"`
-	StickySession          string                                           `json:"StickySession" xml:"StickySession"`
-	StickySessionType      string                                           `json:"StickySessionType" xml:"StickySessionType"`
-	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"`
-	UnhealthyThreshold     int                                              `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
-	HealthCheckTimeout     int                                              `json:"HealthCheckTimeout" xml:"HealthCheckTimeout"`
-	HealthCheckInterval    int                                              `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
-	HealthCheckConnectPort int                                              `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
-	HealthCheckHttpCode    string                                           `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
-	HealthCheckMethod      string                                           `json:"HealthCheckMethod" xml:"HealthCheckMethod"`
-	HealthCheckHttpVersion string                                           `json:"HealthCheckHttpVersion" xml:"HealthCheckHttpVersion"`
-	MaxConnection          int                                              `json:"MaxConnection" xml:"MaxConnection"`
-	VServerGroupId         string                                           `json:"VServerGroupId" xml:"VServerGroupId"`
-	Gzip                   string                                           `json:"Gzip" xml:"Gzip"`
-	XForwardedForSLBIP     string                                           `json:"XForwardedFor_SLBIP" xml:"XForwardedFor_SLBIP"`
-	XForwardedForSLBID     string                                           `json:"XForwardedFor_SLBID" xml:"XForwardedFor_SLBID"`
-	XForwardedForProto     string                                           `json:"XForwardedFor_proto" xml:"XForwardedFor_proto"`
-	AclId                  string                                           `json:"AclId" xml:"AclId"`
-	AclType                string                                           `json:"AclType" xml:"AclType"`
-	AclStatus              string                                           `json:"AclStatus" xml:"AclStatus"`
-	VpcIds                 string                                           `json:"VpcIds" xml:"VpcIds"`
-	ListenerForward        string                                           `json:"ListenerForward" xml:"ListenerForward"`
-	ForwardPort            int                                              `json:"ForwardPort" xml:"ForwardPort"`
-	RequestTimeout         int                                              `json:"RequestTimeout" xml:"RequestTimeout"`
-	IdleTimeout            int                                              `json:"IdleTimeout" xml:"IdleTimeout"`
-	Description            string                                           `json:"Description" xml:"Description"`
-	Rules                  RulesInDescribeLoadBalancerHTTPListenerAttribute `json:"Rules" xml:"Rules"`
+	RequestId              string                                            `json:"RequestId" xml:"RequestId"`
+	ListenerPort           int                                               `json:"ListenerPort" xml:"ListenerPort"`
+	BackendServerPort      int                                               `json:"BackendServerPort" xml:"BackendServerPort"`
+	Bandwidth              int                                               `json:"Bandwidth" xml:"Bandwidth"`
+	Status                 string                                            `json:"Status" xml:"Status"`
+	SecurityStatus         string                                            `json:"SecurityStatus" xml:"SecurityStatus"`
+	XForwardedFor          string                                            `json:"XForwardedFor" xml:"XForwardedFor"`
+	Scheduler              string                                            `json:"Scheduler" xml:"Scheduler"`
+	StickySession          string                                            `json:"StickySession" xml:"StickySession"`
+	StickySessionType      string                                            `json:"StickySessionType" xml:"StickySessionType"`
+	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"`
+	UnhealthyThreshold     int                                               `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
+	HealthCheckTimeout     int                                               `json:"HealthCheckTimeout" xml:"HealthCheckTimeout"`
+	HealthCheckInterval    int                                               `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
+	HealthCheckConnectPort int                                               `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
+	HealthCheckHttpCode    string                                            `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
+	HealthCheckMethod      string                                            `json:"HealthCheckMethod" xml:"HealthCheckMethod"`
+	HealthCheckHttpVersion string                                            `json:"HealthCheckHttpVersion" xml:"HealthCheckHttpVersion"`
+	MaxConnection          int                                               `json:"MaxConnection" xml:"MaxConnection"`
+	VServerGroupId         string                                            `json:"VServerGroupId" xml:"VServerGroupId"`
+	Gzip                   string                                            `json:"Gzip" xml:"Gzip"`
+	XForwardedForSLBIP     string                                            `json:"XForwardedFor_SLBIP" xml:"XForwardedFor_SLBIP"`
+	XForwardedForSLBID     string                                            `json:"XForwardedFor_SLBID" xml:"XForwardedFor_SLBID"`
+	XForwardedForProto     string                                            `json:"XForwardedFor_proto" xml:"XForwardedFor_proto"`
+	AclId                  string                                            `json:"AclId" xml:"AclId"`
+	AclType                string                                            `json:"AclType" xml:"AclType"`
+	AclStatus              string                                            `json:"AclStatus" xml:"AclStatus"`
+	VpcIds                 string                                            `json:"VpcIds" xml:"VpcIds"`
+	ListenerForward        string                                            `json:"ListenerForward" xml:"ListenerForward"`
+	ForwardPort            int                                               `json:"ForwardPort" xml:"ForwardPort"`
+	RequestTimeout         int                                               `json:"RequestTimeout" xml:"RequestTimeout"`
+	IdleTimeout            int                                               `json:"IdleTimeout" xml:"IdleTimeout"`
+	Description            string                                            `json:"Description" xml:"Description"`
+	AclIds                 AclIdsInDescribeLoadBalancerHTTPListenerAttribute `json:"AclIds" xml:"AclIds"`
+	Rules                  RulesInDescribeLoadBalancerHTTPListenerAttribute  `json:"Rules" xml:"Rules"`
 }
 
 // CreateDescribeLoadBalancerHTTPListenerAttributeRequest creates a request to invoke DescribeLoadBalancerHTTPListenerAttribute API

+ 1 - 0
services/slb/describe_load_balancer_https_listener_attribute.go

@@ -131,6 +131,7 @@ type DescribeLoadBalancerHTTPSListenerAttributeResponse struct {
 	EnableHttp2            string                                                       `json:"EnableHttp2" xml:"EnableHttp2"`
 	TLSCipherPolicy        string                                                       `json:"TLSCipherPolicy" xml:"TLSCipherPolicy"`
 	Description            string                                                       `json:"Description" xml:"Description"`
+	AclIds                 AclIdsInDescribeLoadBalancerHTTPSListenerAttribute           `json:"AclIds" xml:"AclIds"`
 	Rules                  RulesInDescribeLoadBalancerHTTPSListenerAttribute            `json:"Rules" xml:"Rules"`
 	DomainExtensions       DomainExtensionsInDescribeLoadBalancerHTTPSListenerAttribute `json:"DomainExtensions" xml:"DomainExtensions"`
 }

+ 29 - 28
services/slb/describe_load_balancer_tcp_listener_attribute.go

@@ -89,34 +89,35 @@ type DescribeLoadBalancerTCPListenerAttributeRequest struct {
 // DescribeLoadBalancerTCPListenerAttributeResponse is the response struct for api DescribeLoadBalancerTCPListenerAttribute
 type DescribeLoadBalancerTCPListenerAttributeResponse struct {
 	*responses.BaseResponse
-	RequestId                 string `json:"RequestId" xml:"RequestId"`
-	ListenerPort              int    `json:"ListenerPort" xml:"ListenerPort"`
-	BackendServerPort         int    `json:"BackendServerPort" xml:"BackendServerPort"`
-	Status                    string `json:"Status" xml:"Status"`
-	Bandwidth                 int    `json:"Bandwidth" xml:"Bandwidth"`
-	Scheduler                 string `json:"Scheduler" xml:"Scheduler"`
-	SynProxy                  string `json:"SynProxy" xml:"SynProxy"`
-	PersistenceTimeout        int    `json:"PersistenceTimeout" xml:"PersistenceTimeout"`
-	EstablishedTimeout        int    `json:"EstablishedTimeout" xml:"EstablishedTimeout"`
-	HealthCheck               string `json:"HealthCheck" xml:"HealthCheck"`
-	HealthyThreshold          int    `json:"HealthyThreshold" xml:"HealthyThreshold"`
-	UnhealthyThreshold        int    `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
-	HealthCheckConnectTimeout int    `json:"HealthCheckConnectTimeout" xml:"HealthCheckConnectTimeout"`
-	HealthCheckConnectPort    int    `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
-	HealthCheckInterval       int    `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
-	HealthCheckHttpCode       string `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
-	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"`
-	AclId                     string `json:"AclId" xml:"AclId"`
-	AclType                   string `json:"AclType" xml:"AclType"`
-	AclStatus                 string `json:"AclStatus" xml:"AclStatus"`
-	VpcIds                    string `json:"VpcIds" xml:"VpcIds"`
-	Description               string `json:"Description" xml:"Description"`
+	RequestId                 string                                           `json:"RequestId" xml:"RequestId"`
+	ListenerPort              int                                              `json:"ListenerPort" xml:"ListenerPort"`
+	BackendServerPort         int                                              `json:"BackendServerPort" xml:"BackendServerPort"`
+	Status                    string                                           `json:"Status" xml:"Status"`
+	Bandwidth                 int                                              `json:"Bandwidth" xml:"Bandwidth"`
+	Scheduler                 string                                           `json:"Scheduler" xml:"Scheduler"`
+	SynProxy                  string                                           `json:"SynProxy" xml:"SynProxy"`
+	PersistenceTimeout        int                                              `json:"PersistenceTimeout" xml:"PersistenceTimeout"`
+	EstablishedTimeout        int                                              `json:"EstablishedTimeout" xml:"EstablishedTimeout"`
+	HealthCheck               string                                           `json:"HealthCheck" xml:"HealthCheck"`
+	HealthyThreshold          int                                              `json:"HealthyThreshold" xml:"HealthyThreshold"`
+	UnhealthyThreshold        int                                              `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
+	HealthCheckConnectTimeout int                                              `json:"HealthCheckConnectTimeout" xml:"HealthCheckConnectTimeout"`
+	HealthCheckConnectPort    int                                              `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
+	HealthCheckInterval       int                                              `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
+	HealthCheckHttpCode       string                                           `json:"HealthCheckHttpCode" xml:"HealthCheckHttpCode"`
+	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"`
+	AclId                     string                                           `json:"AclId" xml:"AclId"`
+	AclType                   string                                           `json:"AclType" xml:"AclType"`
+	AclStatus                 string                                           `json:"AclStatus" xml:"AclStatus"`
+	VpcIds                    string                                           `json:"VpcIds" xml:"VpcIds"`
+	Description               string                                           `json:"Description" xml:"Description"`
+	AclIds                    AclIdsInDescribeLoadBalancerTCPListenerAttribute `json:"AclIds" xml:"AclIds"`
 }
 
 // CreateDescribeLoadBalancerTCPListenerAttributeRequest creates a request to invoke DescribeLoadBalancerTCPListenerAttribute API

+ 24 - 23
services/slb/describe_load_balancer_udp_listener_attribute.go

@@ -89,29 +89,30 @@ type DescribeLoadBalancerUDPListenerAttributeRequest struct {
 // DescribeLoadBalancerUDPListenerAttributeResponse is the response struct for api DescribeLoadBalancerUDPListenerAttribute
 type DescribeLoadBalancerUDPListenerAttributeResponse struct {
 	*responses.BaseResponse
-	RequestId                 string `json:"RequestId" xml:"RequestId"`
-	ListenerPort              int    `json:"ListenerPort" xml:"ListenerPort"`
-	BackendServerPort         int    `json:"BackendServerPort" xml:"BackendServerPort"`
-	Status                    string `json:"Status" xml:"Status"`
-	Bandwidth                 int    `json:"Bandwidth" xml:"Bandwidth"`
-	Scheduler                 string `json:"Scheduler" xml:"Scheduler"`
-	PersistenceTimeout        int    `json:"PersistenceTimeout" xml:"PersistenceTimeout"`
-	HealthCheck               string `json:"HealthCheck" xml:"HealthCheck"`
-	HealthyThreshold          int    `json:"HealthyThreshold" xml:"HealthyThreshold"`
-	UnhealthyThreshold        int    `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
-	HealthCheckConnectTimeout int    `json:"HealthCheckConnectTimeout" xml:"HealthCheckConnectTimeout"`
-	HealthCheckConnectPort    int    `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
-	HealthCheckInterval       int    `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
-	HealthCheckReq            string `json:"HealthCheckReq" xml:"HealthCheckReq"`
-	HealthCheckExp            string `json:"HealthCheckExp" xml:"HealthCheckExp"`
-	MaxConnection             int    `json:"MaxConnection" xml:"MaxConnection"`
-	VServerGroupId            string `json:"VServerGroupId" xml:"VServerGroupId"`
-	MasterSlaveServerGroupId  string `json:"MasterSlaveServerGroupId" xml:"MasterSlaveServerGroupId"`
-	AclId                     string `json:"AclId" xml:"AclId"`
-	AclType                   string `json:"AclType" xml:"AclType"`
-	AclStatus                 string `json:"AclStatus" xml:"AclStatus"`
-	VpcIds                    string `json:"VpcIds" xml:"VpcIds"`
-	Description               string `json:"Description" xml:"Description"`
+	RequestId                 string                                           `json:"RequestId" xml:"RequestId"`
+	ListenerPort              int                                              `json:"ListenerPort" xml:"ListenerPort"`
+	BackendServerPort         int                                              `json:"BackendServerPort" xml:"BackendServerPort"`
+	Status                    string                                           `json:"Status" xml:"Status"`
+	Bandwidth                 int                                              `json:"Bandwidth" xml:"Bandwidth"`
+	Scheduler                 string                                           `json:"Scheduler" xml:"Scheduler"`
+	PersistenceTimeout        int                                              `json:"PersistenceTimeout" xml:"PersistenceTimeout"`
+	HealthCheck               string                                           `json:"HealthCheck" xml:"HealthCheck"`
+	HealthyThreshold          int                                              `json:"HealthyThreshold" xml:"HealthyThreshold"`
+	UnhealthyThreshold        int                                              `json:"UnhealthyThreshold" xml:"UnhealthyThreshold"`
+	HealthCheckConnectTimeout int                                              `json:"HealthCheckConnectTimeout" xml:"HealthCheckConnectTimeout"`
+	HealthCheckConnectPort    int                                              `json:"HealthCheckConnectPort" xml:"HealthCheckConnectPort"`
+	HealthCheckInterval       int                                              `json:"HealthCheckInterval" xml:"HealthCheckInterval"`
+	HealthCheckReq            string                                           `json:"HealthCheckReq" xml:"HealthCheckReq"`
+	HealthCheckExp            string                                           `json:"HealthCheckExp" xml:"HealthCheckExp"`
+	MaxConnection             int                                              `json:"MaxConnection" xml:"MaxConnection"`
+	VServerGroupId            string                                           `json:"VServerGroupId" xml:"VServerGroupId"`
+	MasterSlaveServerGroupId  string                                           `json:"MasterSlaveServerGroupId" xml:"MasterSlaveServerGroupId"`
+	AclId                     string                                           `json:"AclId" xml:"AclId"`
+	AclType                   string                                           `json:"AclType" xml:"AclType"`
+	AclStatus                 string                                           `json:"AclStatus" xml:"AclStatus"`
+	VpcIds                    string                                           `json:"VpcIds" xml:"VpcIds"`
+	Description               string                                           `json:"Description" xml:"Description"`
+	AclIds                    AclIdsInDescribeLoadBalancerUDPListenerAttribute `json:"AclIds" xml:"AclIds"`
 }
 
 // CreateDescribeLoadBalancerUDPListenerAttributeRequest creates a request to invoke DescribeLoadBalancerUDPListenerAttribute API

+ 42 - 13
services/slb/endpoint.go

@@ -10,19 +10,48 @@ var EndpointType = "regional"
 func GetEndpointMap() map[string]string {
 	if EndpointMap == nil {
 		EndpointMap = map[string]string{
-			"cn-shenzhen":           "slb.aliyuncs.com",
-			"cn-beijing":            "slb.aliyuncs.com",
-			"cn-shenzhen-finance-1": "slb.aliyuncs.com",
-			"cn-north-2-gov-1":      "slb.aliyuncs.com",
-			"cn-qingdao":            "slb.aliyuncs.com",
-			"cn-shanghai":           "slb.aliyuncs.com",
-			"cn-shanghai-finance-1": "slb.aliyuncs.com",
-			"cn-hongkong":           "slb.aliyuncs.com",
-			"cn-hangzhou-finance":   "slb.aliyuncs.com",
-			"ap-southeast-1":        "slb.aliyuncs.com",
-			"us-east-1":             "slb.aliyuncs.com",
-			"us-west-1":             "slb.aliyuncs.com",
-			"cn-hangzhou":           "slb.aliyuncs.com",
+			"cn-shanghai-internal-test-1": "slb.aliyuncs.com",
+			"cn-beijing-gov-1":            "slb.aliyuncs.com",
+			"cn-shenzhen-su18-b01":        "slb.aliyuncs.com",
+			"cn-beijing":                  "slb.aliyuncs.com",
+			"cn-shanghai-inner":           "slb.aliyuncs.com",
+			"cn-shenzhen-st4-d01":         "slb.aliyuncs.com",
+			"cn-haidian-cm12-c01":         "slb.aliyuncs.com",
+			"cn-hangzhou-internal-prod-1": "slb.aliyuncs.com",
+			"cn-north-2-gov-1":            "slb.aliyuncs.com",
+			"cn-yushanfang":               "slb.aliyuncs.com",
+			"cn-qingdao":                  "slb.aliyuncs.com",
+			"cn-hongkong-finance-pop":     "slb.aliyuncs.com",
+			"cn-shanghai":                 "slb.aliyuncs.com",
+			"cn-shanghai-finance-1":       "slb.aliyuncs.com",
+			"cn-hongkong":                 "slb.aliyuncs.com",
+			"cn-beijing-finance-pop":      "slb.aliyuncs.com",
+			"cn-wuhan":                    "slb.aliyuncs.com",
+			"us-west-1":                   "slb.aliyuncs.com",
+			"cn-shenzhen":                 "slb.aliyuncs.com",
+			"cn-zhengzhou-nebula-1":       "slb.aliyuncs.com",
+			"rus-west-1-pop":              "slb.ap-northeast-1.aliyuncs.com",
+			"cn-shanghai-et15-b01":        "slb.aliyuncs.com",
+			"cn-hangzhou-bj-b01":          "slb.aliyuncs.com",
+			"cn-hangzhou-internal-test-1": "slb.aliyuncs.com",
+			"eu-west-1-oxs":               "slb.ap-northeast-1.aliyuncs.com",
+			"cn-zhangbei-na61-b01":        "slb.aliyuncs.com",
+			"cn-beijing-finance-1":        "slb.aliyuncs.com",
+			"cn-hangzhou-internal-test-3": "slb.aliyuncs.com",
+			"cn-shenzhen-finance-1":       "slb.aliyuncs.com",
+			"cn-hangzhou-internal-test-2": "slb.aliyuncs.com",
+			"cn-hangzhou-test-306":        "slb.aliyuncs.com",
+			"cn-shanghai-et2-b01":         "slb.aliyuncs.com",
+			"cn-hangzhou-finance":         "slb.aliyuncs.com",
+			"ap-southeast-1":              "slb.aliyuncs.com",
+			"cn-beijing-nu16-b01":         "slb.aliyuncs.com",
+			"cn-edge-1":                   "slb.aliyuncs.com",
+			"us-east-1":                   "slb.aliyuncs.com",
+			"cn-fujian":                   "slb.aliyuncs.com",
+			"ap-northeast-2-pop":          "slb.ap-northeast-1.aliyuncs.com",
+			"cn-shenzhen-inner":           "slb.aliyuncs.com",
+			"cn-zhangjiakou-na62-a01":     "slb.aliyuncs.com",
+			"cn-hangzhou":                 "slb.aliyuncs.com",
 		}
 	}
 	return EndpointMap

+ 21 - 0
services/slb/struct_acl_ids_in_describe_load_balancer_http_listener_attribute.go

@@ -0,0 +1,21 @@
+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.
+
+// AclIdsInDescribeLoadBalancerHTTPListenerAttribute is a nested struct in slb response
+type AclIdsInDescribeLoadBalancerHTTPListenerAttribute struct {
+	AclId []string `json:"AclId" xml:"AclId"`
+}

+ 21 - 0
services/slb/struct_acl_ids_in_describe_load_balancer_https_listener_attribute.go

@@ -0,0 +1,21 @@
+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.
+
+// AclIdsInDescribeLoadBalancerHTTPSListenerAttribute is a nested struct in slb response
+type AclIdsInDescribeLoadBalancerHTTPSListenerAttribute struct {
+	AclId []string `json:"AclId" xml:"AclId"`
+}

+ 21 - 0
services/slb/struct_acl_ids_in_describe_load_balancer_tcp_listener_attribute.go

@@ -0,0 +1,21 @@
+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.
+
+// AclIdsInDescribeLoadBalancerTCPListenerAttribute is a nested struct in slb response
+type AclIdsInDescribeLoadBalancerTCPListenerAttribute struct {
+	AclId []string `json:"AclId" xml:"AclId"`
+}

+ 21 - 0
services/slb/struct_acl_ids_in_describe_load_balancer_udp_listener_attribute.go

@@ -0,0 +1,21 @@
+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.
+
+// AclIdsInDescribeLoadBalancerUDPListenerAttribute is a nested struct in slb response
+type AclIdsInDescribeLoadBalancerUDPListenerAttribute struct {
+	AclId []string `json:"AclId" xml:"AclId"`
+}

+ 1 - 1
services/slb/struct_backend_server.go

@@ -24,7 +24,7 @@ type BackendServer struct {
 	ServerId           string `json:"ServerId" xml:"ServerId"`
 	VpcId              string `json:"VpcId" xml:"VpcId"`
 	ListenerPort       int    `json:"ListenerPort" xml:"ListenerPort"`
-	Weight             int    `json:"Weight" xml:"Weight"`
+	Weight             string `json:"Weight" xml:"Weight"`
 	Description        string `json:"Description" xml:"Description"`
 	EniHost            string `json:"EniHost" xml:"EniHost"`
 	Type               string `json:"Type" xml:"Type"`

+ 27 - 0
services/slb/struct_backend_server_in_add_v_server_group_backend_servers.go

@@ -0,0 +1,27 @@
+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.
+
+// BackendServerInAddVServerGroupBackendServers is a nested struct in slb response
+type BackendServerInAddVServerGroupBackendServers struct {
+	ServerId    string `json:"ServerId" xml:"ServerId"`
+	Port        int    `json:"Port" xml:"Port"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
+	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
+	VpcId       string `json:"VpcId" xml:"VpcId"`
+	Description string `json:"Description" xml:"Description"`
+}

+ 27 - 0
services/slb/struct_backend_server_in_create_v_server_group.go

@@ -0,0 +1,27 @@
+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.
+
+// BackendServerInCreateVServerGroup is a nested struct in slb response
+type BackendServerInCreateVServerGroup struct {
+	ServerId    string `json:"ServerId" xml:"ServerId"`
+	Port        int    `json:"Port" xml:"Port"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
+	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
+	VpcId       string `json:"VpcId" xml:"VpcId"`
+	Description string `json:"Description" xml:"Description"`
+}

+ 4 - 4
services/slb/struct_backend_server_in_set_backend_servers.go → services/slb/struct_backend_server_in_describe_load_balancer_attribute.go

@@ -15,12 +15,12 @@ package slb
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// BackendServerInSetBackendServers is a nested struct in slb response
-type BackendServerInSetBackendServers struct {
+// BackendServerInDescribeLoadBalancerAttribute is a nested struct in slb response
+type BackendServerInDescribeLoadBalancerAttribute struct {
 	ServerId    string `json:"ServerId" xml:"ServerId"`
-	Weight      string `json:"Weight" xml:"Weight"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
 	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
 	VpcId       string `json:"VpcId" xml:"VpcId"`
-	Type        string `json:"Type" xml:"Type"`
 	Description string `json:"Description" xml:"Description"`
 }

+ 27 - 0
services/slb/struct_backend_server_in_describe_v_server_group_attribute.go

@@ -0,0 +1,27 @@
+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.
+
+// BackendServerInDescribeVServerGroupAttribute is a nested struct in slb response
+type BackendServerInDescribeVServerGroupAttribute struct {
+	ServerId    string `json:"ServerId" xml:"ServerId"`
+	Port        int    `json:"Port" xml:"Port"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
+	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
+	VpcId       string `json:"VpcId" xml:"VpcId"`
+	Description string `json:"Description" xml:"Description"`
+}

+ 27 - 0
services/slb/struct_backend_server_in_modify_v_server_group_backend_servers.go

@@ -0,0 +1,27 @@
+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.
+
+// BackendServerInModifyVServerGroupBackendServers is a nested struct in slb response
+type BackendServerInModifyVServerGroupBackendServers struct {
+	ServerId    string `json:"ServerId" xml:"ServerId"`
+	Port        int    `json:"Port" xml:"Port"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
+	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
+	VpcId       string `json:"VpcId" xml:"VpcId"`
+	Description string `json:"Description" xml:"Description"`
+}

+ 3 - 3
services/slb/struct_backend_server_in_add_backend_servers.go → services/slb/struct_backend_server_in_remove_backend_servers.go

@@ -15,10 +15,10 @@ package slb
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// BackendServerInAddBackendServers is a nested struct in slb response
-type BackendServerInAddBackendServers struct {
+// BackendServerInRemoveBackendServers is a nested struct in slb response
+type BackendServerInRemoveBackendServers struct {
 	ServerId    string `json:"ServerId" xml:"ServerId"`
-	Weight      string `json:"Weight" xml:"Weight"`
+	Weight      int    `json:"Weight" xml:"Weight"`
 	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
 	VpcId       string `json:"VpcId" xml:"VpcId"`
 	Type        string `json:"Type" xml:"Type"`

+ 27 - 0
services/slb/struct_backend_server_in_remove_v_server_group_backend_servers.go

@@ -0,0 +1,27 @@
+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.
+
+// BackendServerInRemoveVServerGroupBackendServers is a nested struct in slb response
+type BackendServerInRemoveVServerGroupBackendServers struct {
+	ServerId    string `json:"ServerId" xml:"ServerId"`
+	Port        int    `json:"Port" xml:"Port"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
+	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
+	VpcId       string `json:"VpcId" xml:"VpcId"`
+	Description string `json:"Description" xml:"Description"`
+}

+ 27 - 0
services/slb/struct_backend_server_in_set_v_server_group_attribute.go

@@ -0,0 +1,27 @@
+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.
+
+// BackendServerInSetVServerGroupAttribute is a nested struct in slb response
+type BackendServerInSetVServerGroupAttribute struct {
+	ServerId    string `json:"ServerId" xml:"ServerId"`
+	Port        int    `json:"Port" xml:"Port"`
+	Weight      int    `json:"Weight" xml:"Weight"`
+	Type        string `json:"Type" xml:"Type"`
+	ServerIp    string `json:"ServerIp" xml:"ServerIp"`
+	VpcId       string `json:"VpcId" xml:"VpcId"`
+	Description string `json:"Description" xml:"Description"`
+}

+ 1 - 1
services/slb/struct_backend_servers_in_add_backend_servers.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInAddBackendServers is a nested struct in slb response
 type BackendServersInAddBackendServers struct {
-	BackendServer []BackendServerInAddBackendServers `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_add_v_server_group_backend_servers.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInAddVServerGroupBackendServers is a nested struct in slb response
 type BackendServersInAddVServerGroupBackendServers struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInAddVServerGroupBackendServers `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_create_v_server_group.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInCreateVServerGroup is a nested struct in slb response
 type BackendServersInCreateVServerGroup struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInCreateVServerGroup `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_describe_load_balancer_attribute.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInDescribeLoadBalancerAttribute is a nested struct in slb response
 type BackendServersInDescribeLoadBalancerAttribute struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInDescribeLoadBalancerAttribute `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_describe_v_server_group_attribute.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInDescribeVServerGroupAttribute is a nested struct in slb response
 type BackendServersInDescribeVServerGroupAttribute struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInDescribeVServerGroupAttribute `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_modify_v_server_group_backend_servers.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInModifyVServerGroupBackendServers is a nested struct in slb response
 type BackendServersInModifyVServerGroupBackendServers struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInModifyVServerGroupBackendServers `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_remove_backend_servers.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInRemoveBackendServers is a nested struct in slb response
 type BackendServersInRemoveBackendServers struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInRemoveBackendServers `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_remove_v_server_group_backend_servers.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInRemoveVServerGroupBackendServers is a nested struct in slb response
 type BackendServersInRemoveVServerGroupBackendServers struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInRemoveVServerGroupBackendServers `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_set_backend_servers.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInSetBackendServers is a nested struct in slb response
 type BackendServersInSetBackendServers struct {
-	BackendServer []BackendServerInSetBackendServers `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_backend_servers_in_set_v_server_group_attribute.go

@@ -17,5 +17,5 @@ package slb
 
 // BackendServersInSetVServerGroupAttribute is a nested struct in slb response
 type BackendServersInSetVServerGroupAttribute struct {
-	BackendServer []BackendServer `json:"BackendServer" xml:"BackendServer"`
+	BackendServer []BackendServerInSetVServerGroupAttribute `json:"BackendServer" xml:"BackendServer"`
 }

+ 1 - 1
services/slb/struct_listener_ports.go

@@ -17,5 +17,5 @@ package slb
 
 // ListenerPorts is a nested struct in slb response
 type ListenerPorts struct {
-	ListenerPort []string `json:"ListenerPort" xml:"ListenerPort"`
+	ListenerPort []int `json:"ListenerPort" xml:"ListenerPort"`
 }