Browse Source

Generated 2017-08-01 for Edas.

sdk-team 5 years ago
parent
commit
e962a6b33a
100 changed files with 1369 additions and 818 deletions
  1. 4 0
      ChangeLog.txt
  2. 109 0
      services/edas/abort_and_rollback_change_order.go
  3. 109 0
      services/edas/abort_change_order.go
  4. 1 1
      services/edas/authorize_application.go
  5. 1 1
      services/edas/authorize_resource_group.go
  6. 1 1
      services/edas/authorize_role.go
  7. 9 8
      services/edas/bind_k8s_slb.go
  8. 0 108
      services/edas/bind_serverless_slb.go
  9. 1 1
      services/edas/bind_slb.go
  10. 110 0
      services/edas/change_deploy_group.go
  11. 53 5
      services/edas/client.go
  12. 107 0
      services/edas/continue_pipeline.go
  13. 0 129
      services/edas/create_serverless_application.go
  14. 1 1
      services/edas/delete_application.go
  15. 1 1
      services/edas/delete_cluster.go
  16. 1 1
      services/edas/delete_cluster_member.go
  17. 1 1
      services/edas/delete_config_center.go
  18. 1 1
      services/edas/delete_degrade_control.go
  19. 1 1
      services/edas/delete_deploy_group.go
  20. 1 1
      services/edas/delete_ecu.go
  21. 1 1
      services/edas/delete_flow_control.go
  22. 1 1
      services/edas/delete_k8s_application.go
  23. 1 1
      services/edas/delete_role.go
  24. 0 107
      services/edas/delete_serverless_application.go
  25. 1 1
      services/edas/delete_service_group.go
  26. 1 1
      services/edas/delete_user_define_region.go
  27. 5 4
      services/edas/deploy_application.go
  28. 34 21
      services/edas/deploy_k8s_application.go
  29. 0 122
      services/edas/deploy_serverless_application.go
  30. 1 1
      services/edas/disable_degrade_control.go
  31. 1 1
      services/edas/disable_flow_control.go
  32. 1 1
      services/edas/enable_degrade_control.go
  33. 1 1
      services/edas/enable_flow_control.go
  34. 62 0
      services/edas/endpoint.go
  35. 1 1
      services/edas/get_application.go
  36. 1 1
      services/edas/get_change_order_info.go
  37. 1 1
      services/edas/get_cluster.go
  38. 1 1
      services/edas/get_container_configuration.go
  39. 1 1
      services/edas/get_jvm_configuration.go
  40. 108 0
      services/edas/get_k8s_application.go
  41. 1 1
      services/edas/get_package_storage_credential.go
  42. 110 0
      services/edas/get_scaling_rules.go
  43. 1 1
      services/edas/get_secure_token.go
  44. 0 106
      services/edas/get_serverless_app_config_detail.go
  45. 3 2
      services/edas/import_k8s_cluster.go
  46. 2 1
      services/edas/insert_application.go
  47. 1 1
      services/edas/insert_cluster.go
  48. 1 1
      services/edas/insert_cluster_member.go
  49. 1 1
      services/edas/insert_config_center.go
  50. 1 1
      services/edas/insert_degrade_control.go
  51. 1 1
      services/edas/insert_deploy_group.go
  52. 1 1
      services/edas/insert_flow_control.go
  53. 11 1
      services/edas/insert_k8s_application.go
  54. 1 1
      services/edas/insert_or_update_region.go
  55. 1 1
      services/edas/insert_role.go
  56. 0 129
      services/edas/insert_serverless_application.go
  57. 1 1
      services/edas/insert_service_group.go
  58. 1 1
      services/edas/install_agent.go
  59. 1 1
      services/edas/list_aliyun_region.go
  60. 1 1
      services/edas/list_application.go
  61. 1 1
      services/edas/list_application_ecu.go
  62. 1 1
      services/edas/list_authority.go
  63. 1 1
      services/edas/list_build_pack.go
  64. 1 1
      services/edas/list_cluster.go
  65. 1 1
      services/edas/list_cluster_members.go
  66. 1 1
      services/edas/list_components.go
  67. 1 1
      services/edas/list_config_centers.go
  68. 1 1
      services/edas/list_consumed_services.go
  69. 1 1
      services/edas/list_convertable_ecu.go
  70. 1 1
      services/edas/list_degrade_controls.go
  71. 1 1
      services/edas/list_deploy_group.go
  72. 1 1
      services/edas/list_ecs_not_in_cluster.go
  73. 1 1
      services/edas/list_ecu_by_region.go
  74. 1 1
      services/edas/list_flow_controls.go
  75. 1 1
      services/edas/list_history_deploy_version.go
  76. 108 0
      services/edas/list_methods.go
  77. 1 1
      services/edas/list_published_services.go
  78. 1 1
      services/edas/list_recent_change_order.go
  79. 1 1
      services/edas/list_resource_group.go
  80. 1 1
      services/edas/list_role.go
  81. 1 1
      services/edas/list_scale_out_ecu.go
  82. 1 1
      services/edas/list_service_groups.go
  83. 1 1
      services/edas/list_slb.go
  84. 1 1
      services/edas/list_sub_account.go
  85. 1 1
      services/edas/list_user_define_region.go
  86. 1 1
      services/edas/list_vpc.go
  87. 1 1
      services/edas/migrate_ecu.go
  88. 134 0
      services/edas/modify_scaling_rule.go
  89. 1 1
      services/edas/query_application_status.go
  90. 1 1
      services/edas/query_config_center.go
  91. 107 0
      services/edas/query_ecc_info.go
  92. 1 1
      services/edas/query_migrate_ecu_list.go
  93. 1 1
      services/edas/query_migrate_region_list.go
  94. 1 1
      services/edas/query_monitor_info.go
  95. 1 1
      services/edas/query_region_config.go
  96. 1 1
      services/edas/reset_application.go
  97. 1 1
      services/edas/rollback_application.go
  98. 109 0
      services/edas/rollback_change_order.go
  99. 1 1
      services/edas/scale_in_application.go
  100. 1 1
      services/edas/scale_k8s_application.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-03-04 Version: v1.61.25
+- Generated 2017-08-01 for `Edas`.
+- Add UpdateK8sResource API.
+
 2020-03-04 Version: v1.61.24
 - Generated 2019-10-30 for `aliyuncvc`.
 - Public beta version.

+ 109 - 0
services/edas/abort_and_rollback_change_order.go

