Forráskód Böngészése

由温仰发起的SLB SDK自动发布, BUILD_ID=467, 版本号:1.2.4

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 éve
szülő
commit
b4df9a6cb5

+ 3 - 0
ChangeLog.txt

@@ -7,6 +7,9 @@
 2018-03-15 Version: 1.2.4
 1, Synchronize to the latest api list
 
+2018-03-15 Version: 1.2.4
+1, Synchronize to the latest api list
+
 2018-03-15 Version: 1.2.4
 1, Add QueryCustomerSaleInfo API.
 

+ 0 - 110
services/slb/delete_access_logs_download_attribute.go

@@ -1,110 +0,0 @@
-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"
-)
-
-// DeleteAccessLogsDownloadAttribute invokes the slb.DeleteAccessLogsDownloadAttribute API synchronously
-// api document: https://help.aliyun.com/api/slb/deleteaccesslogsdownloadattribute.html
-func (client *Client) DeleteAccessLogsDownloadAttribute(request *DeleteAccessLogsDownloadAttributeRequest) (response *DeleteAccessLogsDownloadAttributeResponse, err error) {
-	response = CreateDeleteAccessLogsDownloadAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteAccessLogsDownloadAttributeWithChan invokes the slb.DeleteAccessLogsDownloadAttribute API asynchronously
-// api document: https://help.aliyun.com/api/slb/deleteaccesslogsdownloadattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAccessLogsDownloadAttributeWithChan(request *DeleteAccessLogsDownloadAttributeRequest) (<-chan *DeleteAccessLogsDownloadAttributeResponse, <-chan error) {
-	responseChan := make(chan *DeleteAccessLogsDownloadAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteAccessLogsDownloadAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteAccessLogsDownloadAttributeWithCallback invokes the slb.DeleteAccessLogsDownloadAttribute API asynchronously
-// api document: https://help.aliyun.com/api/slb/deleteaccesslogsdownloadattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAccessLogsDownloadAttributeWithCallback(request *DeleteAccessLogsDownloadAttributeRequest, callback func(response *DeleteAccessLogsDownloadAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteAccessLogsDownloadAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteAccessLogsDownloadAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteAccessLogsDownloadAttributeRequest is the request struct for api DeleteAccessLogsDownloadAttribute
-type DeleteAccessLogsDownloadAttributeRequest struct {
-	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	AccessKeyId            string           `position:"Query" name:"access_key_id"`
-	Tags                   string           `position:"Query" name:"Tags"`
-	LoadBalancerId         string           `position:"Query" name:"LoadBalancerId"`
-	LogsDownloadAttributes string           `position:"Query" name:"LogsDownloadAttributes"`
-}
-
-// DeleteAccessLogsDownloadAttributeResponse is the response struct for api DeleteAccessLogsDownloadAttribute
-type DeleteAccessLogsDownloadAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteAccessLogsDownloadAttributeRequest creates a request to invoke DeleteAccessLogsDownloadAttribute API
-func CreateDeleteAccessLogsDownloadAttributeRequest() (request *DeleteAccessLogsDownloadAttributeRequest) {
-	request = &DeleteAccessLogsDownloadAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Slb", "2014-05-15", "DeleteAccessLogsDownloadAttribute", "slb", "openAPI")
-	return
-}
-
-// CreateDeleteAccessLogsDownloadAttributeResponse creates a response to parse from DeleteAccessLogsDownloadAttribute response
-func CreateDeleteAccessLogsDownloadAttributeResponse() (response *DeleteAccessLogsDownloadAttributeResponse) {
-	response = &DeleteAccessLogsDownloadAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 117
services/slb/describe_access_logs_download_attribute.go

@@ -1,117 +0,0 @@
-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"
-)
-
-// DescribeAccessLogsDownloadAttribute invokes the slb.DescribeAccessLogsDownloadAttribute API synchronously
-// api document: https://help.aliyun.com/api/slb/describeaccesslogsdownloadattribute.html
-func (client *Client) DescribeAccessLogsDownloadAttribute(request *DescribeAccessLogsDownloadAttributeRequest) (response *DescribeAccessLogsDownloadAttributeResponse, err error) {
-	response = CreateDescribeAccessLogsDownloadAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeAccessLogsDownloadAttributeWithChan invokes the slb.DescribeAccessLogsDownloadAttribute API asynchronously
-// api document: https://help.aliyun.com/api/slb/describeaccesslogsdownloadattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAccessLogsDownloadAttributeWithChan(request *DescribeAccessLogsDownloadAttributeRequest) (<-chan *DescribeAccessLogsDownloadAttributeResponse, <-chan error) {
-	responseChan := make(chan *DescribeAccessLogsDownloadAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeAccessLogsDownloadAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeAccessLogsDownloadAttributeWithCallback invokes the slb.DescribeAccessLogsDownloadAttribute API asynchronously
-// api document: https://help.aliyun.com/api/slb/describeaccesslogsdownloadattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAccessLogsDownloadAttributeWithCallback(request *DescribeAccessLogsDownloadAttributeRequest, callback func(response *DescribeAccessLogsDownloadAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeAccessLogsDownloadAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeAccessLogsDownloadAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeAccessLogsDownloadAttributeRequest is the request struct for api DescribeAccessLogsDownloadAttribute
-type DescribeAccessLogsDownloadAttributeRequest struct {
-	*requests.RpcRequest
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	AccessKeyId          string           `position:"Query" name:"access_key_id"`
-	Tags                 string           `position:"Query" name:"Tags"`
-	LoadBalancerId       string           `position:"Query" name:"LoadBalancerId"`
-	LogType              string           `position:"Query" name:"LogType"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-}
-
-// DescribeAccessLogsDownloadAttributeResponse is the response struct for api DescribeAccessLogsDownloadAttribute
-type DescribeAccessLogsDownloadAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId              string                 `json:"RequestId" xml:"RequestId"`
-	PageNumber             int                    `json:"PageNumber" xml:"PageNumber"`
-	PageSize               int                    `json:"PageSize" xml:"PageSize"`
-	TotalCount             int                    `json:"TotalCount" xml:"TotalCount"`
-	Count                  int                    `json:"Count" xml:"Count"`
-	LogsDownloadAttributes LogsDownloadAttributes `json:"LogsDownloadAttributes" xml:"LogsDownloadAttributes"`
-}
-
-// CreateDescribeAccessLogsDownloadAttributeRequest creates a request to invoke DescribeAccessLogsDownloadAttribute API
-func CreateDescribeAccessLogsDownloadAttributeRequest() (request *DescribeAccessLogsDownloadAttributeRequest) {
-	request = &DescribeAccessLogsDownloadAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Slb", "2014-05-15", "DescribeAccessLogsDownloadAttribute", "slb", "openAPI")
-	return
-}
-
-// CreateDescribeAccessLogsDownloadAttributeResponse creates a response to parse from DescribeAccessLogsDownloadAttribute response
-func CreateDescribeAccessLogsDownloadAttributeResponse() (response *DescribeAccessLogsDownloadAttributeResponse) {
-	response = &DescribeAccessLogsDownloadAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/slb/set_access_logs_download_attribute.go

@@ -1,110 +0,0 @@
-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"
-)
-
-// SetAccessLogsDownloadAttribute invokes the slb.SetAccessLogsDownloadAttribute API synchronously
-// api document: https://help.aliyun.com/api/slb/setaccesslogsdownloadattribute.html
-func (client *Client) SetAccessLogsDownloadAttribute(request *SetAccessLogsDownloadAttributeRequest) (response *SetAccessLogsDownloadAttributeResponse, err error) {
-	response = CreateSetAccessLogsDownloadAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SetAccessLogsDownloadAttributeWithChan invokes the slb.SetAccessLogsDownloadAttribute API asynchronously
-// api document: https://help.aliyun.com/api/slb/setaccesslogsdownloadattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetAccessLogsDownloadAttributeWithChan(request *SetAccessLogsDownloadAttributeRequest) (<-chan *SetAccessLogsDownloadAttributeResponse, <-chan error) {
-	responseChan := make(chan *SetAccessLogsDownloadAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SetAccessLogsDownloadAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SetAccessLogsDownloadAttributeWithCallback invokes the slb.SetAccessLogsDownloadAttribute API asynchronously
-// api document: https://help.aliyun.com/api/slb/setaccesslogsdownloadattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SetAccessLogsDownloadAttributeWithCallback(request *SetAccessLogsDownloadAttributeRequest, callback func(response *SetAccessLogsDownloadAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SetAccessLogsDownloadAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.SetAccessLogsDownloadAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SetAccessLogsDownloadAttributeRequest is the request struct for api SetAccessLogsDownloadAttribute
-type SetAccessLogsDownloadAttributeRequest struct {
-	*requests.RpcRequest
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	OwnerAccount           string           `position:"Query" name:"OwnerAccount"`
-	AccessKeyId            string           `position:"Query" name:"access_key_id"`
-	Tags                   string           `position:"Query" name:"Tags"`
-	LoadBalancerId         string           `position:"Query" name:"LoadBalancerId"`
-	LogsDownloadAttributes string           `position:"Query" name:"LogsDownloadAttributes"`
-}
-
-// SetAccessLogsDownloadAttributeResponse is the response struct for api SetAccessLogsDownloadAttribute
-type SetAccessLogsDownloadAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateSetAccessLogsDownloadAttributeRequest creates a request to invoke SetAccessLogsDownloadAttribute API
-func CreateSetAccessLogsDownloadAttributeRequest() (request *SetAccessLogsDownloadAttributeRequest) {
-	request = &SetAccessLogsDownloadAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Slb", "2014-05-15", "SetAccessLogsDownloadAttribute", "slb", "openAPI")
-	return
-}
-
-// CreateSetAccessLogsDownloadAttributeResponse creates a response to parse from SetAccessLogsDownloadAttribute response
-func CreateSetAccessLogsDownloadAttributeResponse() (response *SetAccessLogsDownloadAttributeResponse) {
-	response = &SetAccessLogsDownloadAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 2
services/slb/struct_backend_server.go

@@ -17,11 +17,11 @@ package slb
 
 // BackendServer is a nested struct in slb response
 type BackendServer struct {
-	ListenerPort       int    `json:"ListenerPort" xml:"ListenerPort"`
-	ServerId           string `json:"ServerId" xml:"ServerId"`
 	Port               int    `json:"Port" xml:"Port"`
 	ServerHealthStatus string `json:"ServerHealthStatus" xml:"ServerHealthStatus"`
 	VmName             string `json:"VmName" xml:"VmName"`
+	ServerId           string `json:"ServerId" xml:"ServerId"`
 	NetworkType        string `json:"NetworkType" xml:"NetworkType"`
+	ListenerPort       int    `json:"ListenerPort" xml:"ListenerPort"`
 	Weight             int    `json:"Weight" xml:"Weight"`
 }

+ 13 - 13
services/slb/struct_load_balancer.go

@@ -17,25 +17,25 @@ package slb
 
 // LoadBalancer is a nested struct in slb response
 type LoadBalancer struct {
-	ResourceGroupId          string                                                    `json:"ResourceGroupId" xml:"ResourceGroupId"`
-	VpcId                    string                                                    `json:"VpcId" xml:"VpcId"`
-	LoadBalancerName         string                                                    `json:"LoadBalancerName" xml:"LoadBalancerName"`
-	RegionIdAlias            string                                                    `json:"RegionIdAlias" xml:"RegionIdAlias"`
-	PayType                  string                                                    `json:"PayType" xml:"PayType"`
-	SlaveZoneId              string                                                    `json:"SlaveZoneId" xml:"SlaveZoneId"`
-	InternetChargeType       string                                                    `json:"InternetChargeType" xml:"InternetChargeType"`
-	Address                  string                                                    `json:"Address" xml:"Address"`
 	Count                    int                                                       `json:"Count" xml:"Count"`
-	CreateTime               string                                                    `json:"CreateTime" xml:"CreateTime"`
+	SlaveZoneId              string                                                    `json:"SlaveZoneId" xml:"SlaveZoneId"`
 	LoadBalancerStatus       string                                                    `json:"LoadBalancerStatus" xml:"LoadBalancerStatus"`
+	VSwitchId                string                                                    `json:"VSwitchId" xml:"VSwitchId"`
+	MasterZoneId             string                                                    `json:"MasterZoneId" xml:"MasterZoneId"`
+	PayType                  string                                                    `json:"PayType" xml:"PayType"`
+	RegionIdAlias            string                                                    `json:"RegionIdAlias" xml:"RegionIdAlias"`
+	CreateTime               string                                                    `json:"CreateTime" xml:"CreateTime"`
+	Address                  string                                                    `json:"Address" xml:"Address"`
 	LoadBalancerId           string                                                    `json:"LoadBalancerId" xml:"LoadBalancerId"`
 	CreateTimeStamp          int                                                       `json:"CreateTimeStamp" xml:"CreateTimeStamp"`
 	RegionId                 string                                                    `json:"RegionId" xml:"RegionId"`
-	MasterZoneId             string                                                    `json:"MasterZoneId" xml:"MasterZoneId"`
-	NetworkType              string                                                    `json:"NetworkType" xml:"NetworkType"`
-	VSwitchId                string                                                    `json:"VSwitchId" xml:"VSwitchId"`
+	ResourceGroupId          string                                                    `json:"ResourceGroupId" xml:"ResourceGroupId"`
+	LoadBalancerName         string                                                    `json:"LoadBalancerName" xml:"LoadBalancerName"`
+	InternetChargeType       string                                                    `json:"InternetChargeType" xml:"InternetChargeType"`
 	AddressType              string                                                    `json:"AddressType" xml:"AddressType"`
-	VServerGroups            VServerGroupsInDescribeLoadBalancersRelatedEcs            `json:"VServerGroups" xml:"VServerGroups"`
+	VpcId                    string                                                    `json:"VpcId" xml:"VpcId"`
+	NetworkType              string                                                    `json:"NetworkType" xml:"NetworkType"`
 	BackendServers           BackendServersInDescribeLoadBalancersRelatedEcs           `json:"BackendServers" xml:"BackendServers"`
+	VServerGroups            VServerGroupsInDescribeLoadBalancersRelatedEcs            `json:"VServerGroups" xml:"VServerGroups"`
 	MasterSlaveVServerGroups MasterSlaveVServerGroupsInDescribeLoadBalancersRelatedEcs `json:"MasterSlaveVServerGroups" xml:"MasterSlaveVServerGroups"`
 }

+ 0 - 26
services/slb/struct_logs_download_attribute.go

@@ -1,26 +0,0 @@
-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.
-
-// LogsDownloadAttribute is a nested struct in slb response
-type LogsDownloadAttribute struct {
-	LogProject     string `json:"LogProject" xml:"LogProject"`
-	LogStore       string `json:"LogStore" xml:"LogStore"`
-	LoadBalancerId string `json:"LoadBalancerId" xml:"LoadBalancerId"`
-	LogType        string `json:"LogType" xml:"LogType"`
-	RoleArn        string `json:"RoleArn" xml:"RoleArn"`
-	Region         string `json:"Region" xml:"Region"`
-}

+ 0 - 21
services/slb/struct_logs_download_attributes.go

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

+ 2 - 2
services/slb/struct_master_slave_backend_server.go

@@ -17,9 +17,9 @@ package slb
 
 // MasterSlaveBackendServer is a nested struct in slb response
 type MasterSlaveBackendServer struct {
-	ServerId   string `json:"ServerId" xml:"ServerId"`
 	Port       int    `json:"Port" xml:"Port"`
-	IsBackup   int    `json:"IsBackup" xml:"IsBackup"`
+	ServerId   string `json:"ServerId" xml:"ServerId"`
 	ServerType string `json:"ServerType" xml:"ServerType"`
 	Weight     int    `json:"Weight" xml:"Weight"`
+	IsBackup   int    `json:"IsBackup" xml:"IsBackup"`
 }

+ 2 - 2
services/slb/struct_master_slave_v_server_group.go

@@ -17,9 +17,9 @@ package slb
 
 // MasterSlaveVServerGroup is a nested struct in slb response
 type MasterSlaveVServerGroup struct {
-	GroupId                     string                                          `json:"GroupId" xml:"GroupId"`
 	MasterSlaveVServerGroupId   string                                          `json:"MasterSlaveVServerGroupId" xml:"MasterSlaveVServerGroupId"`
-	GroupName                   string                                          `json:"GroupName" xml:"GroupName"`
 	MasterSlaveVServerGroupName string                                          `json:"MasterSlaveVServerGroupName" xml:"MasterSlaveVServerGroupName"`
+	GroupName                   string                                          `json:"GroupName" xml:"GroupName"`
+	GroupId                     string                                          `json:"GroupId" xml:"GroupId"`
 	BackendServers              BackendServersInDescribeLoadBalancersRelatedEcs `json:"BackendServers" xml:"BackendServers"`
 }

+ 2 - 2
services/slb/struct_rule.go

@@ -17,9 +17,9 @@ package slb
 
 // Rule is a nested struct in slb response
 type Rule struct {
-	Url            string `json:"Url" xml:"Url"`
 	Domain         string `json:"Domain" xml:"Domain"`
-	RuleId         string `json:"RuleId" xml:"RuleId"`
 	VServerGroupId string `json:"VServerGroupId" xml:"VServerGroupId"`
 	RuleName       string `json:"RuleName" xml:"RuleName"`
+	RuleId         string `json:"RuleId" xml:"RuleId"`
+	Url            string `json:"Url" xml:"Url"`
 }

+ 1 - 1
services/slb/struct_v_server_group.go

@@ -17,9 +17,9 @@ package slb
 
 // VServerGroup is a nested struct in slb response
 type VServerGroup struct {
-	GroupId          string                                          `json:"GroupId" xml:"GroupId"`
 	VServerGroupId   string                                          `json:"VServerGroupId" xml:"VServerGroupId"`
 	GroupName        string                                          `json:"GroupName" xml:"GroupName"`
+	GroupId          string                                          `json:"GroupId" xml:"GroupId"`
 	VServerGroupName string                                          `json:"VServerGroupName" xml:"VServerGroupName"`
 	BackendServers   BackendServersInDescribeLoadBalancersRelatedEcs `json:"BackendServers" xml:"BackendServers"`
 }