@@ -0,0 +1,109 @@
+package edas
+
+//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"
+)
+
+// AbortAndRollbackChangeOrder invokes the edas.AbortAndRollbackChangeOrder API synchronously
+// api document: https://help.aliyun.com/api/edas/abortandrollbackchangeorder.html
+func (client *Client) AbortAndRollbackChangeOrder(request *AbortAndRollbackChangeOrderRequest) (response *AbortAndRollbackChangeOrderResponse, err error) {
+	response = CreateAbortAndRollbackChangeOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AbortAndRollbackChangeOrderWithChan invokes the edas.AbortAndRollbackChangeOrder API asynchronously
+// api document: https://help.aliyun.com/api/edas/abortandrollbackchangeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AbortAndRollbackChangeOrderWithChan(request *AbortAndRollbackChangeOrderRequest) (<-chan *AbortAndRollbackChangeOrderResponse, <-chan error) {
+	responseChan := make(chan *AbortAndRollbackChangeOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AbortAndRollbackChangeOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AbortAndRollbackChangeOrderWithCallback invokes the edas.AbortAndRollbackChangeOrder API asynchronously
+// api document: https://help.aliyun.com/api/edas/abortandrollbackchangeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AbortAndRollbackChangeOrderWithCallback(request *AbortAndRollbackChangeOrderRequest, callback func(response *AbortAndRollbackChangeOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AbortAndRollbackChangeOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.AbortAndRollbackChangeOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AbortAndRollbackChangeOrderRequest is the request struct for api AbortAndRollbackChangeOrder
+type AbortAndRollbackChangeOrderRequest struct {
+	*requests.RoaRequest
+	ChangeOrderId string `position:"Query" name:"ChangeOrderId"`
+}
+
+// AbortAndRollbackChangeOrderResponse is the response struct for api AbortAndRollbackChangeOrder
+type AbortAndRollbackChangeOrderResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      int    `json:"Code" xml:"Code"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+	Message   string `json:"Message" xml:"Message"`
+	TraceId   string `json:"TraceId" xml:"TraceId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateAbortAndRollbackChangeOrderRequest creates a request to invoke AbortAndRollbackChangeOrder API
+func CreateAbortAndRollbackChangeOrderRequest() (request *AbortAndRollbackChangeOrderRequest) {
+	request = &AbortAndRollbackChangeOrderRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "AbortAndRollbackChangeOrder", "/pop/v5/changeorder/change_order_abort_and_rollback", "Edas", "openAPI")
+	request.Method = requests.PUT
+	return
+}
+
+// CreateAbortAndRollbackChangeOrderResponse creates a response to parse from AbortAndRollbackChangeOrder response
+func CreateAbortAndRollbackChangeOrderResponse() (response *AbortAndRollbackChangeOrderResponse) {
+	response = &AbortAndRollbackChangeOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/edas/abort_change_order.go

@@ -0,0 +1,109 @@
+package edas
+
+//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"
+)
+
+// AbortChangeOrder invokes the edas.AbortChangeOrder API synchronously
+// api document: https://help.aliyun.com/api/edas/abortchangeorder.html
+func (client *Client) AbortChangeOrder(request *AbortChangeOrderRequest) (response *AbortChangeOrderResponse, err error) {
+	response = CreateAbortChangeOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// AbortChangeOrderWithChan invokes the edas.AbortChangeOrder API asynchronously
+// api document: https://help.aliyun.com/api/edas/abortchangeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AbortChangeOrderWithChan(request *AbortChangeOrderRequest) (<-chan *AbortChangeOrderResponse, <-chan error) {
+	responseChan := make(chan *AbortChangeOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.AbortChangeOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// AbortChangeOrderWithCallback invokes the edas.AbortChangeOrder API asynchronously
+// api document: https://help.aliyun.com/api/edas/abortchangeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) AbortChangeOrderWithCallback(request *AbortChangeOrderRequest, callback func(response *AbortChangeOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *AbortChangeOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.AbortChangeOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// AbortChangeOrderRequest is the request struct for api AbortChangeOrder
+type AbortChangeOrderRequest struct {
+	*requests.RoaRequest
+	ChangeOrderId string `position:"Query" name:"ChangeOrderId"`
+}
+
+// AbortChangeOrderResponse is the response struct for api AbortChangeOrder
+type AbortChangeOrderResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      int    `json:"Code" xml:"Code"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+	Message   string `json:"Message" xml:"Message"`
+	TraceId   string `json:"TraceId" xml:"TraceId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateAbortChangeOrderRequest creates a request to invoke AbortChangeOrder API
+func CreateAbortChangeOrderRequest() (request *AbortChangeOrderRequest) {
+	request = &AbortChangeOrderRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "AbortChangeOrder", "/pop/v5/changeorder/change_order_abort", "Edas", "openAPI")
+	request.Method = requests.PUT
+	return
+}
+
+// CreateAbortChangeOrderResponse creates a response to parse from AbortChangeOrder response
+func CreateAbortChangeOrderResponse() (response *AbortChangeOrderResponse) {
+	response = &AbortChangeOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/authorize_application.go

@@ -93,7 +93,7 @@ func CreateAuthorizeApplicationRequest() (request *AuthorizeApplicationRequest)
 	request = &AuthorizeApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "AuthorizeApplication", "/pop/v5/account/authorize_app", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "AuthorizeApplication", "/pop/v5/account/authorize_app", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/authorize_resource_group.go

@@ -93,7 +93,7 @@ func CreateAuthorizeResourceGroupRequest() (request *AuthorizeResourceGroupReque
 	request = &AuthorizeResourceGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "AuthorizeResourceGroup", "/pop/v5/account/authorize_res_group", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "AuthorizeResourceGroup", "/pop/v5/account/authorize_res_group", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/authorize_role.go

@@ -93,7 +93,7 @@ func CreateAuthorizeRoleRequest() (request *AuthorizeRoleRequest) {
 	request = &AuthorizeRoleRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "AuthorizeRole", "/pop/v5/account/authorize_role", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "AuthorizeRole", "/pop/v5/account/authorize_role", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 9 - 8
services/edas/bind_k8s_slb.go

@@ -76,13 +76,14 @@ func (client *Client) BindK8sSlbWithCallback(request *BindK8sSlbRequest, callbac
 // BindK8sSlbRequest is the request struct for api BindK8sSlb
 type BindK8sSlbRequest struct {
 	*requests.RoaRequest
-	SlbId       string `position:"Query" name:"SlbId"`
-	SlbProtocol string `position:"Query" name:"SlbProtocol"`
-	Port        string `position:"Query" name:"Port"`
-	AppId       string `position:"Query" name:"AppId"`
-	ClusterId   string `position:"Query" name:"ClusterId"`
-	Type        string `position:"Query" name:"Type"`
-	TargetPort  string `position:"Query" name:"TargetPort"`
+	ServicePortInfos string `position:"Query" name:"ServicePortInfos"`
+	SlbId            string `position:"Query" name:"SlbId"`
+	SlbProtocol      string `position:"Query" name:"SlbProtocol"`
+	Port             string `position:"Query" name:"Port"`
+	AppId            string `position:"Query" name:"AppId"`
+	ClusterId        string `position:"Query" name:"ClusterId"`
+	Type             string `position:"Query" name:"Type"`
+	TargetPort       string `position:"Query" name:"TargetPort"`
 }
 
 // BindK8sSlbResponse is the response struct for api BindK8sSlb
@@ -99,7 +100,7 @@ func CreateBindK8sSlbRequest() (request *BindK8sSlbRequest) {
 	request = &BindK8sSlbRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "BindK8sSlb", "/pop/v5/k8s/acs/k8s_slb_binding", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "BindK8sSlb", "/pop/v5/k8s/acs/k8s_slb_binding", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 0 - 108
services/edas/bind_serverless_slb.go

@@ -1,108 +0,0 @@
-package edas
-
-//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"
-)
-
-// BindServerlessSlb invokes the edas.BindServerlessSlb API synchronously
-// api document: https://help.aliyun.com/api/edas/bindserverlessslb.html
-func (client *Client) BindServerlessSlb(request *BindServerlessSlbRequest) (response *BindServerlessSlbResponse, err error) {
-	response = CreateBindServerlessSlbResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// BindServerlessSlbWithChan invokes the edas.BindServerlessSlb API asynchronously
-// api document: https://help.aliyun.com/api/edas/bindserverlessslb.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) BindServerlessSlbWithChan(request *BindServerlessSlbRequest) (<-chan *BindServerlessSlbResponse, <-chan error) {
-	responseChan := make(chan *BindServerlessSlbResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.BindServerlessSlb(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// BindServerlessSlbWithCallback invokes the edas.BindServerlessSlb API asynchronously
-// api document: https://help.aliyun.com/api/edas/bindserverlessslb.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) BindServerlessSlbWithCallback(request *BindServerlessSlbRequest, callback func(response *BindServerlessSlbResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *BindServerlessSlbResponse
-		var err error
-		defer close(result)
-		response, err = client.BindServerlessSlb(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// BindServerlessSlbRequest is the request struct for api BindServerlessSlb
-type BindServerlessSlbRequest struct {
-	*requests.RoaRequest
-	Intranet string `position:"Query" name:"Intranet"`
-	AppId    string `position:"Query" name:"AppId"`
-	Internet string `position:"Query" name:"Internet"`
-}
-
-// BindServerlessSlbResponse is the response struct for api BindServerlessSlb
-type BindServerlessSlbResponse struct {
-	*responses.BaseResponse
-	Code          int    `json:"Code" xml:"Code"`
-	Message       string `json:"Message" xml:"Message"`
-	ChangeOrderId string `json:"ChangeOrderId" xml:"ChangeOrderId"`
-}
-
-// CreateBindServerlessSlbRequest creates a request to invoke BindServerlessSlb API
-func CreateBindServerlessSlbRequest() (request *BindServerlessSlbRequest) {
-	request = &BindServerlessSlbRequest{
-		RoaRequest: &requests.RoaRequest{},
-	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "BindServerlessSlb", "/pop/v5/k8s/acs/serverless_slb_binding", "", "")
-	request.Method = requests.POST
-	return
-}
-
-// CreateBindServerlessSlbResponse creates a response to parse from BindServerlessSlb response
-func CreateBindServerlessSlbResponse() (response *BindServerlessSlbResponse) {
-	response = &BindServerlessSlbResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/edas/bind_slb.go

@@ -98,7 +98,7 @@ func CreateBindSlbRequest() (request *BindSlbRequest) {
 	request = &BindSlbRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "BindSlb", "/pop/app/bind_slb_json", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "BindSlb", "/pop/app/bind_slb_json", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 110 - 0
services/edas/change_deploy_group.go

@@ -0,0 +1,110 @@
+package edas
+
+//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"
+)
+
+// ChangeDeployGroup invokes the edas.ChangeDeployGroup API synchronously
+// api document: https://help.aliyun.com/api/edas/changedeploygroup.html
+func (client *Client) ChangeDeployGroup(request *ChangeDeployGroupRequest) (response *ChangeDeployGroupResponse, err error) {
+	response = CreateChangeDeployGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ChangeDeployGroupWithChan invokes the edas.ChangeDeployGroup API asynchronously
+// api document: https://help.aliyun.com/api/edas/changedeploygroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ChangeDeployGroupWithChan(request *ChangeDeployGroupRequest) (<-chan *ChangeDeployGroupResponse, <-chan error) {
+	responseChan := make(chan *ChangeDeployGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ChangeDeployGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ChangeDeployGroupWithCallback invokes the edas.ChangeDeployGroup API asynchronously
+// api document: https://help.aliyun.com/api/edas/changedeploygroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ChangeDeployGroupWithCallback(request *ChangeDeployGroupRequest, callback func(response *ChangeDeployGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ChangeDeployGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.ChangeDeployGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ChangeDeployGroupRequest is the request struct for api ChangeDeployGroup
+type ChangeDeployGroupRequest struct {
+	*requests.RoaRequest
+	ForceStatus requests.Boolean `position:"Query" name:"ForceStatus"`
+	AppId       string           `position:"Query" name:"AppId"`
+	EccInfo     string           `position:"Query" name:"EccInfo"`
+	GroupName   string           `position:"Query" name:"GroupName"`
+}
+
+// ChangeDeployGroupResponse is the response struct for api ChangeDeployGroup
+type ChangeDeployGroupResponse struct {
+	*responses.BaseResponse
+	Code          int    `json:"Code" xml:"Code"`
+	Message       string `json:"Message" xml:"Message"`
+	ChangeOrderId string `json:"ChangeOrderId" xml:"ChangeOrderId"`
+	RequestId     string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateChangeDeployGroupRequest creates a request to invoke ChangeDeployGroup API
+func CreateChangeDeployGroupRequest() (request *ChangeDeployGroupRequest) {
+	request = &ChangeDeployGroupRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "ChangeDeployGroup", "/pop/v5/changeorder/co_change_group", "Edas", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateChangeDeployGroupResponse creates a response to parse from ChangeDeployGroup response
+func CreateChangeDeployGroupResponse() (response *ChangeDeployGroupResponse) {
+	response = &ChangeDeployGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 53 - 5
services/edas/client.go

@@ -16,8 +16,11 @@ package edas
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -25,10 +28,40 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -37,45 +70,60 @@ func NewClient() (client *Client, err error) {
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 107 - 0
services/edas/continue_pipeline.go

@@ -0,0 +1,107 @@
+package edas
+
+//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"
+)
+
+// ContinuePipeline invokes the edas.ContinuePipeline API synchronously
+// api document: https://help.aliyun.com/api/edas/continuepipeline.html
+func (client *Client) ContinuePipeline(request *ContinuePipelineRequest) (response *ContinuePipelineResponse, err error) {
+	response = CreateContinuePipelineResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ContinuePipelineWithChan invokes the edas.ContinuePipeline API asynchronously
+// api document: https://help.aliyun.com/api/edas/continuepipeline.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ContinuePipelineWithChan(request *ContinuePipelineRequest) (<-chan *ContinuePipelineResponse, <-chan error) {
+	responseChan := make(chan *ContinuePipelineResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ContinuePipeline(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ContinuePipelineWithCallback invokes the edas.ContinuePipeline API asynchronously
+// api document: https://help.aliyun.com/api/edas/continuepipeline.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ContinuePipelineWithCallback(request *ContinuePipelineRequest, callback func(response *ContinuePipelineResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ContinuePipelineResponse
+		var err error
+		defer close(result)
+		response, err = client.ContinuePipeline(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ContinuePipelineRequest is the request struct for api ContinuePipeline
+type ContinuePipelineRequest struct {
+	*requests.RoaRequest
+	Confirm    requests.Boolean `position:"Query" name:"Confirm"`
+	PipelineId string           `position:"Query" name:"PipelineId"`
+}
+
+// ContinuePipelineResponse is the response struct for api ContinuePipeline
+type ContinuePipelineResponse struct {
+	*responses.BaseResponse
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateContinuePipelineRequest creates a request to invoke ContinuePipeline API
+func CreateContinuePipelineRequest() (request *ContinuePipelineRequest) {
+	request = &ContinuePipelineRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "ContinuePipeline", "/pop/v5/changeorder/pipeline_batch_confirm", "Edas", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateContinuePipelineResponse creates a response to parse from ContinuePipeline response
+func CreateContinuePipelineResponse() (response *ContinuePipelineResponse) {
+	response = &ContinuePipelineResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 129
services/edas/create_serverless_application.go

@@ -1,129 +0,0 @@
-package edas
-
-//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"
-)
-
-// CreateServerlessApplication invokes the edas.CreateServerlessApplication API synchronously
-// api document: https://help.aliyun.com/api/edas/createserverlessapplication.html
-func (client *Client) CreateServerlessApplication(request *CreateServerlessApplicationRequest) (response *CreateServerlessApplicationResponse, err error) {
-	response = CreateCreateServerlessApplicationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateServerlessApplicationWithChan invokes the edas.CreateServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/createserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateServerlessApplicationWithChan(request *CreateServerlessApplicationRequest) (<-chan *CreateServerlessApplicationResponse, <-chan error) {
-	responseChan := make(chan *CreateServerlessApplicationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateServerlessApplication(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateServerlessApplicationWithCallback invokes the edas.CreateServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/createserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateServerlessApplicationWithCallback(request *CreateServerlessApplicationRequest, callback func(response *CreateServerlessApplicationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateServerlessApplicationResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateServerlessApplication(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateServerlessApplicationRequest is the request struct for api CreateServerlessApplication
-type CreateServerlessApplicationRequest struct {
-	*requests.RoaRequest
-	WebContainer    string           `position:"Query" name:"WebContainer"`
-	JarStartArgs    string           `position:"Query" name:"JarStartArgs"`
-	Memory          requests.Integer `position:"Query" name:"Memory"`
-	BuildPackId     requests.Integer `position:"Query" name:"BuildPackId"`
-	CommandArgs     string           `position:"Query" name:"CommandArgs"`
-	Replicas        requests.Integer `position:"Query" name:"Replicas"`
-	Readiness       string           `position:"Query" name:"Readiness"`
-	Liveness        string           `position:"Query" name:"Liveness"`
-	Cpu             requests.Integer `position:"Query" name:"Cpu"`
-	Envs            string           `position:"Query" name:"Envs"`
-	PackageVersion  string           `position:"Query" name:"PackageVersion"`
-	Command         string           `position:"Query" name:"Command"`
-	CustomHostAlias string           `position:"Query" name:"CustomHostAlias"`
-	Deploy          requests.Boolean `position:"Query" name:"Deploy"`
-	VSwitchId       string           `position:"Query" name:"VSwitchId"`
-	Jdk             string           `position:"Query" name:"Jdk"`
-	AppDescription  string           `position:"Query" name:"AppDescription"`
-	JarStartOptions string           `position:"Query" name:"JarStartOptions"`
-	AppName         string           `position:"Query" name:"AppName"`
-	NamespaceId     string           `position:"Query" name:"NamespaceId"`
-	PackageUrl      string           `position:"Query" name:"PackageUrl"`
-	VpcId           string           `position:"Query" name:"VpcId"`
-	ImageUrl        string           `position:"Query" name:"ImageUrl"`
-	PackageType     string           `position:"Query" name:"PackageType"`
-}
-
-// CreateServerlessApplicationResponse is the response struct for api CreateServerlessApplication
-type CreateServerlessApplicationResponse struct {
-	*responses.BaseResponse
-	Code    int    `json:"Code" xml:"Code"`
-	Message string `json:"Message" xml:"Message"`
-	Data    Data   `json:"Data" xml:"Data"`
-}
-
-// CreateCreateServerlessApplicationRequest creates a request to invoke CreateServerlessApplication API
-func CreateCreateServerlessApplicationRequest() (request *CreateServerlessApplicationRequest) {
-	request = &CreateServerlessApplicationRequest{
-		RoaRequest: &requests.RoaRequest{},
-	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "CreateServerlessApplication", "/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy", "", "")
-	request.Method = requests.POST
-	return
-}
-
-// CreateCreateServerlessApplicationResponse creates a response to parse from CreateServerlessApplication response
-func CreateCreateServerlessApplicationResponse() (response *CreateServerlessApplicationResponse) {
-	response = &CreateServerlessApplicationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/edas/delete_application.go

@@ -93,7 +93,7 @@ func CreateDeleteApplicationRequest() (request *DeleteApplicationRequest) {
 	request = &DeleteApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteApplication", "/pop/v5/changeorder/co_delete_app", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteApplication", "/pop/v5/changeorder/co_delete_app", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_cluster.go

@@ -93,7 +93,7 @@ func CreateDeleteClusterRequest() (request *DeleteClusterRequest) {
 	request = &DeleteClusterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteCluster", "/pop/v5/resource/cluster", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteCluster", "/pop/v5/resource/cluster", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_cluster_member.go

@@ -94,7 +94,7 @@ func CreateDeleteClusterMemberRequest() (request *DeleteClusterMemberRequest) {
 	request = &DeleteClusterMemberRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteClusterMember", "/pop/v5/resource/cluster_member", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteClusterMember", "/pop/v5/resource/cluster_member", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_config_center.go

@@ -94,7 +94,7 @@ func CreateDeleteConfigCenterRequest() (request *DeleteConfigCenterRequest) {
 	request = &DeleteConfigCenterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteConfigCenter", "/pop/v5/configCenter", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteConfigCenter", "/pop/v5/configCenter", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_degrade_control.go

@@ -93,7 +93,7 @@ func CreateDeleteDegradeControlRequest() (request *DeleteDegradeControlRequest)
 	request = &DeleteDegradeControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteDegradeControl", "/pop/v5/degradeControl", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteDegradeControl", "/pop/v5/degradeControl", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_deploy_group.go

@@ -94,7 +94,7 @@ func CreateDeleteDeployGroupRequest() (request *DeleteDeployGroupRequest) {
 	request = &DeleteDeployGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteDeployGroup", "/pop/v5/deploy_group", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteDeployGroup", "/pop/v5/deploy_group", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_ecu.go

@@ -93,7 +93,7 @@ func CreateDeleteEcuRequest() (request *DeleteEcuRequest) {
 	request = &DeleteEcuRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteEcu", "/pop/v5/resource/delete_ecu", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteEcu", "/pop/v5/resource/delete_ecu", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/delete_flow_control.go

@@ -93,7 +93,7 @@ func CreateDeleteFlowControlRequest() (request *DeleteFlowControlRequest) {
 	request = &DeleteFlowControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteFlowControl", "/pop/v5/flowControl", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteFlowControl", "/pop/v5/flowControl", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_k8s_application.go

@@ -93,7 +93,7 @@ func CreateDeleteK8sApplicationRequest() (request *DeleteK8sApplicationRequest)
 	request = &DeleteK8sApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteK8sApplication", "/pop/v5/k8s/acs/k8s_apps", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteK8sApplication", "/pop/v5/k8s/acs/k8s_apps", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_role.go

@@ -92,7 +92,7 @@ func CreateDeleteRoleRequest() (request *DeleteRoleRequest) {
 	request = &DeleteRoleRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteRole", "/pop/v5/account/delete_role", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteRole", "/pop/v5/account/delete_role", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 0 - 107
services/edas/delete_serverless_application.go

@@ -1,107 +0,0 @@
-package edas
-
-//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"
-)
-
-// DeleteServerlessApplication invokes the edas.DeleteServerlessApplication API synchronously
-// api document: https://help.aliyun.com/api/edas/deleteserverlessapplication.html
-func (client *Client) DeleteServerlessApplication(request *DeleteServerlessApplicationRequest) (response *DeleteServerlessApplicationResponse, err error) {
-	response = CreateDeleteServerlessApplicationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteServerlessApplicationWithChan invokes the edas.DeleteServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/deleteserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteServerlessApplicationWithChan(request *DeleteServerlessApplicationRequest) (<-chan *DeleteServerlessApplicationResponse, <-chan error) {
-	responseChan := make(chan *DeleteServerlessApplicationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteServerlessApplication(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteServerlessApplicationWithCallback invokes the edas.DeleteServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/deleteserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteServerlessApplicationWithCallback(request *DeleteServerlessApplicationRequest, callback func(response *DeleteServerlessApplicationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteServerlessApplicationResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteServerlessApplication(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteServerlessApplicationRequest is the request struct for api DeleteServerlessApplication
-type DeleteServerlessApplicationRequest struct {
-	*requests.RoaRequest
-	Act   string `position:"Query" name:"Act"`
-	AppId string `position:"Query" name:"AppId"`
-}
-
-// DeleteServerlessApplicationResponse is the response struct for api DeleteServerlessApplication
-type DeleteServerlessApplicationResponse struct {
-	*responses.BaseResponse
-	Code          int    `json:"Code" xml:"Code"`
-	Message       string `json:"Message" xml:"Message"`
-	ChangeOrderId string `json:"ChangeOrderId" xml:"ChangeOrderId"`
-}
-
-// CreateDeleteServerlessApplicationRequest creates a request to invoke DeleteServerlessApplication API
-func CreateDeleteServerlessApplicationRequest() (request *DeleteServerlessApplicationRequest) {
-	request = &DeleteServerlessApplicationRequest{
-		RoaRequest: &requests.RoaRequest{},
-	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteServerlessApplication", "/pop/v5/k8s/pop/pop_serverless_app_delete", "", "")
-	request.Method = requests.DELETE
-	return
-}
-
-// CreateDeleteServerlessApplicationResponse creates a response to parse from DeleteServerlessApplication response
-func CreateDeleteServerlessApplicationResponse() (response *DeleteServerlessApplicationResponse) {
-	response = &DeleteServerlessApplicationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/edas/delete_service_group.go

@@ -92,7 +92,7 @@ func CreateDeleteServiceGroupRequest() (request *DeleteServiceGroupRequest) {
 	request = &DeleteServiceGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteServiceGroup", "/pop/v5/service/serviceGroups", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteServiceGroup", "/pop/v5/service/serviceGroups", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 1 - 1
services/edas/delete_user_define_region.go

@@ -94,7 +94,7 @@ func CreateDeleteUserDefineRegionRequest() (request *DeleteUserDefineRegionReque
 	request = &DeleteUserDefineRegionRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteUserDefineRegion", "/pop/v5/user_region_def", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeleteUserDefineRegion", "/pop/v5/user_region_def", "Edas", "openAPI")
 	request.Method = requests.DELETE
 	return
 }

+ 5 - 4
services/edas/deploy_application.go

@@ -78,14 +78,15 @@ type DeployApplicationRequest struct {
 	*requests.RoaRequest
 	BuildPackId    requests.Integer `position:"Query" name:"BuildPackId"`
 	ComponentIds   string           `position:"Query" name:"ComponentIds"`
-	AppId          string           `position:"Query" name:"AppId"`
-	ImageUrl       string           `position:"Query" name:"ImageUrl"`
 	GroupId        string           `position:"Query" name:"GroupId"`
 	BatchWaitTime  requests.Integer `position:"Query" name:"BatchWaitTime"`
+	ReleaseType    requests.Integer `position:"Query" name:"ReleaseType"`
 	Batch          requests.Integer `position:"Query" name:"Batch"`
 	AppEnv         string           `position:"Query" name:"AppEnv"`
-	WarUrl         string           `position:"Query" name:"WarUrl"`
 	PackageVersion string           `position:"Query" name:"PackageVersion"`
+	AppId          string           `position:"Query" name:"AppId"`
+	ImageUrl       string           `position:"Query" name:"ImageUrl"`
+	WarUrl         string           `position:"Query" name:"WarUrl"`
 	Desc           string           `position:"Query" name:"Desc"`
 	DeployType     string           `position:"Query" name:"DeployType"`
 }
@@ -104,7 +105,7 @@ func CreateDeployApplicationRequest() (request *DeployApplicationRequest) {
 	request = &DeployApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeployApplication", "/pop/v5/changeorder/co_deploy", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeployApplication", "/pop/v5/changeorder/co_deploy", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 34 - 21
services/edas/deploy_k8s_application.go

@@ -76,26 +76,39 @@ func (client *Client) DeployK8sApplicationWithCallback(request *DeployK8sApplica
 // DeployK8sApplicationRequest is the request struct for api DeployK8sApplication
 type DeployK8sApplicationRequest struct {
 	*requests.RoaRequest
-	MemoryRequest requests.Integer `position:"Query" name:"MemoryRequest"`
-	NasId         string           `position:"Query" name:"NasId"`
-	Image         string           `position:"Query" name:"Image"`
-	PreStop       string           `position:"Query" name:"PreStop"`
-	MountDescs    string           `position:"Query" name:"MountDescs"`
-	Readiness     string           `position:"Query" name:"Readiness"`
-	Replicas      requests.Integer `position:"Query" name:"Replicas"`
-	BatchWaitTime requests.Integer `position:"Query" name:"BatchWaitTime"`
-	Liveness      string           `position:"Query" name:"Liveness"`
-	CpuRequest    requests.Integer `position:"Query" name:"CpuRequest"`
-	Envs          string           `position:"Query" name:"Envs"`
-	CpuLimit      requests.Integer `position:"Query" name:"CpuLimit"`
-	LocalVolume   string           `position:"Query" name:"LocalVolume"`
-	Command       string           `position:"Query" name:"Command"`
-	StorageType   string           `position:"Query" name:"StorageType"`
-	Args          string           `position:"Query" name:"Args"`
-	AppId         string           `position:"Query" name:"AppId"`
-	MemoryLimit   requests.Integer `position:"Query" name:"MemoryLimit"`
-	ImageTag      string           `position:"Query" name:"ImageTag"`
-	PostStart     string           `position:"Query" name:"PostStart"`
+	NasId                string           `position:"Query" name:"NasId"`
+	WebContainer         string           `position:"Query" name:"WebContainer"`
+	Readiness            string           `position:"Query" name:"Readiness"`
+	PackageVersionId     string           `position:"Query" name:"PackageVersionId"`
+	BatchWaitTime        requests.Integer `position:"Query" name:"BatchWaitTime"`
+	Liveness             string           `position:"Query" name:"Liveness"`
+	Envs                 string           `position:"Query" name:"Envs"`
+	CpuLimit             requests.Integer `position:"Query" name:"CpuLimit"`
+	PackageVersion       string           `position:"Query" name:"PackageVersion"`
+	StorageType          string           `position:"Query" name:"StorageType"`
+	EdasContainerVersion string           `position:"Query" name:"EdasContainerVersion"`
+	PackageUrl           string           `position:"Query" name:"PackageUrl"`
+	MemoryLimit          requests.Integer `position:"Query" name:"MemoryLimit"`
+	ImageTag             string           `position:"Query" name:"ImageTag"`
+	MemoryRequest        requests.Integer `position:"Query" name:"MemoryRequest"`
+	Image                string           `position:"Query" name:"Image"`
+	PreStop              string           `position:"Query" name:"PreStop"`
+	MountDescs           string           `position:"Query" name:"MountDescs"`
+	Replicas             requests.Integer `position:"Query" name:"Replicas"`
+	CpuRequest           requests.Integer `position:"Query" name:"CpuRequest"`
+	LocalVolume          string           `position:"Query" name:"LocalVolume"`
+	Command              string           `position:"Query" name:"Command"`
+	UpdateStrategy       string           `position:"Query" name:"UpdateStrategy"`
+	Args                 string           `position:"Query" name:"Args"`
+	JDK                  string           `position:"Query" name:"JDK"`
+	UseBodyEncoding      requests.Boolean `position:"Query" name:"UseBodyEncoding"`
+	ChangeOrderDesc      string           `position:"Query" name:"ChangeOrderDesc"`
+	UriEncoding          string           `position:"Query" name:"UriEncoding"`
+	AppId                string           `position:"Query" name:"AppId"`
+	McpuRequest          requests.Integer `position:"Query" name:"McpuRequest"`
+	McpuLimit            requests.Integer `position:"Query" name:"McpuLimit"`
+	VolumesStr           string           `position:"Query" name:"VolumesStr"`
+	PostStart            string           `position:"Query" name:"PostStart"`
 }
 
 // DeployK8sApplicationResponse is the response struct for api DeployK8sApplication
@@ -112,7 +125,7 @@ func CreateDeployK8sApplicationRequest() (request *DeployK8sApplicationRequest)
 	request = &DeployK8sApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeployK8sApplication", "/pop/v5/k8s/acs/k8s_apps", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DeployK8sApplication", "/pop/v5/k8s/acs/k8s_apps", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 0 - 122
services/edas/deploy_serverless_application.go

@@ -1,122 +0,0 @@
-package edas
-
-//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"
-)
-
-// DeployServerlessApplication invokes the edas.DeployServerlessApplication API synchronously
-// api document: https://help.aliyun.com/api/edas/deployserverlessapplication.html
-func (client *Client) DeployServerlessApplication(request *DeployServerlessApplicationRequest) (response *DeployServerlessApplicationResponse, err error) {
-	response = CreateDeployServerlessApplicationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeployServerlessApplicationWithChan invokes the edas.DeployServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/deployserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeployServerlessApplicationWithChan(request *DeployServerlessApplicationRequest) (<-chan *DeployServerlessApplicationResponse, <-chan error) {
-	responseChan := make(chan *DeployServerlessApplicationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeployServerlessApplication(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeployServerlessApplicationWithCallback invokes the edas.DeployServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/deployserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeployServerlessApplicationWithCallback(request *DeployServerlessApplicationRequest, callback func(response *DeployServerlessApplicationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeployServerlessApplicationResponse
-		var err error
-		defer close(result)
-		response, err = client.DeployServerlessApplication(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeployServerlessApplicationRequest is the request struct for api DeployServerlessApplication
-type DeployServerlessApplicationRequest struct {
-	*requests.RoaRequest
-	WebContainer      string           `position:"Query" name:"WebContainer"`
-	JarStartArgs      string           `position:"Query" name:"JarStartArgs"`
-	BuildPackId       requests.Integer `position:"Query" name:"BuildPackId"`
-	CommandArgs       string           `position:"Query" name:"CommandArgs"`
-	Readiness         string           `position:"Query" name:"Readiness"`
-	BatchWaitTime     requests.Integer `position:"Query" name:"BatchWaitTime"`
-	Liveness          string           `position:"Query" name:"Liveness"`
-	Envs              string           `position:"Query" name:"Envs"`
-	PackageVersion    string           `position:"Query" name:"PackageVersion"`
-	Command           string           `position:"Query" name:"Command"`
-	CustomHostAlias   string           `position:"Query" name:"CustomHostAlias"`
-	Jdk               string           `position:"Query" name:"Jdk"`
-	JarStartOptions   string           `position:"Query" name:"JarStartOptions"`
-	MinReadyInstances requests.Integer `position:"Query" name:"MinReadyInstances"`
-	PackageUrl        string           `position:"Query" name:"PackageUrl"`
-	AppId             string           `position:"Query" name:"AppId"`
-	ImageUrl          string           `position:"Query" name:"ImageUrl"`
-}
-
-// DeployServerlessApplicationResponse is the response struct for api DeployServerlessApplication
-type DeployServerlessApplicationResponse struct {
-	*responses.BaseResponse
-	Code    int    `json:"Code" xml:"Code"`
-	Message string `json:"Message" xml:"Message"`
-	Data    Data   `json:"Data" xml:"Data"`
-}
-
-// CreateDeployServerlessApplicationRequest creates a request to invoke DeployServerlessApplication API
-func CreateDeployServerlessApplicationRequest() (request *DeployServerlessApplicationRequest) {
-	request = &DeployServerlessApplicationRequest{
-		RoaRequest: &requests.RoaRequest{},
-	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DeployServerlessApplication", "/pop/v5/k8s/pop/pop_serverless_app_deploy", "", "")
-	request.Method = requests.POST
-	return
-}
-
-// CreateDeployServerlessApplicationResponse creates a response to parse from DeployServerlessApplication response
-func CreateDeployServerlessApplicationResponse() (response *DeployServerlessApplicationResponse) {
-	response = &DeployServerlessApplicationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/edas/disable_degrade_control.go

@@ -93,7 +93,7 @@ func CreateDisableDegradeControlRequest() (request *DisableDegradeControlRequest
 	request = &DisableDegradeControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DisableDegradeControl", "/pop/v5/degradecontrol/disable", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DisableDegradeControl", "/pop/v5/degradecontrol/disable", "Edas", "openAPI")
 	request.Method = requests.PUT
 	return
 }

+ 1 - 1
services/edas/disable_flow_control.go

@@ -93,7 +93,7 @@ func CreateDisableFlowControlRequest() (request *DisableFlowControlRequest) {
 	request = &DisableFlowControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "DisableFlowControl", "/pop/v5/flowcontrol/disable", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "DisableFlowControl", "/pop/v5/flowcontrol/disable", "Edas", "openAPI")
 	request.Method = requests.PUT
 	return
 }

+ 1 - 1
services/edas/enable_degrade_control.go

@@ -93,7 +93,7 @@ func CreateEnableDegradeControlRequest() (request *EnableDegradeControlRequest)
 	request = &EnableDegradeControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "EnableDegradeControl", "/pop/v5/degradecontrol/enable", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "EnableDegradeControl", "/pop/v5/degradecontrol/enable", "Edas", "openAPI")
 	request.Method = requests.PUT
 	return
 }

+ 1 - 1
services/edas/enable_flow_control.go

@@ -93,7 +93,7 @@ func CreateEnableFlowControlRequest() (request *EnableFlowControlRequest) {
 	request = &EnableFlowControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "EnableFlowControl", "/pop/v5/flowcontrol/enable", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "EnableFlowControl", "/pop/v5/flowcontrol/enable", "Edas", "openAPI")
 	request.Method = requests.PUT
 	return
 }

+ 62 - 0
services/edas/endpoint.go

@@ -0,0 +1,62 @@
+package edas
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "regional"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{
+			"cn-shanghai-internal-test-1": "edas.aliyuncs.com",
+			"cn-beijing-gov-1":            "edas.aliyuncs.com",
+			"cn-shenzhen-su18-b01":        "edas.aliyuncs.com",
+			"ap-south-1":                  "edas.ap-northeast-1.aliyuncs.com",
+			"cn-shanghai-inner":           "edas.aliyuncs.com",
+			"cn-shenzhen-st4-d01":         "edas.aliyuncs.com",
+			"cn-haidian-cm12-c01":         "edas.aliyuncs.com",
+			"cn-hangzhou-internal-prod-1": "edas.aliyuncs.com",
+			"cn-yushanfang":               "edas.aliyuncs.com",
+			"cn-hongkong-finance-pop":     "edas.aliyuncs.com",
+			"cn-qingdao-nebula":           "edas.aliyuncs.com",
+			"cn-shanghai-finance-1":       "edas.aliyuncs.com",
+			"cn-beijing-finance-pop":      "edas.aliyuncs.com",
+			"cn-wuhan":                    "edas.aliyuncs.com",
+			"us-west-1":                   "edas.ap-northeast-1.aliyuncs.com",
+			"cn-zhengzhou-nebula-1":       "edas.aliyuncs.com",
+			"rus-west-1-pop":              "edas.ap-northeast-1.aliyuncs.com",
+			"cn-shanghai-et15-b01":        "edas.aliyuncs.com",
+			"cn-hangzhou-bj-b01":          "edas.aliyuncs.com",
+			"eu-west-1":                   "edas.ap-northeast-1.aliyuncs.com",
+			"cn-hangzhou-internal-test-1": "edas.aliyuncs.com",
+			"eu-west-1-oxs":               "edas.ap-northeast-1.aliyuncs.com",
+			"cn-zhangbei-na61-b01":        "edas.aliyuncs.com",
+			"cn-beijing-finance-1":        "edas.aliyuncs.com",
+			"cn-hangzhou-internal-test-3": "edas.aliyuncs.com",
+			"cn-hangzhou-internal-test-2": "edas.aliyuncs.com",
+			"cn-shenzhen-finance-1":       "edas.aliyuncs.com",
+			"me-east-1":                   "edas.ap-northeast-1.aliyuncs.com",
+			"cn-chengdu":                  "edas.aliyuncs.com",
+			"cn-hangzhou-test-306":        "edas.aliyuncs.com",
+			"cn-shanghai-et2-b01":         "edas.aliyuncs.com",
+			"cn-hangzhou-finance":         "edas.aliyuncs.com",
+			"cn-beijing-nu16-b01":         "edas.aliyuncs.com",
+			"cn-edge-1":                   "edas.aliyuncs.com",
+			"ap-southeast-3":              "edas.ap-northeast-1.aliyuncs.com",
+			"cn-huhehaote":                "edas.aliyuncs.com",
+			"ap-southeast-5":              "edas.ap-northeast-1.aliyuncs.com",
+			"cn-fujian":                   "edas.aliyuncs.com",
+			"ap-northeast-2-pop":          "edas.ap-northeast-1.aliyuncs.com",
+			"cn-shenzhen-inner":           "edas.aliyuncs.com",
+			"cn-zhangjiakou-na62-a01":     "edas.aliyuncs.com",
+		}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 1 - 1
services/edas/get_application.go

@@ -93,7 +93,7 @@ func CreateGetApplicationRequest() (request *GetApplicationRequest) {
 	request = &GetApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetApplication", "/pop/v5/app/app_info", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetApplication", "/pop/v5/app/app_info", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/get_change_order_info.go

@@ -93,7 +93,7 @@ func CreateGetChangeOrderInfoRequest() (request *GetChangeOrderInfoRequest) {
 	request = &GetChangeOrderInfoRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetChangeOrderInfo", "/pop/v5/changeorder/change_order_info", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetChangeOrderInfo", "/pop/v5/changeorder/change_order_info", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/get_cluster.go

@@ -93,7 +93,7 @@ func CreateGetClusterRequest() (request *GetClusterRequest) {
 	request = &GetClusterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetCluster", "/pop/v5/resource/cluster", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetCluster", "/pop/v5/resource/cluster", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/get_container_configuration.go

@@ -94,7 +94,7 @@ func CreateGetContainerConfigurationRequest() (request *GetContainerConfiguratio
 	request = &GetContainerConfigurationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetContainerConfiguration", "/pop/v5/app/container_config", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetContainerConfiguration", "/pop/v5/app/container_config", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/get_jvm_configuration.go

@@ -94,7 +94,7 @@ func CreateGetJvmConfigurationRequest() (request *GetJvmConfigurationRequest) {
 	request = &GetJvmConfigurationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetJvmConfiguration", "/pop/v5/app/app_jvm_config", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetJvmConfiguration", "/pop/v5/app/app_jvm_config", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 108 - 0
services/edas/get_k8s_application.go

@@ -0,0 +1,108 @@
+package edas
+
+//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"
+)
+
+// GetK8sApplication invokes the edas.GetK8sApplication API synchronously
+// api document: https://help.aliyun.com/api/edas/getk8sapplication.html
+func (client *Client) GetK8sApplication(request *GetK8sApplicationRequest) (response *GetK8sApplicationResponse, err error) {
+	response = CreateGetK8sApplicationResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetK8sApplicationWithChan invokes the edas.GetK8sApplication API asynchronously
+// api document: https://help.aliyun.com/api/edas/getk8sapplication.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetK8sApplicationWithChan(request *GetK8sApplicationRequest) (<-chan *GetK8sApplicationResponse, <-chan error) {
+	responseChan := make(chan *GetK8sApplicationResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetK8sApplication(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetK8sApplicationWithCallback invokes the edas.GetK8sApplication API asynchronously
+// api document: https://help.aliyun.com/api/edas/getk8sapplication.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetK8sApplicationWithCallback(request *GetK8sApplicationRequest, callback func(response *GetK8sApplicationResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetK8sApplicationResponse
+		var err error
+		defer close(result)
+		response, err = client.GetK8sApplication(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetK8sApplicationRequest is the request struct for api GetK8sApplication
+type GetK8sApplicationRequest struct {
+	*requests.RoaRequest
+	AppId string `position:"Query" name:"AppId"`
+	From  string `position:"Query" name:"From"`
+}
+
+// GetK8sApplicationResponse is the response struct for api GetK8sApplication
+type GetK8sApplicationResponse struct {
+	*responses.BaseResponse
+	Code       int        `json:"Code" xml:"Code"`
+	Message    string     `json:"Message" xml:"Message"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	Applcation Applcation `json:"Applcation" xml:"Applcation"`
+}
+
+// CreateGetK8sApplicationRequest creates a request to invoke GetK8sApplication API
+func CreateGetK8sApplicationRequest() (request *GetK8sApplicationRequest) {
+	request = &GetK8sApplicationRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetK8sApplication", "/pop/v5/changeorder/co_application", "Edas", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateGetK8sApplicationResponse creates a response to parse from GetK8sApplication response
+func CreateGetK8sApplicationResponse() (response *GetK8sApplicationResponse) {
+	response = &GetK8sApplicationResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/get_package_storage_credential.go

@@ -92,7 +92,7 @@ func CreateGetPackageStorageCredentialRequest() (request *GetPackageStorageCrede
 	request = &GetPackageStorageCredentialRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetPackageStorageCredential", "/pop/v5/package_storage_credential", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetPackageStorageCredential", "/pop/v5/package_storage_credential", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 110 - 0
services/edas/get_scaling_rules.go

@@ -0,0 +1,110 @@
+package edas
+
+//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"
+)
+
+// GetScalingRules invokes the edas.GetScalingRules API synchronously
+// api document: https://help.aliyun.com/api/edas/getscalingrules.html
+func (client *Client) GetScalingRules(request *GetScalingRulesRequest) (response *GetScalingRulesResponse, err error) {
+	response = CreateGetScalingRulesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetScalingRulesWithChan invokes the edas.GetScalingRules API asynchronously
+// api document: https://help.aliyun.com/api/edas/getscalingrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetScalingRulesWithChan(request *GetScalingRulesRequest) (<-chan *GetScalingRulesResponse, <-chan error) {
+	responseChan := make(chan *GetScalingRulesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetScalingRules(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetScalingRulesWithCallback invokes the edas.GetScalingRules API asynchronously
+// api document: https://help.aliyun.com/api/edas/getscalingrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetScalingRulesWithCallback(request *GetScalingRulesRequest, callback func(response *GetScalingRulesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetScalingRulesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetScalingRules(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetScalingRulesRequest is the request struct for api GetScalingRules
+type GetScalingRulesRequest struct {
+	*requests.RoaRequest
+	Mode    string `position:"Query" name:"Mode"`
+	AppId   string `position:"Query" name:"AppId"`
+	GroupId string `position:"Query" name:"GroupId"`
+}
+
+// GetScalingRulesResponse is the response struct for api GetScalingRules
+type GetScalingRulesResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	Code       int    `json:"Code" xml:"Code"`
+	Message    string `json:"Message" xml:"Message"`
+	UpdateTime int64  `json:"UpdateTime" xml:"UpdateTime"`
+	Data       Data   `json:"Data" xml:"Data"`
+}
+
+// CreateGetScalingRulesRequest creates a request to invoke GetScalingRules API
+func CreateGetScalingRulesRequest() (request *GetScalingRulesRequest) {
+	request = &GetScalingRulesRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetScalingRules", "/pop/v5/app/scalingRules", "Edas", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateGetScalingRulesResponse creates a response to parse from GetScalingRules response
+func CreateGetScalingRulesResponse() (response *GetScalingRulesResponse) {
+	response = &GetScalingRulesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/get_secure_token.go

@@ -93,7 +93,7 @@ func CreateGetSecureTokenRequest() (request *GetSecureTokenRequest) {
 	request = &GetSecureTokenRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetSecureToken", "/pop/v5/secure_token", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "GetSecureToken", "/pop/v5/secure_token", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 0 - 106
services/edas/get_serverless_app_config_detail.go

@@ -1,106 +0,0 @@
-package edas
-
-//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"
-)
-
-// GetServerlessAppConfigDetail invokes the edas.GetServerlessAppConfigDetail API synchronously
-// api document: https://help.aliyun.com/api/edas/getserverlessappconfigdetail.html
-func (client *Client) GetServerlessAppConfigDetail(request *GetServerlessAppConfigDetailRequest) (response *GetServerlessAppConfigDetailResponse, err error) {
-	response = CreateGetServerlessAppConfigDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetServerlessAppConfigDetailWithChan invokes the edas.GetServerlessAppConfigDetail API asynchronously
-// api document: https://help.aliyun.com/api/edas/getserverlessappconfigdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetServerlessAppConfigDetailWithChan(request *GetServerlessAppConfigDetailRequest) (<-chan *GetServerlessAppConfigDetailResponse, <-chan error) {
-	responseChan := make(chan *GetServerlessAppConfigDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetServerlessAppConfigDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetServerlessAppConfigDetailWithCallback invokes the edas.GetServerlessAppConfigDetail API asynchronously
-// api document: https://help.aliyun.com/api/edas/getserverlessappconfigdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetServerlessAppConfigDetailWithCallback(request *GetServerlessAppConfigDetailRequest, callback func(response *GetServerlessAppConfigDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetServerlessAppConfigDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.GetServerlessAppConfigDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetServerlessAppConfigDetailRequest is the request struct for api GetServerlessAppConfigDetail
-type GetServerlessAppConfigDetailRequest struct {
-	*requests.RoaRequest
-	AppId string `position:"Query" name:"AppId"`
-}
-
-// GetServerlessAppConfigDetailResponse is the response struct for api GetServerlessAppConfigDetail
-type GetServerlessAppConfigDetailResponse struct {
-	*responses.BaseResponse
-	Code    int    `json:"Code" xml:"Code"`
-	Message string `json:"Message" xml:"Message"`
-	Data    Data   `json:"Data" xml:"Data"`
-}
-
-// CreateGetServerlessAppConfigDetailRequest creates a request to invoke GetServerlessAppConfigDetail API
-func CreateGetServerlessAppConfigDetailRequest() (request *GetServerlessAppConfigDetailRequest) {
-	request = &GetServerlessAppConfigDetailRequest{
-		RoaRequest: &requests.RoaRequest{},
-	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "GetServerlessAppConfigDetail", "/pop/v5/k8s/pop/pop_serverless_app_config_detail", "", "")
-	request.Method = requests.GET
-	return
-}
-
-// CreateGetServerlessAppConfigDetailResponse creates a response to parse from GetServerlessAppConfigDetail response
-func CreateGetServerlessAppConfigDetailResponse() (response *GetServerlessAppConfigDetailResponse) {
-	response = &GetServerlessAppConfigDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 3 - 2
services/edas/import_k8s_cluster.go

@@ -76,7 +76,8 @@ func (client *Client) ImportK8sClusterWithCallback(request *ImportK8sClusterRequ
 // ImportK8sClusterRequest is the request struct for api ImportK8sCluster
 type ImportK8sClusterRequest struct {
 	*requests.RoaRequest
-	ClusterId string `position:"Query" name:"ClusterId"`
+	NamespaceId string `position:"Query" name:"NamespaceId"`
+	ClusterId   string `position:"Query" name:"ClusterId"`
 }
 
 // ImportK8sClusterResponse is the response struct for api ImportK8sCluster
@@ -93,7 +94,7 @@ func CreateImportK8sClusterRequest() (request *ImportK8sClusterRequest) {
 	request = &ImportK8sClusterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ImportK8sCluster", "/pop/v5/import_k8s_cluster", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ImportK8sCluster", "/pop/v5/import_k8s_cluster", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 2 - 1
services/edas/insert_application.go

@@ -79,6 +79,7 @@ type InsertApplicationRequest struct {
 	WebContainer    string           `position:"Query" name:"WebContainer"`
 	EcuInfo         string           `position:"Query" name:"EcuInfo"`
 	BuildPackId     requests.Integer `position:"Query" name:"BuildPackId"`
+	ComponentIds    string           `position:"Query" name:"ComponentIds"`
 	HealthCheckURL  string           `position:"Query" name:"HealthCheckURL"`
 	ReservedPortStr string           `position:"Query" name:"ReservedPortStr"`
 	Description     string           `position:"Query" name:"Description"`
@@ -105,7 +106,7 @@ func CreateInsertApplicationRequest() (request *InsertApplicationRequest) {
 	request = &InsertApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertApplication", "/pop/v5/changeorder/co_create_app", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertApplication", "/pop/v5/changeorder/co_create_app", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_cluster.go

@@ -99,7 +99,7 @@ func CreateInsertClusterRequest() (request *InsertClusterRequest) {
 	request = &InsertClusterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertCluster", "/pop/v5/resource/cluster", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertCluster", "/pop/v5/resource/cluster", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_cluster_member.go

@@ -95,7 +95,7 @@ func CreateInsertClusterMemberRequest() (request *InsertClusterMemberRequest) {
 	request = &InsertClusterMemberRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertClusterMember", "/pop/v5/resource/cluster_member", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertClusterMember", "/pop/v5/resource/cluster_member", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_config_center.go

@@ -96,7 +96,7 @@ func CreateInsertConfigCenterRequest() (request *InsertConfigCenterRequest) {
 	request = &InsertConfigCenterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertConfigCenter", "/pop/v5/configCenter", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertConfigCenter", "/pop/v5/configCenter", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_degrade_control.go

@@ -98,7 +98,7 @@ func CreateInsertDegradeControlRequest() (request *InsertDegradeControlRequest)
 	request = &InsertDegradeControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertDegradeControl", "/pop/v5/degradeControl", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertDegradeControl", "/pop/v5/degradeControl", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_deploy_group.go

@@ -94,7 +94,7 @@ func CreateInsertDeployGroupRequest() (request *InsertDeployGroupRequest) {
 	request = &InsertDeployGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertDeployGroup", "/pop/v5/deploy_group", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertDeployGroup", "/pop/v5/deploy_group", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_flow_control.go

@@ -100,7 +100,7 @@ func CreateInsertFlowControlRequest() (request *InsertFlowControlRequest) {
 	request = &InsertFlowControlRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertFlowControl", "/pop/v5/flowControl", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertFlowControl", "/pop/v5/flowControl", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 11 - 1
services/edas/insert_k8s_application.go

@@ -79,6 +79,7 @@ type InsertK8sApplicationRequest struct {
 	NasId                  string           `position:"Query" name:"NasId"`
 	RepoId                 string           `position:"Query" name:"RepoId"`
 	InternetTargetPort     requests.Integer `position:"Query" name:"InternetTargetPort"`
+	WebContainer           string           `position:"Query" name:"WebContainer"`
 	IntranetSlbId          string           `position:"Query" name:"IntranetSlbId"`
 	CommandArgs            string           `position:"Query" name:"CommandArgs"`
 	Readiness              string           `position:"Query" name:"Readiness"`
@@ -86,11 +87,16 @@ type InsertK8sApplicationRequest struct {
 	InternetSlbPort        requests.Integer `position:"Query" name:"InternetSlbPort"`
 	Envs                   string           `position:"Query" name:"Envs"`
 	RequestsMem            requests.Integer `position:"Query" name:"RequestsMem"`
+	PackageVersion         string           `position:"Query" name:"PackageVersion"`
 	StorageType            string           `position:"Query" name:"StorageType"`
 	LimitMem               requests.Integer `position:"Query" name:"LimitMem"`
+	LimitmCpu              requests.Integer `position:"Query" name:"LimitmCpu"`
+	EdasContainerVersion   string           `position:"Query" name:"EdasContainerVersion"`
 	AppName                string           `position:"Query" name:"AppName"`
 	InternetSlbId          string           `position:"Query" name:"InternetSlbId"`
 	LogicalRegionId        string           `position:"Query" name:"LogicalRegionId"`
+	PackageUrl             string           `position:"Query" name:"PackageUrl"`
+	RequestsmCpu           requests.Integer `position:"Query" name:"RequestsmCpu"`
 	InternetSlbProtocol    string           `position:"Query" name:"InternetSlbProtocol"`
 	IntranetSlbPort        requests.Integer `position:"Query" name:"IntranetSlbPort"`
 	PreStop                string           `position:"Query" name:"PreStop"`
@@ -101,10 +107,14 @@ type InsertK8sApplicationRequest struct {
 	IntranetTargetPort     requests.Integer `position:"Query" name:"IntranetTargetPort"`
 	LocalVolume            string           `position:"Query" name:"LocalVolume"`
 	Command                string           `position:"Query" name:"Command"`
+	JDK                    string           `position:"Query" name:"JDK"`
+	UseBodyEncoding        requests.Boolean `position:"Query" name:"UseBodyEncoding"`
+	UriEncoding            string           `position:"Query" name:"UriEncoding"`
 	IntranetSlbProtocol    string           `position:"Query" name:"IntranetSlbProtocol"`
 	ImageUrl               string           `position:"Query" name:"ImageUrl"`
 	Namespace              string           `position:"Query" name:"Namespace"`
 	ApplicationDescription string           `position:"Query" name:"ApplicationDescription"`
+	PackageType            string           `position:"Query" name:"PackageType"`
 	RequestsCpu            requests.Integer `position:"Query" name:"RequestsCpu"`
 	PostStart              string           `position:"Query" name:"PostStart"`
 }
@@ -123,7 +133,7 @@ func CreateInsertK8sApplicationRequest() (request *InsertK8sApplicationRequest)
 	request = &InsertK8sApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertK8sApplication", "/pop/v5/k8s/acs/create_k8s_app", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertK8sApplication", "/pop/v5/k8s/acs/create_k8s_app", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_or_update_region.go

@@ -97,7 +97,7 @@ func CreateInsertOrUpdateRegionRequest() (request *InsertOrUpdateRegionRequest)
 	request = &InsertOrUpdateRegionRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertOrUpdateRegion", "/pop/v5/user_region_def", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertOrUpdateRegion", "/pop/v5/user_region_def", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/insert_role.go

@@ -94,7 +94,7 @@ func CreateInsertRoleRequest() (request *InsertRoleRequest) {
 	request = &InsertRoleRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertRole", "/pop/v5/account/create_role", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertRole", "/pop/v5/account/create_role", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 0 - 129
services/edas/insert_serverless_application.go

@@ -1,129 +0,0 @@
-package edas
-
-//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"
-)
-
-// InsertServerlessApplication invokes the edas.InsertServerlessApplication API synchronously
-// api document: https://help.aliyun.com/api/edas/insertserverlessapplication.html
-func (client *Client) InsertServerlessApplication(request *InsertServerlessApplicationRequest) (response *InsertServerlessApplicationResponse, err error) {
-	response = CreateInsertServerlessApplicationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// InsertServerlessApplicationWithChan invokes the edas.InsertServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/insertserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) InsertServerlessApplicationWithChan(request *InsertServerlessApplicationRequest) (<-chan *InsertServerlessApplicationResponse, <-chan error) {
-	responseChan := make(chan *InsertServerlessApplicationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.InsertServerlessApplication(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// InsertServerlessApplicationWithCallback invokes the edas.InsertServerlessApplication API asynchronously
-// api document: https://help.aliyun.com/api/edas/insertserverlessapplication.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) InsertServerlessApplicationWithCallback(request *InsertServerlessApplicationRequest, callback func(response *InsertServerlessApplicationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *InsertServerlessApplicationResponse
-		var err error
-		defer close(result)
-		response, err = client.InsertServerlessApplication(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// InsertServerlessApplicationRequest is the request struct for api InsertServerlessApplication
-type InsertServerlessApplicationRequest struct {
-	*requests.RoaRequest
-	WebContainer    string           `position:"Query" name:"WebContainer"`
-	JarStartArgs    string           `position:"Query" name:"JarStartArgs"`
-	Memory          requests.Integer `position:"Query" name:"Memory"`
-	BuildPackId     requests.Integer `position:"Query" name:"BuildPackId"`
-	CommandArgs     string           `position:"Query" name:"CommandArgs"`
-	Replicas        requests.Integer `position:"Query" name:"Replicas"`
-	Readiness       string           `position:"Query" name:"Readiness"`
-	Liveness        string           `position:"Query" name:"Liveness"`
-	Cpu             requests.Integer `position:"Query" name:"Cpu"`
-	Envs            string           `position:"Query" name:"Envs"`
-	PackageVersion  string           `position:"Query" name:"PackageVersion"`
-	Command         string           `position:"Query" name:"Command"`
-	CustomHostAlias string           `position:"Query" name:"CustomHostAlias"`
-	Deploy          requests.Boolean `position:"Query" name:"Deploy"`
-	VSwitchId       string           `position:"Query" name:"VSwitchId"`
-	Jdk             string           `position:"Query" name:"Jdk"`
-	AppDescription  string           `position:"Query" name:"AppDescription"`
-	JarStartOptions string           `position:"Query" name:"JarStartOptions"`
-	AppName         string           `position:"Query" name:"AppName"`
-	NamespaceId     string           `position:"Query" name:"NamespaceId"`
-	PackageUrl      string           `position:"Query" name:"PackageUrl"`
-	VpcId           string           `position:"Query" name:"VpcId"`
-	ImageUrl        string           `position:"Query" name:"ImageUrl"`
-	PackageType     string           `position:"Query" name:"PackageType"`
-}
-
-// InsertServerlessApplicationResponse is the response struct for api InsertServerlessApplication
-type InsertServerlessApplicationResponse struct {
-	*responses.BaseResponse
-	Code    int    `json:"Code" xml:"Code"`
-	Message string `json:"Message" xml:"Message"`
-	Data    Data   `json:"Data" xml:"Data"`
-}
-
-// CreateInsertServerlessApplicationRequest creates a request to invoke InsertServerlessApplication API
-func CreateInsertServerlessApplicationRequest() (request *InsertServerlessApplicationRequest) {
-	request = &InsertServerlessApplicationRequest{
-		RoaRequest: &requests.RoaRequest{},
-	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertServerlessApplication", "/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy", "", "")
-	request.Method = requests.POST
-	return
-}
-
-// CreateInsertServerlessApplicationResponse creates a response to parse from InsertServerlessApplication response
-func CreateInsertServerlessApplicationResponse() (response *InsertServerlessApplicationResponse) {
-	response = &InsertServerlessApplicationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 1 - 1
services/edas/insert_service_group.go

@@ -92,7 +92,7 @@ func CreateInsertServiceGroupRequest() (request *InsertServiceGroupRequest) {
 	request = &InsertServiceGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InsertServiceGroup", "/pop/v5/service/serviceGroups", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InsertServiceGroup", "/pop/v5/service/serviceGroups", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/install_agent.go

@@ -95,7 +95,7 @@ func CreateInstallAgentRequest() (request *InstallAgentRequest) {
 	request = &InstallAgentRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "InstallAgent", "/pop/v5/ecss/install_agent", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "InstallAgent", "/pop/v5/ecss/install_agent", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_aliyun_region.go

@@ -92,7 +92,7 @@ func CreateListAliyunRegionRequest() (request *ListAliyunRegionRequest) {
 	request = &ListAliyunRegionRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListAliyunRegion", "/pop/v5/resource/region_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListAliyunRegion", "/pop/v5/resource/region_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_application.go

@@ -92,7 +92,7 @@ func CreateListApplicationRequest() (request *ListApplicationRequest) {
 	request = &ListApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListApplication", "/pop/v5/app/app_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListApplication", "/pop/v5/app/app_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_application_ecu.go

@@ -92,7 +92,7 @@ func CreateListApplicationEcuRequest() (request *ListApplicationEcuRequest) {
 	request = &ListApplicationEcuRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListApplicationEcu", "/pop/v5/resource/ecu_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListApplicationEcu", "/pop/v5/resource/ecu_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_authority.go

@@ -92,7 +92,7 @@ func CreateListAuthorityRequest() (request *ListAuthorityRequest) {
 	request = &ListAuthorityRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListAuthority", "/pop/v5/account/authority_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListAuthority", "/pop/v5/account/authority_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_build_pack.go

@@ -92,7 +92,7 @@ func CreateListBuildPackRequest() (request *ListBuildPackRequest) {
 	request = &ListBuildPackRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListBuildPack", "/pop/v5/app/build_pack_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListBuildPack", "/pop/v5/app/build_pack_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_cluster.go

@@ -93,7 +93,7 @@ func CreateListClusterRequest() (request *ListClusterRequest) {
 	request = &ListClusterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListCluster", "/pop/v5/resource/cluster_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListCluster", "/pop/v5/resource/cluster_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_cluster_members.go

@@ -95,7 +95,7 @@ func CreateListClusterMembersRequest() (request *ListClusterMembersRequest) {
 	request = &ListClusterMembersRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListClusterMembers", "/pop/v5/resource/cluster_member_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListClusterMembers", "/pop/v5/resource/cluster_member_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_components.go

@@ -91,7 +91,7 @@ func CreateListComponentsRequest() (request *ListComponentsRequest) {
 	request = &ListComponentsRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListComponents", "/pop/v5/resource/components", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListComponents", "/pop/v5/resource/components", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_config_centers.go

@@ -96,7 +96,7 @@ func CreateListConfigCentersRequest() (request *ListConfigCentersRequest) {
 	request = &ListConfigCentersRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListConfigCenters", "/pop/v5/configCenters", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListConfigCenters", "/pop/v5/configCenters", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_consumed_services.go

@@ -93,7 +93,7 @@ func CreateListConsumedServicesRequest() (request *ListConsumedServicesRequest)
 	request = &ListConsumedServicesRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListConsumedServices", "/pop/v5/service/listConsumedServices", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListConsumedServices", "/pop/v5/service/listConsumedServices", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_convertable_ecu.go

@@ -93,7 +93,7 @@ func CreateListConvertableEcuRequest() (request *ListConvertableEcuRequest) {
 	request = &ListConvertableEcuRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListConvertableEcu", "/pop/v5/resource/convertable_ecu_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListConvertableEcu", "/pop/v5/resource/convertable_ecu_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_degrade_controls.go

@@ -93,7 +93,7 @@ func CreateListDegradeControlsRequest() (request *ListDegradeControlsRequest) {
 	request = &ListDegradeControlsRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListDegradeControls", "/pop/v5/app/degradeControls", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListDegradeControls", "/pop/v5/app/degradeControls", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_deploy_group.go

@@ -93,7 +93,7 @@ func CreateListDeployGroupRequest() (request *ListDeployGroupRequest) {
 	request = &ListDeployGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListDeployGroup", "/pop/v5/app/deploy_group_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListDeployGroup", "/pop/v5/app/deploy_group_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_ecs_not_in_cluster.go

@@ -94,7 +94,7 @@ func CreateListEcsNotInClusterRequest() (request *ListEcsNotInClusterRequest) {
 	request = &ListEcsNotInClusterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListEcsNotInCluster", "/pop/v5/resource/ecs_not_in_cluster", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListEcsNotInCluster", "/pop/v5/resource/ecs_not_in_cluster", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_ecu_by_region.go

@@ -94,7 +94,7 @@ func CreateListEcuByRegionRequest() (request *ListEcuByRegionRequest) {
 	request = &ListEcuByRegionRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListEcuByRegion", "/pop/v5/resource/ecu_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListEcuByRegion", "/pop/v5/resource/ecu_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_flow_controls.go

@@ -93,7 +93,7 @@ func CreateListFlowControlsRequest() (request *ListFlowControlsRequest) {
 	request = &ListFlowControlsRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListFlowControls", "/pop/v5/app/flowControls", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListFlowControls", "/pop/v5/app/flowControls", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_history_deploy_version.go

@@ -93,7 +93,7 @@ func CreateListHistoryDeployVersionRequest() (request *ListHistoryDeployVersionR
 	request = &ListHistoryDeployVersionRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListHistoryDeployVersion", "/pop/v5/app/deploy_history_version_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListHistoryDeployVersion", "/pop/v5/app/deploy_history_version_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 108 - 0
services/edas/list_methods.go

@@ -0,0 +1,108 @@
+package edas
+
+//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"
+)
+
+// ListMethods invokes the edas.ListMethods API synchronously
+// api document: https://help.aliyun.com/api/edas/listmethods.html
+func (client *Client) ListMethods(request *ListMethodsRequest) (response *ListMethodsResponse, err error) {
+	response = CreateListMethodsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListMethodsWithChan invokes the edas.ListMethods API asynchronously
+// api document: https://help.aliyun.com/api/edas/listmethods.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListMethodsWithChan(request *ListMethodsRequest) (<-chan *ListMethodsResponse, <-chan error) {
+	responseChan := make(chan *ListMethodsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListMethods(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListMethodsWithCallback invokes the edas.ListMethods API asynchronously
+// api document: https://help.aliyun.com/api/edas/listmethods.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListMethodsWithCallback(request *ListMethodsRequest, callback func(response *ListMethodsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListMethodsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListMethods(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListMethodsRequest is the request struct for api ListMethods
+type ListMethodsRequest struct {
+	*requests.RoaRequest
+	AppId       string `position:"Query" name:"AppId"`
+	ServiceName string `position:"Query" name:"ServiceName"`
+}
+
+// ListMethodsResponse is the response struct for api ListMethods
+type ListMethodsResponse struct {
+	*responses.BaseResponse
+	Code              int               `json:"Code" xml:"Code"`
+	Message           string            `json:"Message" xml:"Message"`
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	ServiceMethodList ServiceMethodList `json:"ServiceMethodList" xml:"ServiceMethodList"`
+}
+
+// CreateListMethodsRequest creates a request to invoke ListMethods API
+func CreateListMethodsRequest() (request *ListMethodsRequest) {
+	request = &ListMethodsRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListMethods", "/pop/v5/service/list_methods", "Edas", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateListMethodsResponse creates a response to parse from ListMethods response
+func CreateListMethodsResponse() (response *ListMethodsResponse) {
+	response = &ListMethodsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/list_published_services.go

@@ -93,7 +93,7 @@ func CreateListPublishedServicesRequest() (request *ListPublishedServicesRequest
 	request = &ListPublishedServicesRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListPublishedServices", "/pop/v5/service/listPublishedServices", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListPublishedServices", "/pop/v5/service/listPublishedServices", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_recent_change_order.go

@@ -93,7 +93,7 @@ func CreateListRecentChangeOrderRequest() (request *ListRecentChangeOrderRequest
 	request = &ListRecentChangeOrderRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListRecentChangeOrder", "/pop/v5/changeorder/change_order_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListRecentChangeOrder", "/pop/v5/changeorder/change_order_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_resource_group.go

@@ -92,7 +92,7 @@ func CreateListResourceGroupRequest() (request *ListResourceGroupRequest) {
 	request = &ListResourceGroupRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListResourceGroup", "/pop/v5/resource/reg_group_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListResourceGroup", "/pop/v5/resource/reg_group_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_role.go

@@ -92,7 +92,7 @@ func CreateListRoleRequest() (request *ListRoleRequest) {
 	request = &ListRoleRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListRole", "/pop/v5/account/role_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListRole", "/pop/v5/account/role_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_scale_out_ecu.go

@@ -99,7 +99,7 @@ func CreateListScaleOutEcuRequest() (request *ListScaleOutEcuRequest) {
 	request = &ListScaleOutEcuRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListScaleOutEcu", "/pop/v5/resource/scale_out_ecu_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListScaleOutEcu", "/pop/v5/resource/scale_out_ecu_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_service_groups.go

@@ -92,7 +92,7 @@ func CreateListServiceGroupsRequest() (request *ListServiceGroupsRequest) {
 	request = &ListServiceGroupsRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListServiceGroups", "/pop/v5/service/serviceGroups", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListServiceGroups", "/pop/v5/service/serviceGroups", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_slb.go

@@ -92,7 +92,7 @@ func CreateListSlbRequest() (request *ListSlbRequest) {
 	request = &ListSlbRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListSlb", "/pop/v5/slb_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListSlb", "/pop/v5/slb_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/list_sub_account.go

@@ -92,7 +92,7 @@ func CreateListSubAccountRequest() (request *ListSubAccountRequest) {
 	request = &ListSubAccountRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListSubAccount", "/pop/v5/account/sub_account_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListSubAccount", "/pop/v5/account/sub_account_list", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_user_define_region.go

@@ -93,7 +93,7 @@ func CreateListUserDefineRegionRequest() (request *ListUserDefineRegionRequest)
 	request = &ListUserDefineRegionRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListUserDefineRegion", "/pop/v5/user_region_defs", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListUserDefineRegion", "/pop/v5/user_region_defs", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/list_vpc.go

@@ -92,7 +92,7 @@ func CreateListVpcRequest() (request *ListVpcRequest) {
 	request = &ListVpcRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ListVpc", "/pop/v5/vpc_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ListVpc", "/pop/v5/vpc_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/migrate_ecu.go

@@ -94,7 +94,7 @@ func CreateMigrateEcuRequest() (request *MigrateEcuRequest) {
 	request = &MigrateEcuRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "MigrateEcu", "/pop/v5/resource/migrate_ecu", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "MigrateEcu", "/pop/v5/resource/migrate_ecu", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 134 - 0
services/edas/modify_scaling_rule.go

@@ -0,0 +1,134 @@
+package edas
+
+//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"
+)
+
+// ModifyScalingRule invokes the edas.ModifyScalingRule API synchronously
+// api document: https://help.aliyun.com/api/edas/modifyscalingrule.html
+func (client *Client) ModifyScalingRule(request *ModifyScalingRuleRequest) (response *ModifyScalingRuleResponse, err error) {
+	response = CreateModifyScalingRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyScalingRuleWithChan invokes the edas.ModifyScalingRule API asynchronously
+// api document: https://help.aliyun.com/api/edas/modifyscalingrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyScalingRuleWithChan(request *ModifyScalingRuleRequest) (<-chan *ModifyScalingRuleResponse, <-chan error) {
+	responseChan := make(chan *ModifyScalingRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyScalingRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyScalingRuleWithCallback invokes the edas.ModifyScalingRule API asynchronously
+// api document: https://help.aliyun.com/api/edas/modifyscalingrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyScalingRuleWithCallback(request *ModifyScalingRuleRequest, callback func(response *ModifyScalingRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyScalingRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyScalingRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyScalingRuleRequest is the request struct for api ModifyScalingRule
+type ModifyScalingRuleRequest struct {
+	*requests.RoaRequest
+	InStep               requests.Integer `position:"Query" name:"InStep"`
+	OutInstanceNum       requests.Integer `position:"Query" name:"OutInstanceNum"`
+	OutRT                requests.Integer `position:"Query" name:"OutRT"`
+	InInstanceNum        requests.Integer `position:"Query" name:"InInstanceNum"`
+	VSwitchIds           string           `position:"Query" name:"VSwitchIds"`
+	TemplateInstanceId   string           `position:"Query" name:"TemplateInstanceId"`
+	AcceptEULA           requests.Boolean `position:"Query" name:"AcceptEULA"`
+	OutStep              requests.Integer `position:"Query" name:"OutStep"`
+	OutCPU               requests.Integer `position:"Query" name:"OutCPU"`
+	KeyPairName          string           `position:"Query" name:"KeyPairName"`
+	Password             string           `position:"Query" name:"Password"`
+	TemplateVersion      requests.Integer `position:"Query" name:"TemplateVersion"`
+	InCondition          string           `position:"Query" name:"InCondition"`
+	InRT                 requests.Integer `position:"Query" name:"InRT"`
+	InCpu                requests.Integer `position:"Query" name:"InCpu"`
+	OutDuration          requests.Integer `position:"Query" name:"OutDuration"`
+	MultiAzPolicy        string           `position:"Query" name:"MultiAzPolicy"`
+	OutLoad              requests.Integer `position:"Query" name:"OutLoad"`
+	InLoad               requests.Integer `position:"Query" name:"InLoad"`
+	GroupId              string           `position:"Query" name:"GroupId"`
+	ResourceFrom         string           `position:"Query" name:"ResourceFrom"`
+	OutEnable            requests.Boolean `position:"Query" name:"OutEnable"`
+	TemplateId           string           `position:"Query" name:"TemplateId"`
+	ScalingPolicy        string           `position:"Query" name:"ScalingPolicy"`
+	OutCondition         string           `position:"Query" name:"OutCondition"`
+	InDuration           requests.Integer `position:"Query" name:"InDuration"`
+	InEnable             requests.Boolean `position:"Query" name:"InEnable"`
+	AppId                string           `position:"Query" name:"AppId"`
+	VpcId                string           `position:"Query" name:"VpcId"`
+	TemplateInstanceName string           `position:"Query" name:"TemplateInstanceName"`
+}
+
+// ModifyScalingRuleResponse is the response struct for api ModifyScalingRule
+type ModifyScalingRuleResponse struct {
+	*responses.BaseResponse
+	Code    int    `json:"Code" xml:"Code"`
+	Message string `json:"Message" xml:"Message"`
+}
+
+// CreateModifyScalingRuleRequest creates a request to invoke ModifyScalingRule API
+func CreateModifyScalingRuleRequest() (request *ModifyScalingRuleRequest) {
+	request = &ModifyScalingRuleRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "ModifyScalingRule", "/pop/v5/app/scaling_rules2", "Edas", "openAPI")
+	request.Method = requests.POST
+	return
+}
+
+// CreateModifyScalingRuleResponse creates a response to parse from ModifyScalingRule response
+func CreateModifyScalingRuleResponse() (response *ModifyScalingRuleResponse) {
+	response = &ModifyScalingRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/query_application_status.go

@@ -93,7 +93,7 @@ func CreateQueryApplicationStatusRequest() (request *QueryApplicationStatusReque
 	request = &QueryApplicationStatusRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "QueryApplicationStatus", "/pop/v5/app/app_status", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryApplicationStatus", "/pop/v5/app/app_status", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/query_config_center.go

@@ -95,7 +95,7 @@ func CreateQueryConfigCenterRequest() (request *QueryConfigCenterRequest) {
 	request = &QueryConfigCenterRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "QueryConfigCenter", "/pop/v5/configCenter", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryConfigCenter", "/pop/v5/configCenter", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 107 - 0
services/edas/query_ecc_info.go

@@ -0,0 +1,107 @@
+package edas
+
+//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"
+)
+
+// QueryEccInfo invokes the edas.QueryEccInfo API synchronously
+// api document: https://help.aliyun.com/api/edas/queryeccinfo.html
+func (client *Client) QueryEccInfo(request *QueryEccInfoRequest) (response *QueryEccInfoResponse, err error) {
+	response = CreateQueryEccInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryEccInfoWithChan invokes the edas.QueryEccInfo API asynchronously
+// api document: https://help.aliyun.com/api/edas/queryeccinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryEccInfoWithChan(request *QueryEccInfoRequest) (<-chan *QueryEccInfoResponse, <-chan error) {
+	responseChan := make(chan *QueryEccInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryEccInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryEccInfoWithCallback invokes the edas.QueryEccInfo API asynchronously
+// api document: https://help.aliyun.com/api/edas/queryeccinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryEccInfoWithCallback(request *QueryEccInfoRequest, callback func(response *QueryEccInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryEccInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryEccInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryEccInfoRequest is the request struct for api QueryEccInfo
+type QueryEccInfoRequest struct {
+	*requests.RoaRequest
+	EccId string `position:"Query" name:"EccId"`
+}
+
+// QueryEccInfoResponse is the response struct for api QueryEccInfo
+type QueryEccInfoResponse struct {
+	*responses.BaseResponse
+	Code      int     `json:"Code" xml:"Code"`
+	Message   string  `json:"Message" xml:"Message"`
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	EccInfo   EccInfo `json:"EccInfo" xml:"EccInfo"`
+}
+
+// CreateQueryEccInfoRequest creates a request to invoke QueryEccInfo API
+func CreateQueryEccInfoRequest() (request *QueryEccInfoRequest) {
+	request = &QueryEccInfoRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryEccInfo", "/pop/v5/ecc", "Edas", "openAPI")
+	request.Method = requests.GET
+	return
+}
+
+// CreateQueryEccInfoResponse creates a response to parse from QueryEccInfo response
+func CreateQueryEccInfoResponse() (response *QueryEccInfoResponse) {
+	response = &QueryEccInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/query_migrate_ecu_list.go

@@ -93,7 +93,7 @@ func CreateQueryMigrateEcuListRequest() (request *QueryMigrateEcuListRequest) {
 	request = &QueryMigrateEcuListRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "QueryMigrateEcuList", "/pop/v5/resource/migrate_ecu_list", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryMigrateEcuList", "/pop/v5/resource/migrate_ecu_list", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/query_migrate_region_list.go

@@ -93,7 +93,7 @@ func CreateQueryMigrateRegionListRequest() (request *QueryMigrateRegionListReque
 	request = &QueryMigrateRegionListRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "QueryMigrateRegionList", "/pop/v5/resource/migrate_region_select", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryMigrateRegionList", "/pop/v5/resource/migrate_region_select", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/query_monitor_info.go

@@ -98,7 +98,7 @@ func CreateQueryMonitorInfoRequest() (request *QueryMonitorInfoRequest) {
 	request = &QueryMonitorInfoRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "QueryMonitorInfo", "/pop/v5/monitor/queryMonitorInfo", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryMonitorInfo", "/pop/v5/monitor/queryMonitorInfo", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/query_region_config.go

@@ -92,7 +92,7 @@ func CreateQueryRegionConfigRequest() (request *QueryRegionConfigRequest) {
 	request = &QueryRegionConfigRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "QueryRegionConfig", "/pop/v5/region_config", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "QueryRegionConfig", "/pop/v5/region_config", "Edas", "openAPI")
 	request.Method = requests.GET
 	return
 }

+ 1 - 1
services/edas/reset_application.go

@@ -94,7 +94,7 @@ func CreateResetApplicationRequest() (request *ResetApplicationRequest) {
 	request = &ResetApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ResetApplication", "/pop/v5/changeorder/co_reset", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ResetApplication", "/pop/v5/changeorder/co_reset", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/rollback_application.go

@@ -97,7 +97,7 @@ func CreateRollbackApplicationRequest() (request *RollbackApplicationRequest) {
 	request = &RollbackApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "RollbackApplication", "/pop/v5/changeorder/co_rollback", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "RollbackApplication", "/pop/v5/changeorder/co_rollback", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 109 - 0
services/edas/rollback_change_order.go

@@ -0,0 +1,109 @@
+package edas
+
+//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"
+)
+
+// RollbackChangeOrder invokes the edas.RollbackChangeOrder API synchronously
+// api document: https://help.aliyun.com/api/edas/rollbackchangeorder.html
+func (client *Client) RollbackChangeOrder(request *RollbackChangeOrderRequest) (response *RollbackChangeOrderResponse, err error) {
+	response = CreateRollbackChangeOrderResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RollbackChangeOrderWithChan invokes the edas.RollbackChangeOrder API asynchronously
+// api document: https://help.aliyun.com/api/edas/rollbackchangeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RollbackChangeOrderWithChan(request *RollbackChangeOrderRequest) (<-chan *RollbackChangeOrderResponse, <-chan error) {
+	responseChan := make(chan *RollbackChangeOrderResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RollbackChangeOrder(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RollbackChangeOrderWithCallback invokes the edas.RollbackChangeOrder API asynchronously
+// api document: https://help.aliyun.com/api/edas/rollbackchangeorder.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RollbackChangeOrderWithCallback(request *RollbackChangeOrderRequest, callback func(response *RollbackChangeOrderResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RollbackChangeOrderResponse
+		var err error
+		defer close(result)
+		response, err = client.RollbackChangeOrder(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RollbackChangeOrderRequest is the request struct for api RollbackChangeOrder
+type RollbackChangeOrderRequest struct {
+	*requests.RoaRequest
+	ChangeOrderId string `position:"Query" name:"ChangeOrderId"`
+}
+
+// RollbackChangeOrderResponse is the response struct for api RollbackChangeOrder
+type RollbackChangeOrderResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      int    `json:"Code" xml:"Code"`
+	ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
+	Message   string `json:"Message" xml:"Message"`
+	TraceId   string `json:"TraceId" xml:"TraceId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateRollbackChangeOrderRequest creates a request to invoke RollbackChangeOrder API
+func CreateRollbackChangeOrderRequest() (request *RollbackChangeOrderRequest) {
+	request = &RollbackChangeOrderRequest{
+		RoaRequest: &requests.RoaRequest{},
+	}
+	request.InitWithApiInfo("Edas", "2017-08-01", "RollbackChangeOrder", "/pop/v5/oam/changeorder/rollback", "Edas", "openAPI")
+	request.Method = requests.PUT
+	return
+}
+
+// CreateRollbackChangeOrderResponse creates a response to parse from RollbackChangeOrder response
+func CreateRollbackChangeOrderResponse() (response *RollbackChangeOrderResponse) {
+	response = &RollbackChangeOrderResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/edas/scale_in_application.go

@@ -94,7 +94,7 @@ func CreateScaleInApplicationRequest() (request *ScaleInApplicationRequest) {
 	request = &ScaleInApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ScaleInApplication", "/pop/v5/changeorder/co_scale_in", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ScaleInApplication", "/pop/v5/changeorder/co_scale_in", "Edas", "openAPI")
 	request.Method = requests.POST
 	return
 }

+ 1 - 1
services/edas/scale_k8s_application.go

@@ -94,7 +94,7 @@ func CreateScaleK8sApplicationRequest() (request *ScaleK8sApplicationRequest) {
 	request = &ScaleK8sApplicationRequest{
 		RoaRequest: &requests.RoaRequest{},
 	}
-	request.InitWithApiInfo("Edas", "2017-08-01", "ScaleK8sApplication", "/pop/v5/k8s/acs/k8s_apps", "", "")
+	request.InitWithApiInfo("Edas", "2017-08-01", "ScaleK8sApplication", "/pop/v5/k8s/acs/k8s_apps", "Edas", "openAPI")
 	request.Method = requests.PUT
 	return
 }

Some files were not shown because too many files changed in this diff