Browse Source

Generated 2018-04-12 for EHPC.

sdk-team 6 years ago
parent
commit
0e287f2bf3
100 changed files with 3211 additions and 170 deletions
  1. 7 0
      ChangeLog.txt
  2. 2 2
      services/ehpc/add_container_app.go
  3. 1 1
      services/ehpc/add_local_nodes.go
  4. 10 6
      services/ehpc/add_nodes.go
  5. 107 0
      services/ehpc/bind_account_to_cluster_user.go
  6. 32 25
      services/ehpc/create_cluster.go
  7. 106 0
      services/ehpc/create_gws_cluster.go
  8. 105 0
      services/ehpc/create_gws_image.go
  9. 119 0
      services/ehpc/create_gws_instance.go
  10. 11 1
      services/ehpc/create_hybrid_cluster.go
  11. 3 3
      services/ehpc/create_job_template.go
  12. 1 1
      services/ehpc/delete_cluster.go
  13. 103 0
      services/ehpc/delete_gws_cluster.go
  14. 103 0
      services/ehpc/delete_gws_instance.go
  15. 1 1
      services/ehpc/delete_image.go
  16. 1 1
      services/ehpc/delete_nodes.go
  17. 110 0
      services/ehpc/describe_gws_clusters.go
  18. 108 0
      services/ehpc/describe_gws_images.go
  19. 110 0
      services/ehpc/describe_gws_instances.go
  20. 1 1
      services/ehpc/describe_image.go
  21. 1 1
      services/ehpc/describe_image_price.go
  22. 1 1
      services/ehpc/describe_job.go
  23. 104 0
      services/ehpc/describe_nfs_client_status.go
  24. 1 1
      services/ehpc/describe_price.go
  25. 4 4
      services/ehpc/edit_job_template.go
  26. 8 7
      services/ehpc/get_accounting_report.go
  27. 4 4
      services/ehpc/get_cloud_metric_logs.go
  28. 1 1
      services/ehpc/get_cloud_metric_profiling.go
  29. 104 0
      services/ehpc/get_gws_connect_ticket.go
  30. 1 1
      services/ehpc/get_hybrid_cluster_config.go
  31. 106 0
      services/ehpc/get_if_ecs_type_support_ht_config.go
  32. 108 0
      services/ehpc/get_instance_report.go
  33. 109 0
      services/ehpc/get_job_report.go
  34. 107 0
      services/ehpc/get_total_queue_report.go
  35. 107 0
      services/ehpc/get_total_user_report.go
  36. 110 0
      services/ehpc/get_workbench_token.go
  37. 104 0
      services/ehpc/install_nfs_client.go
  38. 1 1
      services/ehpc/install_software.go
  39. 104 0
      services/ehpc/list_account_mapping.go
  40. 4 3
      services/ehpc/list_available_ecs_types.go
  41. 1 1
      services/ehpc/list_cloud_metric_profilings.go
  42. 1 1
      services/ehpc/list_cluster_logs.go
  43. 1 1
      services/ehpc/list_clusters.go
  44. 1 1
      services/ehpc/list_clusters_meta.go
  45. 1 1
      services/ehpc/list_commands.go
  46. 1 1
      services/ehpc/list_container_apps.go
  47. 2 2
      services/ehpc/list_container_images.go
  48. 1 1
      services/ehpc/list_cpfs_file_systems.go
  49. 1 1
      services/ehpc/list_custom_images.go
  50. 1 1
      services/ehpc/list_file_system_with_mount_targets.go
  51. 2 2
      services/ehpc/list_invocation_results.go
  52. 1 1
      services/ehpc/list_job_templates.go
  53. 2 2
      services/ehpc/list_jobs.go
  54. 2 2
      services/ehpc/list_nodes.go
  55. 1 1
      services/ehpc/list_nodes_by_queue.go
  56. 1 1
      services/ehpc/list_nodes_no_paging.go
  57. 1 1
      services/ehpc/list_users.go
  58. 1 1
      services/ehpc/list_volumes.go
  59. 1 1
      services/ehpc/modify_cluster_attributes.go
  60. 3 3
      services/ehpc/modify_image_gateway_config.go
  61. 1 1
      services/ehpc/modify_visual_service_passwd.go
  62. 108 0
      services/ehpc/mount_nfs.go
  63. 1 1
      services/ehpc/pull_image.go
  64. 110 0
      services/ehpc/query_service_pack_and_price.go
  65. 1 1
      services/ehpc/recover_cluster.go
  66. 2 2
      services/ehpc/run_cloud_metric_profiling.go
  67. 20 10
      services/ehpc/set_auto_scale_config.go
  68. 104 0
      services/ehpc/set_gws_instance_name.go
  69. 105 0
      services/ehpc/set_gws_instance_user.go
  70. 1 1
      services/ehpc/set_queue.go
  71. 103 0
      services/ehpc/start_gws_instance.go
  72. 1 1
      services/ehpc/start_visual_service.go
  73. 103 0
      services/ehpc/stop_gws_instance.go
  74. 1 1
      services/ehpc/stop_visual_service.go
  75. 23 0
      services/ehpc/struct_app_info.go
  76. 21 0
      services/ehpc/struct_app_list.go
  77. 19 17
      services/ehpc/struct_cluster_info.go
  78. 8 6
      services/ehpc/struct_cluster_info_simple.go
  79. 21 0
      services/ehpc/struct_clusters_in_describe_gws_clusters.go
  80. 1 1
      services/ehpc/struct_container_apps.go
  81. 21 0
      services/ehpc/struct_data_in_get_accounting_report.go
  82. 21 0
      services/ehpc/struct_data_in_get_instance_report.go
  83. 21 0
      services/ehpc/struct_data_in_get_job_report.go
  84. 21 0
      services/ehpc/struct_data_in_get_total_queue_report.go
  85. 21 0
      services/ehpc/struct_data_in_get_total_user_report.go
  86. 1 1
      services/ehpc/struct_file_system_list_in_list_file_system_with_mount_targets.go
  87. 0 3
      services/ehpc/struct_file_systems.go
  88. 34 0
      services/ehpc/struct_file_systems_in_list_file_system_with_mount_targets.go
  89. 4 0
      services/ehpc/struct_image_info.go
  90. 1 1
      services/ehpc/struct_imagegw.go
  91. 21 0
      services/ehpc/struct_images_in_describe_gws_images.go
  92. 1 1
      services/ehpc/struct_images_in_list_container_images.go
  93. 30 0
      services/ehpc/struct_instance_info.go
  94. 26 0
      services/ehpc/struct_instance_login_view.go
  95. 1 0
      services/ehpc/struct_instance_type_info.go
  96. 21 0
      services/ehpc/struct_instances.go
  97. 1 1
      services/ehpc/struct_job_info.go
  98. 22 21
      services/ehpc/struct_node_info.go
  99. 10 8
      services/ehpc/struct_queue_info.go
  100. 23 0
      services/ehpc/struct_result.go

+ 7 - 0
ChangeLog.txt

@@ -1,3 +1,10 @@
+2020-01-03 Version: v1.60.317
+- Generated 2018-04-12 for `EHPC`.
+- Add GWS serie apis.
+- Add QueryReport.
+- Fix ListJobs.
+- Etc.
+
 2020-01-03 Version: v1.60.316
 - Generated 2015-12-01 for `Dds`.
 - New API DescribeAvailableResource.

+ 2 - 2
services/ehpc/add_container_app.go

@@ -76,10 +76,10 @@ func (client *Client) AddContainerAppWithCallback(request *AddContainerAppReques
 // AddContainerAppRequest is the request struct for api AddContainerApp
 type AddContainerAppRequest struct {
 	*requests.RpcRequest
-	ContainerType string `position:"Query" name:"ContainerType"`
-	Name          string `position:"Query" name:"Name"`
 	Description   string `position:"Query" name:"Description"`
 	Repository    string `position:"Query" name:"Repository"`
+	ContainerType string `position:"Query" name:"ContainerType"`
+	Name          string `position:"Query" name:"Name"`
 	ImageTag      string `position:"Query" name:"ImageTag"`
 }
 

+ 1 - 1
services/ehpc/add_local_nodes.go

@@ -76,8 +76,8 @@ func (client *Client) AddLocalNodesWithCallback(request *AddLocalNodesRequest, c
 // AddLocalNodesRequest is the request struct for api AddLocalNodes
 type AddLocalNodesRequest struct {
 	*requests.RpcRequest
-	Nodes     string `position:"Query" name:"Nodes"`
 	ClusterId string `position:"Query" name:"ClusterId"`
+	Nodes     string `position:"Query" name:"Nodes"`
 }
 
 // AddLocalNodesResponse is the response struct for api AddLocalNodes

+ 10 - 6
services/ehpc/add_nodes.go

@@ -76,23 +76,27 @@ func (client *Client) AddNodesWithCallback(request *AddNodesRequest, callback fu
 // AddNodesRequest is the request struct for api AddNodes
 type AddNodesRequest struct {
 	*requests.RpcRequest
+	ImageId               string           `position:"Query" name:"ImageId"`
+	JobQueue              string           `position:"Query" name:"JobQueue"`
+	ImageOwnerAlias       string           `position:"Query" name:"ImageOwnerAlias"`
+	SystemDiskType        string           `position:"Query" name:"SystemDiskType"`
+	SystemDiskSize        requests.Integer `position:"Query" name:"SystemDiskSize"`
+	InstanceType          string           `position:"Query" name:"InstanceType"`
+	HostNamePrefix        string           `position:"Query" name:"HostNamePrefix"`
+	ComputeSpotPriceLimit string           `position:"Query" name:"ComputeSpotPriceLimit"`
 	AutoRenewPeriod       requests.Integer `position:"Query" name:"AutoRenewPeriod"`
 	Period                requests.Integer `position:"Query" name:"Period"`
-	ImageId               string           `position:"Query" name:"ImageId"`
 	Count                 requests.Integer `position:"Query" name:"Count"`
 	ClusterId             string           `position:"Query" name:"ClusterId"`
 	ComputeSpotStrategy   string           `position:"Query" name:"ComputeSpotStrategy"`
-	JobQueue              string           `position:"Query" name:"JobQueue"`
-	ImageOwnerAlias       string           `position:"Query" name:"ImageOwnerAlias"`
+	HostNameSuffix        string           `position:"Query" name:"HostNameSuffix"`
 	VSwitchId             string           `position:"Query" name:"VSwitchId"`
 	PeriodUnit            string           `position:"Query" name:"PeriodUnit"`
+	ComputeEnableHt       requests.Boolean `position:"Query" name:"ComputeEnableHt"`
 	AutoRenew             string           `position:"Query" name:"AutoRenew"`
 	EcsChargeType         string           `position:"Query" name:"EcsChargeType"`
 	CreateMode            string           `position:"Query" name:"CreateMode"`
-	SystemDiskSize        requests.Integer `position:"Query" name:"SystemDiskSize"`
-	InstanceType          string           `position:"Query" name:"InstanceType"`
 	ZoneId                string           `position:"Query" name:"ZoneId"`
-	ComputeSpotPriceLimit string           `position:"Query" name:"ComputeSpotPriceLimit"`
 }
 
 // AddNodesResponse is the response struct for api AddNodes

+ 107 - 0
services/ehpc/bind_account_to_cluster_user.go

@@ -0,0 +1,107 @@
+package ehpc
+
+//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"
+)
+
+// BindAccountToClusterUser invokes the ehpc.BindAccountToClusterUser API synchronously
+// api document: https://help.aliyun.com/api/ehpc/bindaccounttoclusteruser.html
+func (client *Client) BindAccountToClusterUser(request *BindAccountToClusterUserRequest) (response *BindAccountToClusterUserResponse, err error) {
+	response = CreateBindAccountToClusterUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// BindAccountToClusterUserWithChan invokes the ehpc.BindAccountToClusterUser API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/bindaccounttoclusteruser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BindAccountToClusterUserWithChan(request *BindAccountToClusterUserRequest) (<-chan *BindAccountToClusterUserResponse, <-chan error) {
+	responseChan := make(chan *BindAccountToClusterUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.BindAccountToClusterUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// BindAccountToClusterUserWithCallback invokes the ehpc.BindAccountToClusterUser API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/bindaccounttoclusteruser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) BindAccountToClusterUserWithCallback(request *BindAccountToClusterUserRequest, callback func(response *BindAccountToClusterUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *BindAccountToClusterUserResponse
+		var err error
+		defer close(result)
+		response, err = client.BindAccountToClusterUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// BindAccountToClusterUserRequest is the request struct for api BindAccountToClusterUser
+type BindAccountToClusterUserRequest struct {
+	*requests.RpcRequest
+	UserPwd     string `position:"Query" name:"UserPwd"`
+	ClusterId   string `position:"Query" name:"ClusterId"`
+	AccountName string `position:"Query" name:"AccountName"`
+	AccountUid  string `position:"Query" name:"AccountUid"`
+	UserName    string `position:"Query" name:"UserName"`
+}
+
+// BindAccountToClusterUserResponse is the response struct for api BindAccountToClusterUser
+type BindAccountToClusterUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateBindAccountToClusterUserRequest creates a request to invoke BindAccountToClusterUser API
+func CreateBindAccountToClusterUserRequest() (request *BindAccountToClusterUserRequest) {
+	request = &BindAccountToClusterUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "BindAccountToClusterUser", "ehs", "openAPI")
+	return
+}
+
+// CreateBindAccountToClusterUserResponse creates a response to parse from BindAccountToClusterUser response
+func CreateBindAccountToClusterUserResponse() (response *BindAccountToClusterUserResponse) {
+	response = &BindAccountToClusterUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 32 - 25
services/ehpc/create_cluster.go

@@ -76,20 +76,11 @@ func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, c
 // CreateClusterRequest is the request struct for api CreateCluster
 type CreateClusterRequest struct {
 	*requests.RpcRequest
-	SccClusterId                string                            `position:"Query" name:"SccClusterId"`
-	ImageId                     string                            `position:"Query" name:"ImageId"`
 	AdditionalVolumes           *[]CreateClusterAdditionalVolumes `position:"Query" name:"AdditionalVolumes"  type:"Repeated"`
 	EcsOrderManagerInstanceType string                            `position:"Query" name:"EcsOrder.Manager.InstanceType"`
-	EhpcVersion                 string                            `position:"Query" name:"EhpcVersion"`
-	AccountType                 string                            `position:"Query" name:"AccountType"`
-	SecurityGroupId             string                            `position:"Query" name:"SecurityGroupId"`
-	Description                 string                            `position:"Query" name:"Description"`
 	KeyPairName                 string                            `position:"Query" name:"KeyPairName"`
 	SecurityGroupName           string                            `position:"Query" name:"SecurityGroupName"`
-	EcsOrderComputeInstanceType string                            `position:"Query" name:"EcsOrder.Compute.InstanceType"`
-	JobQueue                    string                            `position:"Query" name:"JobQueue"`
 	ImageOwnerAlias             string                            `position:"Query" name:"ImageOwnerAlias"`
-	VolumeType                  string                            `position:"Query" name:"VolumeType"`
 	DeployMode                  string                            `position:"Query" name:"DeployMode"`
 	EcsOrderManagerCount        requests.Integer                  `position:"Query" name:"EcsOrder.Manager.Count"`
 	ResourceGroupId             string                            `position:"Query" name:"ResourceGroupId"`
@@ -100,40 +91,51 @@ type CreateClusterRequest struct {
 	ComputeSpotPriceLimit       string                            `position:"Query" name:"ComputeSpotPriceLimit"`
 	AutoRenewPeriod             requests.Integer                  `position:"Query" name:"AutoRenewPeriod"`
 	Period                      requests.Integer                  `position:"Query" name:"Period"`
-	VolumeProtocol              string                            `position:"Query" name:"VolumeProtocol"`
-	ClientVersion               string                            `position:"Query" name:"ClientVersion"`
-	OsTag                       string                            `position:"Query" name:"OsTag"`
 	RemoteDirectory             string                            `position:"Query" name:"RemoteDirectory"`
 	EcsOrderComputeCount        requests.Integer                  `position:"Query" name:"EcsOrder.Compute.Count"`
 	ComputeSpotStrategy         string                            `position:"Query" name:"ComputeSpotStrategy"`
 	PostInstallScript           *[]CreateClusterPostInstallScript `position:"Query" name:"PostInstallScript"  type:"Repeated"`
 	VSwitchId                   string                            `position:"Query" name:"VSwitchId"`
 	PeriodUnit                  string                            `position:"Query" name:"PeriodUnit"`
-	Application                 *[]CreateClusterApplication       `position:"Query" name:"Application"  type:"Repeated"`
+	ComputeEnableHt             requests.Boolean                  `position:"Query" name:"ComputeEnableHt"`
 	AutoRenew                   string                            `position:"Query" name:"AutoRenew"`
+	Name                        string                            `position:"Query" name:"Name"`
+	VolumeId                    string                            `position:"Query" name:"VolumeId"`
+	ZoneId                      string                            `position:"Query" name:"ZoneId"`
+	SccClusterId                string                            `position:"Query" name:"SccClusterId"`
+	ImageId                     string                            `position:"Query" name:"ImageId"`
+	EhpcVersion                 string                            `position:"Query" name:"EhpcVersion"`
+	AccountType                 string                            `position:"Query" name:"AccountType"`
+	SecurityGroupId             string                            `position:"Query" name:"SecurityGroupId"`
+	Description                 string                            `position:"Query" name:"Description"`
+	EcsOrderComputeInstanceType string                            `position:"Query" name:"EcsOrder.Compute.InstanceType"`
+	JobQueue                    string                            `position:"Query" name:"JobQueue"`
+	VolumeType                  string                            `position:"Query" name:"VolumeType"`
+	SystemDiskType              string                            `position:"Query" name:"SystemDiskType"`
+	VolumeProtocol              string                            `position:"Query" name:"VolumeProtocol"`
+	ClientVersion               string                            `position:"Query" name:"ClientVersion"`
+	OsTag                       string                            `position:"Query" name:"OsTag"`
+	Application                 *[]CreateClusterApplication       `position:"Query" name:"Application"  type:"Repeated"`
 	EcsChargeType               string                            `position:"Query" name:"EcsChargeType"`
 	InputFileUrl                string                            `position:"Query" name:"InputFileUrl"`
 	VpcId                       string                            `position:"Query" name:"VpcId"`
 	HaEnable                    requests.Boolean                  `position:"Query" name:"HaEnable"`
-	Name                        string                            `position:"Query" name:"Name"`
 	SchedulerType               string                            `position:"Query" name:"SchedulerType"`
-	VolumeId                    string                            `position:"Query" name:"VolumeId"`
 	VolumeMountpoint            string                            `position:"Query" name:"VolumeMountpoint"`
 	EcsOrderLoginInstanceType   string                            `position:"Query" name:"EcsOrder.Login.InstanceType"`
-	ZoneId                      string                            `position:"Query" name:"ZoneId"`
 }
 
 // CreateClusterAdditionalVolumes is a repeated param struct in CreateClusterRequest
 type CreateClusterAdditionalVolumes struct {
-	VolumeType       string    `name:"VolumeType"`
-	VolumeProtocol   string    `name:"VolumeProtocol"`
-	LocalDirectory   string    `name:"LocalDirectory"`
-	RemoteDirectory  string    `name:"RemoteDirectory"`
-	Roles            *[]string `name:"Roles" type:"Repeated"`
-	VolumeId         string    `name:"VolumeId"`
-	VolumeMountpoint string    `name:"VolumeMountpoint"`
-	Location         string    `name:"Location"`
-	JobQueue         string    `name:"JobQueue"`
+	VolumeType       string                `name:"VolumeType"`
+	VolumeProtocol   string                `name:"VolumeProtocol"`
+	LocalDirectory   string                `name:"LocalDirectory"`
+	RemoteDirectory  string                `name:"RemoteDirectory"`
+	Roles            *[]CreateClusterRoles `name:"Roles" type:"Repeated"`
+	VolumeId         string                `name:"VolumeId"`
+	VolumeMountpoint string                `name:"VolumeMountpoint"`
+	Location         string                `name:"Location"`
+	JobQueue         string                `name:"JobQueue"`
 }
 
 // CreateClusterPostInstallScript is a repeated param struct in CreateClusterRequest
@@ -147,6 +149,11 @@ type CreateClusterApplication struct {
 	Tag string `name:"Tag"`
 }
 
+// CreateClusterRoles is a repeated param struct in CreateClusterRequest
+type CreateClusterRoles struct {
+	Name string `name:"Name"`
+}
+
 // CreateClusterResponse is the response struct for api CreateCluster
 type CreateClusterResponse struct {
 	*responses.BaseResponse

+ 106 - 0
services/ehpc/create_gws_cluster.go

@@ -0,0 +1,106 @@
+package ehpc
+
+//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"
+)
+
+// CreateGWSCluster invokes the ehpc.CreateGWSCluster API synchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwscluster.html
+func (client *Client) CreateGWSCluster(request *CreateGWSClusterRequest) (response *CreateGWSClusterResponse, err error) {
+	response = CreateCreateGWSClusterResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateGWSClusterWithChan invokes the ehpc.CreateGWSCluster API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwscluster.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGWSClusterWithChan(request *CreateGWSClusterRequest) (<-chan *CreateGWSClusterResponse, <-chan error) {
+	responseChan := make(chan *CreateGWSClusterResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateGWSCluster(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateGWSClusterWithCallback invokes the ehpc.CreateGWSCluster API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwscluster.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGWSClusterWithCallback(request *CreateGWSClusterRequest, callback func(response *CreateGWSClusterResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateGWSClusterResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateGWSCluster(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateGWSClusterRequest is the request struct for api CreateGWSCluster
+type CreateGWSClusterRequest struct {
+	*requests.RpcRequest
+	ClusterType string `position:"Query" name:"ClusterType"`
+	VpcId       string `position:"Query" name:"VpcId"`
+	Name        string `position:"Query" name:"Name"`
+}
+
+// CreateGWSClusterResponse is the response struct for api CreateGWSCluster
+type CreateGWSClusterResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	ClusterId string `json:"ClusterId" xml:"ClusterId"`
+}
+
+// CreateCreateGWSClusterRequest creates a request to invoke CreateGWSCluster API
+func CreateCreateGWSClusterRequest() (request *CreateGWSClusterRequest) {
+	request = &CreateGWSClusterRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "CreateGWSCluster", "ehs", "openAPI")
+	return
+}
+
+// CreateCreateGWSClusterResponse creates a response to parse from CreateGWSCluster response
+func CreateCreateGWSClusterResponse() (response *CreateGWSClusterResponse) {
+	response = &CreateGWSClusterResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/ehpc/create_gws_image.go

@@ -0,0 +1,105 @@
+package ehpc
+
+//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"
+)
+
+// CreateGWSImage invokes the ehpc.CreateGWSImage API synchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwsimage.html
+func (client *Client) CreateGWSImage(request *CreateGWSImageRequest) (response *CreateGWSImageResponse, err error) {
+	response = CreateCreateGWSImageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateGWSImageWithChan invokes the ehpc.CreateGWSImage API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwsimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGWSImageWithChan(request *CreateGWSImageRequest) (<-chan *CreateGWSImageResponse, <-chan error) {
+	responseChan := make(chan *CreateGWSImageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateGWSImage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateGWSImageWithCallback invokes the ehpc.CreateGWSImage API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwsimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGWSImageWithCallback(request *CreateGWSImageRequest, callback func(response *CreateGWSImageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateGWSImageResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateGWSImage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateGWSImageRequest is the request struct for api CreateGWSImage
+type CreateGWSImageRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Name       string `position:"Query" name:"Name"`
+}
+
+// CreateGWSImageResponse is the response struct for api CreateGWSImage
+type CreateGWSImageResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	ImageId   string `json:"ImageId" xml:"ImageId"`
+}
+
+// CreateCreateGWSImageRequest creates a request to invoke CreateGWSImage API
+func CreateCreateGWSImageRequest() (request *CreateGWSImageRequest) {
+	request = &CreateGWSImageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "CreateGWSImage", "ehs", "openAPI")
+	return
+}
+
+// CreateCreateGWSImageResponse creates a response to parse from CreateGWSImage response
+func CreateCreateGWSImageResponse() (response *CreateGWSImageResponse) {
+	response = &CreateGWSImageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 119 - 0
services/ehpc/create_gws_instance.go

@@ -0,0 +1,119 @@
+package ehpc
+
+//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"
+)
+
+// CreateGWSInstance invokes the ehpc.CreateGWSInstance API synchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwsinstance.html
+func (client *Client) CreateGWSInstance(request *CreateGWSInstanceRequest) (response *CreateGWSInstanceResponse, err error) {
+	response = CreateCreateGWSInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateGWSInstanceWithChan invokes the ehpc.CreateGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGWSInstanceWithChan(request *CreateGWSInstanceRequest) (<-chan *CreateGWSInstanceResponse, <-chan error) {
+	responseChan := make(chan *CreateGWSInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateGWSInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateGWSInstanceWithCallback invokes the ehpc.CreateGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/creategwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGWSInstanceWithCallback(request *CreateGWSInstanceRequest, callback func(response *CreateGWSInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateGWSInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateGWSInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateGWSInstanceRequest is the request struct for api CreateGWSInstance
+type CreateGWSInstanceRequest struct {
+	*requests.RpcRequest
+	ImageId                 string           `position:"Query" name:"ImageId"`
+	AllocatePublicAddress   requests.Boolean `position:"Query" name:"AllocatePublicAddress"`
+	AppList                 string           `position:"Query" name:"AppList"`
+	InternetMaxBandwidthOut requests.Integer `position:"Query" name:"InternetMaxBandwidthOut"`
+	SystemDiskCategory      string           `position:"Query" name:"SystemDiskCategory"`
+	SystemDiskSize          requests.Integer `position:"Query" name:"SystemDiskSize"`
+	InstanceType            string           `position:"Query" name:"InstanceType"`
+	InstanceChargeType      string           `position:"Query" name:"InstanceChargeType"`
+	Period                  string           `position:"Query" name:"Period"`
+	ClusterId               string           `position:"Query" name:"ClusterId"`
+	WorkMode                string           `position:"Query" name:"WorkMode"`
+	PeriodUnit              string           `position:"Query" name:"PeriodUnit"`
+	AutoRenew               requests.Boolean `position:"Query" name:"AutoRenew"`
+	InternetChargeType      string           `position:"Query" name:"InternetChargeType"`
+	Name                    string           `position:"Query" name:"Name"`
+	InternetMaxBandwidthIn  requests.Integer `position:"Query" name:"InternetMaxBandwidthIn"`
+}
+
+// CreateGWSInstanceResponse is the response struct for api CreateGWSInstance
+type CreateGWSInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	InstanceId string `json:"InstanceId" xml:"InstanceId"`
+}
+
+// CreateCreateGWSInstanceRequest creates a request to invoke CreateGWSInstance API
+func CreateCreateGWSInstanceRequest() (request *CreateGWSInstanceRequest) {
+	request = &CreateGWSInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "CreateGWSInstance", "ehs", "openAPI")
+	return
+}
+
+// CreateCreateGWSInstanceResponse creates a response to parse from CreateGWSInstance response
+func CreateCreateGWSInstanceResponse() (response *CreateGWSInstanceResponse) {
+	response = &CreateGWSInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 11 - 1
services/ehpc/create_hybrid_cluster.go

@@ -96,7 +96,7 @@ type CreateHybridClusterRequest struct {
 	RemoteDirectory             string                                  `position:"Query" name:"RemoteDirectory"`
 	PostInstallScript           *[]CreateHybridClusterPostInstallScript `position:"Query" name:"PostInstallScript"  type:"Repeated"`
 	VSwitchId                   string                                  `position:"Query" name:"VSwitchId"`
-	Nodes                       string                                  `position:"Query" name:"Nodes"`
+	Nodes                       *[]CreateHybridClusterNodes             `position:"Query" name:"Nodes"  type:"Repeated"`
 	Application                 *[]CreateHybridClusterApplication       `position:"Query" name:"Application"  type:"Repeated"`
 	Domain                      string                                  `position:"Query" name:"Domain"`
 	VpcId                       string                                  `position:"Query" name:"VpcId"`
@@ -104,6 +104,7 @@ type CreateHybridClusterRequest struct {
 	VolumeId                    string                                  `position:"Query" name:"VolumeId"`
 	VolumeMountpoint            string                                  `position:"Query" name:"VolumeMountpoint"`
 	ZoneId                      string                                  `position:"Query" name:"ZoneId"`
+	SchedulerPreInstall         requests.Boolean                        `position:"Query" name:"SchedulerPreInstall"`
 	Location                    string                                  `position:"Query" name:"Location"`
 }
 
@@ -113,6 +114,15 @@ type CreateHybridClusterPostInstallScript struct {
 	Url  string `name:"Url"`
 }
 
+// CreateHybridClusterNodes is a repeated param struct in CreateHybridClusterRequest
+type CreateHybridClusterNodes struct {
+	IpAddress     string `name:"IpAddress"`
+	HostName      string `name:"HostName"`
+	Role          string `name:"Role"`
+	AccountType   string `name:"AccountType"`
+	SchedulerType string `name:"SchedulerType"`
+}
+
 // CreateHybridClusterApplication is a repeated param struct in CreateHybridClusterRequest
 type CreateHybridClusterApplication struct {
 	Tag string `name:"Tag"`

+ 3 - 3
services/ehpc/create_job_template.go

@@ -77,15 +77,15 @@ func (client *Client) CreateJobTemplateWithCallback(request *CreateJobTemplateRe
 type CreateJobTemplateRequest struct {
 	*requests.RpcRequest
 	StderrRedirectPath string           `position:"Query" name:"StderrRedirectPath"`
+	CommandLine        string           `position:"Query" name:"CommandLine"`
 	ArrayRequest       string           `position:"Query" name:"ArrayRequest"`
 	PackagePath        string           `position:"Query" name:"PackagePath"`
+	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
 	Variables          string           `position:"Query" name:"Variables"`
-	Name               string           `position:"Query" name:"Name"`
 	RunasUser          string           `position:"Query" name:"RunasUser"`
-	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
 	ReRunable          requests.Boolean `position:"Query" name:"ReRunable"`
 	Priority           requests.Integer `position:"Query" name:"Priority"`
-	CommandLine        string           `position:"Query" name:"CommandLine"`
+	Name               string           `position:"Query" name:"Name"`
 }
 
 // CreateJobTemplateResponse is the response struct for api CreateJobTemplate

+ 1 - 1
services/ehpc/delete_cluster.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteClusterWithCallback(request *DeleteClusterRequest, c
 // DeleteClusterRequest is the request struct for api DeleteCluster
 type DeleteClusterRequest struct {
 	*requests.RpcRequest
-	ReleaseInstance string `position:"Query" name:"ReleaseInstance"`
 	ClusterId       string `position:"Query" name:"ClusterId"`
+	ReleaseInstance string `position:"Query" name:"ReleaseInstance"`
 }
 
 // DeleteClusterResponse is the response struct for api DeleteCluster

+ 103 - 0
services/ehpc/delete_gws_cluster.go

@@ -0,0 +1,103 @@
+package ehpc
+
+//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"
+)
+
+// DeleteGWSCluster invokes the ehpc.DeleteGWSCluster API synchronously
+// api document: https://help.aliyun.com/api/ehpc/deletegwscluster.html
+func (client *Client) DeleteGWSCluster(request *DeleteGWSClusterRequest) (response *DeleteGWSClusterResponse, err error) {
+	response = CreateDeleteGWSClusterResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteGWSClusterWithChan invokes the ehpc.DeleteGWSCluster API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/deletegwscluster.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteGWSClusterWithChan(request *DeleteGWSClusterRequest) (<-chan *DeleteGWSClusterResponse, <-chan error) {
+	responseChan := make(chan *DeleteGWSClusterResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteGWSCluster(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteGWSClusterWithCallback invokes the ehpc.DeleteGWSCluster API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/deletegwscluster.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteGWSClusterWithCallback(request *DeleteGWSClusterRequest, callback func(response *DeleteGWSClusterResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteGWSClusterResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteGWSCluster(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteGWSClusterRequest is the request struct for api DeleteGWSCluster
+type DeleteGWSClusterRequest struct {
+	*requests.RpcRequest
+	ClusterId string `position:"Query" name:"ClusterId"`
+}
+
+// DeleteGWSClusterResponse is the response struct for api DeleteGWSCluster
+type DeleteGWSClusterResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteGWSClusterRequest creates a request to invoke DeleteGWSCluster API
+func CreateDeleteGWSClusterRequest() (request *DeleteGWSClusterRequest) {
+	request = &DeleteGWSClusterRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "DeleteGWSCluster", "ehs", "openAPI")
+	return
+}
+
+// CreateDeleteGWSClusterResponse creates a response to parse from DeleteGWSCluster response
+func CreateDeleteGWSClusterResponse() (response *DeleteGWSClusterResponse) {
+	response = &DeleteGWSClusterResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 103 - 0
services/ehpc/delete_gws_instance.go

@@ -0,0 +1,103 @@
+package ehpc
+
+//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"
+)
+
+// DeleteGWSInstance invokes the ehpc.DeleteGWSInstance API synchronously
+// api document: https://help.aliyun.com/api/ehpc/deletegwsinstance.html
+func (client *Client) DeleteGWSInstance(request *DeleteGWSInstanceRequest) (response *DeleteGWSInstanceResponse, err error) {
+	response = CreateDeleteGWSInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteGWSInstanceWithChan invokes the ehpc.DeleteGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/deletegwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteGWSInstanceWithChan(request *DeleteGWSInstanceRequest) (<-chan *DeleteGWSInstanceResponse, <-chan error) {
+	responseChan := make(chan *DeleteGWSInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteGWSInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteGWSInstanceWithCallback invokes the ehpc.DeleteGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/deletegwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteGWSInstanceWithCallback(request *DeleteGWSInstanceRequest, callback func(response *DeleteGWSInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteGWSInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteGWSInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteGWSInstanceRequest is the request struct for api DeleteGWSInstance
+type DeleteGWSInstanceRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+}
+
+// DeleteGWSInstanceResponse is the response struct for api DeleteGWSInstance
+type DeleteGWSInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteGWSInstanceRequest creates a request to invoke DeleteGWSInstance API
+func CreateDeleteGWSInstanceRequest() (request *DeleteGWSInstanceRequest) {
+	request = &DeleteGWSInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "DeleteGWSInstance", "ehs", "openAPI")
+	return
+}
+
+// CreateDeleteGWSInstanceResponse creates a response to parse from DeleteGWSInstance response
+func CreateDeleteGWSInstanceResponse() (response *DeleteGWSInstanceResponse) {
+	response = &DeleteGWSInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/delete_image.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteImageWithCallback(request *DeleteImageRequest, callb
 // DeleteImageRequest is the request struct for api DeleteImage
 type DeleteImageRequest struct {
 	*requests.RpcRequest
-	ContainerType string `position:"Query" name:"ContainerType"`
 	ClusterId     string `position:"Query" name:"ClusterId"`
 	Repository    string `position:"Query" name:"Repository"`
+	ContainerType string `position:"Query" name:"ContainerType"`
 	ImageTag      string `position:"Query" name:"ImageTag"`
 }
 

+ 1 - 1
services/ehpc/delete_nodes.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteNodesWithCallback(request *DeleteNodesRequest, callb
 // DeleteNodesRequest is the request struct for api DeleteNodes
 type DeleteNodesRequest struct {
 	*requests.RpcRequest
-	ReleaseInstance requests.Boolean       `position:"Query" name:"ReleaseInstance"`
 	Instance        *[]DeleteNodesInstance `position:"Query" name:"Instance"  type:"Repeated"`
 	ClusterId       string                 `position:"Query" name:"ClusterId"`
+	ReleaseInstance requests.Boolean       `position:"Query" name:"ReleaseInstance"`
 }
 
 // DeleteNodesInstance is a repeated param struct in DeleteNodesRequest

+ 110 - 0
services/ehpc/describe_gws_clusters.go

@@ -0,0 +1,110 @@
+package ehpc
+
+//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"
+)
+
+// DescribeGWSClusters invokes the ehpc.DescribeGWSClusters API synchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsclusters.html
+func (client *Client) DescribeGWSClusters(request *DescribeGWSClustersRequest) (response *DescribeGWSClustersResponse, err error) {
+	response = CreateDescribeGWSClustersResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeGWSClustersWithChan invokes the ehpc.DescribeGWSClusters API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsclusters.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeGWSClustersWithChan(request *DescribeGWSClustersRequest) (<-chan *DescribeGWSClustersResponse, <-chan error) {
+	responseChan := make(chan *DescribeGWSClustersResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeGWSClusters(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeGWSClustersWithCallback invokes the ehpc.DescribeGWSClusters API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsclusters.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeGWSClustersWithCallback(request *DescribeGWSClustersRequest, callback func(response *DescribeGWSClustersResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeGWSClustersResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeGWSClusters(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeGWSClustersRequest is the request struct for api DescribeGWSClusters
+type DescribeGWSClustersRequest struct {
+	*requests.RpcRequest
+	ClusterId  string           `position:"Query" name:"ClusterId"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// DescribeGWSClustersResponse is the response struct for api DescribeGWSClusters
+type DescribeGWSClustersResponse struct {
+	*responses.BaseResponse
+	RequestId  string                        `json:"RequestId" xml:"RequestId"`
+	TotalCount int                           `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int                           `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int                           `json:"PageSize" xml:"PageSize"`
+	CallerType string                        `json:"CallerType" xml:"CallerType"`
+	Clusters   ClustersInDescribeGWSClusters `json:"Clusters" xml:"Clusters"`
+}
+
+// CreateDescribeGWSClustersRequest creates a request to invoke DescribeGWSClusters API
+func CreateDescribeGWSClustersRequest() (request *DescribeGWSClustersRequest) {
+	request = &DescribeGWSClustersRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "DescribeGWSClusters", "ehs", "openAPI")
+	return
+}
+
+// CreateDescribeGWSClustersResponse creates a response to parse from DescribeGWSClusters response
+func CreateDescribeGWSClustersResponse() (response *DescribeGWSClustersResponse) {
+	response = &DescribeGWSClustersResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ehpc/describe_gws_images.go

@@ -0,0 +1,108 @@
+package ehpc
+
+//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"
+)
+
+// DescribeGWSImages invokes the ehpc.DescribeGWSImages API synchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsimages.html
+func (client *Client) DescribeGWSImages(request *DescribeGWSImagesRequest) (response *DescribeGWSImagesResponse, err error) {
+	response = CreateDescribeGWSImagesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeGWSImagesWithChan invokes the ehpc.DescribeGWSImages API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsimages.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeGWSImagesWithChan(request *DescribeGWSImagesRequest) (<-chan *DescribeGWSImagesResponse, <-chan error) {
+	responseChan := make(chan *DescribeGWSImagesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeGWSImages(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeGWSImagesWithCallback invokes the ehpc.DescribeGWSImages API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsimages.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeGWSImagesWithCallback(request *DescribeGWSImagesRequest, callback func(response *DescribeGWSImagesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeGWSImagesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeGWSImages(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeGWSImagesRequest is the request struct for api DescribeGWSImages
+type DescribeGWSImagesRequest struct {
+	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// DescribeGWSImagesResponse is the response struct for api DescribeGWSImages
+type DescribeGWSImagesResponse struct {
+	*responses.BaseResponse
+	RequestId  string                    `json:"RequestId" xml:"RequestId"`
+	TotalCount int                       `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int                       `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int                       `json:"PageSize" xml:"PageSize"`
+	Images     ImagesInDescribeGWSImages `json:"Images" xml:"Images"`
+}
+
+// CreateDescribeGWSImagesRequest creates a request to invoke DescribeGWSImages API
+func CreateDescribeGWSImagesRequest() (request *DescribeGWSImagesRequest) {
+	request = &DescribeGWSImagesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "DescribeGWSImages", "ehs", "openAPI")
+	return
+}
+
+// CreateDescribeGWSImagesResponse creates a response to parse from DescribeGWSImages response
+func CreateDescribeGWSImagesResponse() (response *DescribeGWSImagesResponse) {
+	response = &DescribeGWSImagesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/ehpc/describe_gws_instances.go

@@ -0,0 +1,110 @@
+package ehpc
+
+//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"
+)
+
+// DescribeGWSInstances invokes the ehpc.DescribeGWSInstances API synchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsinstances.html
+func (client *Client) DescribeGWSInstances(request *DescribeGWSInstancesRequest) (response *DescribeGWSInstancesResponse, err error) {
+	response = CreateDescribeGWSInstancesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeGWSInstancesWithChan invokes the ehpc.DescribeGWSInstances API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeGWSInstancesWithChan(request *DescribeGWSInstancesRequest) (<-chan *DescribeGWSInstancesResponse, <-chan error) {
+	responseChan := make(chan *DescribeGWSInstancesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeGWSInstances(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeGWSInstancesWithCallback invokes the ehpc.DescribeGWSInstances API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describegwsinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeGWSInstancesWithCallback(request *DescribeGWSInstancesRequest, callback func(response *DescribeGWSInstancesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeGWSInstancesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeGWSInstances(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeGWSInstancesRequest is the request struct for api DescribeGWSInstances
+type DescribeGWSInstancesRequest struct {
+	*requests.RpcRequest
+	ClusterId  string           `position:"Query" name:"ClusterId"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// DescribeGWSInstancesResponse is the response struct for api DescribeGWSInstances
+type DescribeGWSInstancesResponse struct {
+	*responses.BaseResponse
+	RequestId  string    `json:"RequestId" xml:"RequestId"`
+	TotalCount int       `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int       `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int       `json:"PageSize" xml:"PageSize"`
+	Instances  Instances `json:"Instances" xml:"Instances"`
+}
+
+// CreateDescribeGWSInstancesRequest creates a request to invoke DescribeGWSInstances API
+func CreateDescribeGWSInstancesRequest() (request *DescribeGWSInstancesRequest) {
+	request = &DescribeGWSInstancesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "DescribeGWSInstances", "ehs", "openAPI")
+	return
+}
+
+// CreateDescribeGWSInstancesResponse creates a response to parse from DescribeGWSInstances response
+func CreateDescribeGWSInstancesResponse() (response *DescribeGWSInstancesResponse) {
+	response = &DescribeGWSInstancesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/describe_image.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeImageWithCallback(request *DescribeImageRequest, c
 // DescribeImageRequest is the request struct for api DescribeImage
 type DescribeImageRequest struct {
 	*requests.RpcRequest
-	ContainerType string `position:"Query" name:"ContainerType"`
 	ClusterId     string `position:"Query" name:"ClusterId"`
 	Repository    string `position:"Query" name:"Repository"`
+	ContainerType string `position:"Query" name:"ContainerType"`
 	ImageTag      string `position:"Query" name:"ImageTag"`
 }
 

+ 1 - 1
services/ehpc/describe_image_price.go

@@ -79,8 +79,8 @@ type DescribeImagePriceRequest struct {
 	Period    requests.Integer `position:"Query" name:"Period"`
 	Amount    requests.Integer `position:"Query" name:"Amount"`
 	ImageId   string           `position:"Query" name:"ImageId"`
-	PriceUnit string           `position:"Query" name:"PriceUnit"`
 	SkuCode   string           `position:"Query" name:"SkuCode"`
+	PriceUnit string           `position:"Query" name:"PriceUnit"`
 	OrderType string           `position:"Query" name:"OrderType"`
 }
 

+ 1 - 1
services/ehpc/describe_job.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeJobWithCallback(request *DescribeJobRequest, callb
 // DescribeJobRequest is the request struct for api DescribeJob
 type DescribeJobRequest struct {
 	*requests.RpcRequest
-	JobId     string `position:"Query" name:"JobId"`
 	ClusterId string `position:"Query" name:"ClusterId"`
+	JobId     string `position:"Query" name:"JobId"`
 }
 
 // DescribeJobResponse is the response struct for api DescribeJob

+ 104 - 0
services/ehpc/describe_nfs_client_status.go

@@ -0,0 +1,104 @@
+package ehpc
+
+//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"
+)
+
+// DescribeNFSClientStatus invokes the ehpc.DescribeNFSClientStatus API synchronously
+// api document: https://help.aliyun.com/api/ehpc/describenfsclientstatus.html
+func (client *Client) DescribeNFSClientStatus(request *DescribeNFSClientStatusRequest) (response *DescribeNFSClientStatusResponse, err error) {
+	response = CreateDescribeNFSClientStatusResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeNFSClientStatusWithChan invokes the ehpc.DescribeNFSClientStatus API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describenfsclientstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeNFSClientStatusWithChan(request *DescribeNFSClientStatusRequest) (<-chan *DescribeNFSClientStatusResponse, <-chan error) {
+	responseChan := make(chan *DescribeNFSClientStatusResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeNFSClientStatus(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeNFSClientStatusWithCallback invokes the ehpc.DescribeNFSClientStatus API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/describenfsclientstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeNFSClientStatusWithCallback(request *DescribeNFSClientStatusRequest, callback func(response *DescribeNFSClientStatusResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeNFSClientStatusResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeNFSClientStatus(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeNFSClientStatusRequest is the request struct for api DescribeNFSClientStatus
+type DescribeNFSClientStatusRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+}
+
+// DescribeNFSClientStatusResponse is the response struct for api DescribeNFSClientStatus
+type DescribeNFSClientStatusResponse struct {
+	*responses.BaseResponse
+	Status string `json:"Status" xml:"Status"`
+	Result Result `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeNFSClientStatusRequest creates a request to invoke DescribeNFSClientStatus API
+func CreateDescribeNFSClientStatusRequest() (request *DescribeNFSClientStatusRequest) {
+	request = &DescribeNFSClientStatusRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "DescribeNFSClientStatus", "ehs", "openAPI")
+	return
+}
+
+// CreateDescribeNFSClientStatusResponse creates a response to parse from DescribeNFSClientStatus response
+func CreateDescribeNFSClientStatusResponse() (response *DescribeNFSClientStatusResponse) {
+	response = &DescribeNFSClientStatusResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/describe_price.go

@@ -76,8 +76,8 @@ func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, c
 // DescribePriceRequest is the request struct for api DescribePrice
 type DescribePriceRequest struct {
 	*requests.RpcRequest
-	PriceUnit   string                      `position:"Query" name:"PriceUnit"`
 	Commodities *[]DescribePriceCommodities `position:"Query" name:"Commodities"  type:"Repeated"`
+	PriceUnit   string                      `position:"Query" name:"PriceUnit"`
 	ChargeType  string                      `position:"Query" name:"ChargeType"`
 	OrderType   string                      `position:"Query" name:"OrderType"`
 }

+ 4 - 4
services/ehpc/edit_job_template.go

@@ -77,16 +77,16 @@ func (client *Client) EditJobTemplateWithCallback(request *EditJobTemplateReques
 type EditJobTemplateRequest struct {
 	*requests.RpcRequest
 	StderrRedirectPath string           `position:"Query" name:"StderrRedirectPath"`
+	CommandLine        string           `position:"Query" name:"CommandLine"`
+	ArrayRequest       string           `position:"Query" name:"ArrayRequest"`
+	PackagePath        string           `position:"Query" name:"PackagePath"`
+	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
 	Variables          string           `position:"Query" name:"Variables"`
 	RunasUser          string           `position:"Query" name:"RunasUser"`
 	ReRunable          requests.Boolean `position:"Query" name:"ReRunable"`
 	TemplateId         string           `position:"Query" name:"TemplateId"`
 	Priority           requests.Integer `position:"Query" name:"Priority"`
-	CommandLine        string           `position:"Query" name:"CommandLine"`
-	ArrayRequest       string           `position:"Query" name:"ArrayRequest"`
-	PackagePath        string           `position:"Query" name:"PackagePath"`
 	Name               string           `position:"Query" name:"Name"`
-	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
 }
 
 // EditJobTemplateResponse is the response struct for api EditJobTemplate

+ 8 - 7
services/ehpc/get_accounting_report.go

@@ -76,18 +76,19 @@ func (client *Client) GetAccountingReportWithCallback(request *GetAccountingRepo
 // GetAccountingReportRequest is the request struct for api GetAccountingReport
 type GetAccountingReportRequest struct {
 	*requests.RpcRequest
-	ReportType string           `position:"Query" name:"ReportType"`
-	EndTime    requests.Integer `position:"Query" name:"EndTime"`
-	ClusterId  string           `position:"Query" name:"ClusterId"`
-	StartTime  requests.Integer `position:"Query" name:"StartTime"`
+	ReportType  string           `position:"Query" name:"ReportType"`
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	FilterValue string           `position:"Query" name:"FilterValue"`
+	ClusterId   string           `position:"Query" name:"ClusterId"`
+	StartTime   requests.Integer `position:"Query" name:"StartTime"`
 }
 
 // GetAccountingReportResponse is the response struct for api GetAccountingReport
 type GetAccountingReportResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Metrics   string `json:"Metrics" xml:"Metrics"`
-	Data      string `json:"Data" xml:"Data"`
+	RequestId string                    `json:"RequestId" xml:"RequestId"`
+	Metrics   string                    `json:"Metrics" xml:"Metrics"`
+	Data      DataInGetAccountingReport `json:"Data" xml:"Data"`
 }
 
 // CreateGetAccountingReportRequest creates a request to invoke GetAccountingReport API

+ 4 - 4
services/ehpc/get_cloud_metric_logs.go

@@ -76,15 +76,15 @@ func (client *Client) GetCloudMetricLogsWithCallback(request *GetCloudMetricLogs
 // GetCloudMetricLogsRequest is the request struct for api GetCloudMetricLogs
 type GetCloudMetricLogsRequest struct {
 	*requests.RpcRequest
+	MetricScope         string           `position:"Query" name:"MetricScope"`
+	ClusterId           string           `position:"Query" name:"ClusterId"`
+	AggregationInterval requests.Integer `position:"Query" name:"AggregationInterval"`
+	Reverse             requests.Boolean `position:"Query" name:"Reverse"`
 	AggregationType     string           `position:"Query" name:"AggregationType"`
 	Filter              string           `position:"Query" name:"Filter"`
 	MetricCategories    string           `position:"Query" name:"MetricCategories"`
-	MetricScope         string           `position:"Query" name:"MetricScope"`
 	From                requests.Integer `position:"Query" name:"From"`
-	ClusterId           string           `position:"Query" name:"ClusterId"`
 	To                  requests.Integer `position:"Query" name:"To"`
-	AggregationInterval requests.Integer `position:"Query" name:"AggregationInterval"`
-	Reverse             requests.Boolean `position:"Query" name:"Reverse"`
 }
 
 // GetCloudMetricLogsResponse is the response struct for api GetCloudMetricLogs

+ 1 - 1
services/ehpc/get_cloud_metric_profiling.go

@@ -76,8 +76,8 @@ func (client *Client) GetCloudMetricProfilingWithCallback(request *GetCloudMetri
 // GetCloudMetricProfilingRequest is the request struct for api GetCloudMetricProfiling
 type GetCloudMetricProfilingRequest struct {
 	*requests.RpcRequest
-	ProfilingId string `position:"Query" name:"ProfilingId"`
 	ClusterId   string `position:"Query" name:"ClusterId"`
+	ProfilingId string `position:"Query" name:"ProfilingId"`
 }
 
 // GetCloudMetricProfilingResponse is the response struct for api GetCloudMetricProfiling

+ 104 - 0
services/ehpc/get_gws_connect_ticket.go

@@ -0,0 +1,104 @@
+package ehpc
+
+//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"
+)
+
+// GetGWSConnectTicket invokes the ehpc.GetGWSConnectTicket API synchronously
+// api document: https://help.aliyun.com/api/ehpc/getgwsconnectticket.html
+func (client *Client) GetGWSConnectTicket(request *GetGWSConnectTicketRequest) (response *GetGWSConnectTicketResponse, err error) {
+	response = CreateGetGWSConnectTicketResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetGWSConnectTicketWithChan invokes the ehpc.GetGWSConnectTicket API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getgwsconnectticket.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetGWSConnectTicketWithChan(request *GetGWSConnectTicketRequest) (<-chan *GetGWSConnectTicketResponse, <-chan error) {
+	responseChan := make(chan *GetGWSConnectTicketResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetGWSConnectTicket(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetGWSConnectTicketWithCallback invokes the ehpc.GetGWSConnectTicket API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getgwsconnectticket.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetGWSConnectTicketWithCallback(request *GetGWSConnectTicketRequest, callback func(response *GetGWSConnectTicketResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetGWSConnectTicketResponse
+		var err error
+		defer close(result)
+		response, err = client.GetGWSConnectTicket(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetGWSConnectTicketRequest is the request struct for api GetGWSConnectTicket
+type GetGWSConnectTicketRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	AppName    string `position:"Query" name:"AppName"`
+}
+
+// GetGWSConnectTicketResponse is the response struct for api GetGWSConnectTicket
+type GetGWSConnectTicketResponse struct {
+	*responses.BaseResponse
+	Ticket string `json:"Ticket" xml:"Ticket"`
+}
+
+// CreateGetGWSConnectTicketRequest creates a request to invoke GetGWSConnectTicket API
+func CreateGetGWSConnectTicketRequest() (request *GetGWSConnectTicketRequest) {
+	request = &GetGWSConnectTicketRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetGWSConnectTicket", "ehs", "openAPI")
+	return
+}
+
+// CreateGetGWSConnectTicketResponse creates a response to parse from GetGWSConnectTicket response
+func CreateGetGWSConnectTicketResponse() (response *GetGWSConnectTicketResponse) {
+	response = &GetGWSConnectTicketResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/get_hybrid_cluster_config.go

@@ -76,8 +76,8 @@ func (client *Client) GetHybridClusterConfigWithCallback(request *GetHybridClust
 // GetHybridClusterConfigRequest is the request struct for api GetHybridClusterConfig
 type GetHybridClusterConfigRequest struct {
 	*requests.RpcRequest
-	Node      string `position:"Query" name:"Node"`
 	ClusterId string `position:"Query" name:"ClusterId"`
+	Node      string `position:"Query" name:"Node"`
 }
 
 // GetHybridClusterConfigResponse is the response struct for api GetHybridClusterConfig

+ 106 - 0
services/ehpc/get_if_ecs_type_support_ht_config.go

@@ -0,0 +1,106 @@
+package ehpc
+
+//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"
+)
+
+// GetIfEcsTypeSupportHtConfig invokes the ehpc.GetIfEcsTypeSupportHtConfig API synchronously
+// api document: https://help.aliyun.com/api/ehpc/getifecstypesupporthtconfig.html
+func (client *Client) GetIfEcsTypeSupportHtConfig(request *GetIfEcsTypeSupportHtConfigRequest) (response *GetIfEcsTypeSupportHtConfigResponse, err error) {
+	response = CreateGetIfEcsTypeSupportHtConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetIfEcsTypeSupportHtConfigWithChan invokes the ehpc.GetIfEcsTypeSupportHtConfig API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getifecstypesupporthtconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetIfEcsTypeSupportHtConfigWithChan(request *GetIfEcsTypeSupportHtConfigRequest) (<-chan *GetIfEcsTypeSupportHtConfigResponse, <-chan error) {
+	responseChan := make(chan *GetIfEcsTypeSupportHtConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetIfEcsTypeSupportHtConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetIfEcsTypeSupportHtConfigWithCallback invokes the ehpc.GetIfEcsTypeSupportHtConfig API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getifecstypesupporthtconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetIfEcsTypeSupportHtConfigWithCallback(request *GetIfEcsTypeSupportHtConfigRequest, callback func(response *GetIfEcsTypeSupportHtConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetIfEcsTypeSupportHtConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.GetIfEcsTypeSupportHtConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetIfEcsTypeSupportHtConfigRequest is the request struct for api GetIfEcsTypeSupportHtConfig
+type GetIfEcsTypeSupportHtConfigRequest struct {
+	*requests.RpcRequest
+	InstanceType string `position:"Query" name:"InstanceType"`
+}
+
+// GetIfEcsTypeSupportHtConfigResponse is the response struct for api GetIfEcsTypeSupportHtConfig
+type GetIfEcsTypeSupportHtConfigResponse struct {
+	*responses.BaseResponse
+	RequestId        string `json:"RequestId" xml:"RequestId"`
+	InstanceType     string `json:"InstanceType" xml:"InstanceType"`
+	SupportHtConfig  bool   `json:"SupportHtConfig" xml:"SupportHtConfig"`
+	DefaultHtEnabled bool   `json:"DefaultHtEnabled" xml:"DefaultHtEnabled"`
+}
+
+// CreateGetIfEcsTypeSupportHtConfigRequest creates a request to invoke GetIfEcsTypeSupportHtConfig API
+func CreateGetIfEcsTypeSupportHtConfigRequest() (request *GetIfEcsTypeSupportHtConfigRequest) {
+	request = &GetIfEcsTypeSupportHtConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetIfEcsTypeSupportHtConfig", "ehs", "openAPI")
+	return
+}
+
+// CreateGetIfEcsTypeSupportHtConfigResponse creates a response to parse from GetIfEcsTypeSupportHtConfig response
+func CreateGetIfEcsTypeSupportHtConfigResponse() (response *GetIfEcsTypeSupportHtConfigResponse) {
+	response = &GetIfEcsTypeSupportHtConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/ehpc/get_instance_report.go

@@ -0,0 +1,108 @@
+package ehpc
+
+//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"
+)
+
+// GetInstanceReport invokes the ehpc.GetInstanceReport API synchronously
+// api document: https://help.aliyun.com/api/ehpc/getinstancereport.html
+func (client *Client) GetInstanceReport(request *GetInstanceReportRequest) (response *GetInstanceReportResponse, err error) {
+	response = CreateGetInstanceReportResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetInstanceReportWithChan invokes the ehpc.GetInstanceReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getinstancereport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetInstanceReportWithChan(request *GetInstanceReportRequest) (<-chan *GetInstanceReportResponse, <-chan error) {
+	responseChan := make(chan *GetInstanceReportResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetInstanceReport(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetInstanceReportWithCallback invokes the ehpc.GetInstanceReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getinstancereport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetInstanceReportWithCallback(request *GetInstanceReportRequest, callback func(response *GetInstanceReportResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetInstanceReportResponse
+		var err error
+		defer close(result)
+		response, err = client.GetInstanceReport(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetInstanceReportRequest is the request struct for api GetInstanceReport
+type GetInstanceReportRequest struct {
+	*requests.RpcRequest
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	FilterValue string           `position:"Query" name:"FilterValue"`
+	ClusterId   string           `position:"Query" name:"ClusterId"`
+	StartTime   requests.Integer `position:"Query" name:"StartTime"`
+}
+
+// GetInstanceReportResponse is the response struct for api GetInstanceReport
+type GetInstanceReportResponse struct {
+	*responses.BaseResponse
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Metrics   string                  `json:"Metrics" xml:"Metrics"`
+	Data      DataInGetInstanceReport `json:"Data" xml:"Data"`
+}
+
+// CreateGetInstanceReportRequest creates a request to invoke GetInstanceReport API
+func CreateGetInstanceReportRequest() (request *GetInstanceReportRequest) {
+	request = &GetInstanceReportRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetInstanceReport", "ehs", "openAPI")
+	return
+}
+
+// CreateGetInstanceReportResponse creates a response to parse from GetInstanceReport response
+func CreateGetInstanceReportResponse() (response *GetInstanceReportResponse) {
+	response = &GetInstanceReportResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/ehpc/get_job_report.go

@@ -0,0 +1,109 @@
+package ehpc
+
+//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"
+)
+
+// GetJobReport invokes the ehpc.GetJobReport API synchronously
+// api document: https://help.aliyun.com/api/ehpc/getjobreport.html
+func (client *Client) GetJobReport(request *GetJobReportRequest) (response *GetJobReportResponse, err error) {
+	response = CreateGetJobReportResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetJobReportWithChan invokes the ehpc.GetJobReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getjobreport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetJobReportWithChan(request *GetJobReportRequest) (<-chan *GetJobReportResponse, <-chan error) {
+	responseChan := make(chan *GetJobReportResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetJobReport(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetJobReportWithCallback invokes the ehpc.GetJobReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getjobreport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetJobReportWithCallback(request *GetJobReportRequest, callback func(response *GetJobReportResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetJobReportResponse
+		var err error
+		defer close(result)
+		response, err = client.GetJobReport(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetJobReportRequest is the request struct for api GetJobReport
+type GetJobReportRequest struct {
+	*requests.RpcRequest
+	ReportType  string           `position:"Query" name:"ReportType"`
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	FilterValue string           `position:"Query" name:"FilterValue"`
+	ClusterId   string           `position:"Query" name:"ClusterId"`
+	StartTime   requests.Integer `position:"Query" name:"StartTime"`
+}
+
+// GetJobReportResponse is the response struct for api GetJobReport
+type GetJobReportResponse struct {
+	*responses.BaseResponse
+	RequestId string             `json:"RequestId" xml:"RequestId"`
+	Metrics   string             `json:"Metrics" xml:"Metrics"`
+	Data      DataInGetJobReport `json:"Data" xml:"Data"`
+}
+
+// CreateGetJobReportRequest creates a request to invoke GetJobReport API
+func CreateGetJobReportRequest() (request *GetJobReportRequest) {
+	request = &GetJobReportRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetJobReport", "ehs", "openAPI")
+	return
+}
+
+// CreateGetJobReportResponse creates a response to parse from GetJobReport response
+func CreateGetJobReportResponse() (response *GetJobReportResponse) {
+	response = &GetJobReportResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ehpc/get_total_queue_report.go

@@ -0,0 +1,107 @@
+package ehpc
+
+//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"
+)
+
+// GetTotalQueueReport invokes the ehpc.GetTotalQueueReport API synchronously
+// api document: https://help.aliyun.com/api/ehpc/gettotalqueuereport.html
+func (client *Client) GetTotalQueueReport(request *GetTotalQueueReportRequest) (response *GetTotalQueueReportResponse, err error) {
+	response = CreateGetTotalQueueReportResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTotalQueueReportWithChan invokes the ehpc.GetTotalQueueReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/gettotalqueuereport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTotalQueueReportWithChan(request *GetTotalQueueReportRequest) (<-chan *GetTotalQueueReportResponse, <-chan error) {
+	responseChan := make(chan *GetTotalQueueReportResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTotalQueueReport(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTotalQueueReportWithCallback invokes the ehpc.GetTotalQueueReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/gettotalqueuereport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTotalQueueReportWithCallback(request *GetTotalQueueReportRequest, callback func(response *GetTotalQueueReportResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTotalQueueReportResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTotalQueueReport(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTotalQueueReportRequest is the request struct for api GetTotalQueueReport
+type GetTotalQueueReportRequest struct {
+	*requests.RpcRequest
+	EndTime   requests.Integer `position:"Query" name:"EndTime"`
+	ClusterId string           `position:"Query" name:"ClusterId"`
+	StartTime requests.Integer `position:"Query" name:"StartTime"`
+}
+
+// GetTotalQueueReportResponse is the response struct for api GetTotalQueueReport
+type GetTotalQueueReportResponse struct {
+	*responses.BaseResponse
+	RequestId string                    `json:"RequestId" xml:"RequestId"`
+	Metrics   string                    `json:"Metrics" xml:"Metrics"`
+	Data      DataInGetTotalQueueReport `json:"Data" xml:"Data"`
+}
+
+// CreateGetTotalQueueReportRequest creates a request to invoke GetTotalQueueReport API
+func CreateGetTotalQueueReportRequest() (request *GetTotalQueueReportRequest) {
+	request = &GetTotalQueueReportRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetTotalQueueReport", "ehs", "openAPI")
+	return
+}
+
+// CreateGetTotalQueueReportResponse creates a response to parse from GetTotalQueueReport response
+func CreateGetTotalQueueReportResponse() (response *GetTotalQueueReportResponse) {
+	response = &GetTotalQueueReportResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/ehpc/get_total_user_report.go

@@ -0,0 +1,107 @@
+package ehpc
+
+//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"
+)
+
+// GetTotalUserReport invokes the ehpc.GetTotalUserReport API synchronously
+// api document: https://help.aliyun.com/api/ehpc/gettotaluserreport.html
+func (client *Client) GetTotalUserReport(request *GetTotalUserReportRequest) (response *GetTotalUserReportResponse, err error) {
+	response = CreateGetTotalUserReportResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTotalUserReportWithChan invokes the ehpc.GetTotalUserReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/gettotaluserreport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTotalUserReportWithChan(request *GetTotalUserReportRequest) (<-chan *GetTotalUserReportResponse, <-chan error) {
+	responseChan := make(chan *GetTotalUserReportResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTotalUserReport(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTotalUserReportWithCallback invokes the ehpc.GetTotalUserReport API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/gettotaluserreport.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTotalUserReportWithCallback(request *GetTotalUserReportRequest, callback func(response *GetTotalUserReportResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTotalUserReportResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTotalUserReport(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTotalUserReportRequest is the request struct for api GetTotalUserReport
+type GetTotalUserReportRequest struct {
+	*requests.RpcRequest
+	EndTime   requests.Integer `position:"Query" name:"EndTime"`
+	ClusterId string           `position:"Query" name:"ClusterId"`
+	StartTime requests.Integer `position:"Query" name:"StartTime"`
+}
+
+// GetTotalUserReportResponse is the response struct for api GetTotalUserReport
+type GetTotalUserReportResponse struct {
+	*responses.BaseResponse
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	Metrics   string                   `json:"Metrics" xml:"Metrics"`
+	Data      DataInGetTotalUserReport `json:"Data" xml:"Data"`
+}
+
+// CreateGetTotalUserReportRequest creates a request to invoke GetTotalUserReport API
+func CreateGetTotalUserReportRequest() (request *GetTotalUserReportRequest) {
+	request = &GetTotalUserReportRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetTotalUserReport", "ehs", "openAPI")
+	return
+}
+
+// CreateGetTotalUserReportResponse creates a response to parse from GetTotalUserReport response
+func CreateGetTotalUserReportResponse() (response *GetTotalUserReportResponse) {
+	response = &GetTotalUserReportResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/ehpc/get_workbench_token.go

@@ -0,0 +1,110 @@
+package ehpc
+
+//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"
+)
+
+// GetWorkbenchToken invokes the ehpc.GetWorkbenchToken API synchronously
+// api document: https://help.aliyun.com/api/ehpc/getworkbenchtoken.html
+func (client *Client) GetWorkbenchToken(request *GetWorkbenchTokenRequest) (response *GetWorkbenchTokenResponse, err error) {
+	response = CreateGetWorkbenchTokenResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetWorkbenchTokenWithChan invokes the ehpc.GetWorkbenchToken API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getworkbenchtoken.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetWorkbenchTokenWithChan(request *GetWorkbenchTokenRequest) (<-chan *GetWorkbenchTokenResponse, <-chan error) {
+	responseChan := make(chan *GetWorkbenchTokenResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetWorkbenchToken(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetWorkbenchTokenWithCallback invokes the ehpc.GetWorkbenchToken API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/getworkbenchtoken.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetWorkbenchTokenWithCallback(request *GetWorkbenchTokenRequest, callback func(response *GetWorkbenchTokenResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetWorkbenchTokenResponse
+		var err error
+		defer close(result)
+		response, err = client.GetWorkbenchToken(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetWorkbenchTokenRequest is the request struct for api GetWorkbenchToken
+type GetWorkbenchTokenRequest struct {
+	*requests.RpcRequest
+	ClusterId            string           `position:"Query" name:"ClusterId"`
+	UserPassword         string           `position:"Query" name:"UserPassword"`
+	InstanceId           string           `position:"Query" name:"InstanceId"`
+	Port                 requests.Integer `position:"Query" name:"Port"`
+	AccountSessionTicket string           `position:"Query" name:"AccountSessionTicket"`
+	AccountUid           string           `position:"Query" name:"AccountUid"`
+	UserName             string           `position:"Query" name:"UserName"`
+}
+
+// GetWorkbenchTokenResponse is the response struct for api GetWorkbenchToken
+type GetWorkbenchTokenResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Root      Root   `json:"root" xml:"root"`
+}
+
+// CreateGetWorkbenchTokenRequest creates a request to invoke GetWorkbenchToken API
+func CreateGetWorkbenchTokenRequest() (request *GetWorkbenchTokenRequest) {
+	request = &GetWorkbenchTokenRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "GetWorkbenchToken", "ehs", "openAPI")
+	return
+}
+
+// CreateGetWorkbenchTokenResponse creates a response to parse from GetWorkbenchToken response
+func CreateGetWorkbenchTokenResponse() (response *GetWorkbenchTokenResponse) {
+	response = &GetWorkbenchTokenResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/ehpc/install_nfs_client.go

@@ -0,0 +1,104 @@
+package ehpc
+
+//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"
+)
+
+// InstallNFSClient invokes the ehpc.InstallNFSClient API synchronously
+// api document: https://help.aliyun.com/api/ehpc/installnfsclient.html
+func (client *Client) InstallNFSClient(request *InstallNFSClientRequest) (response *InstallNFSClientResponse, err error) {
+	response = CreateInstallNFSClientResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// InstallNFSClientWithChan invokes the ehpc.InstallNFSClient API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/installnfsclient.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallNFSClientWithChan(request *InstallNFSClientRequest) (<-chan *InstallNFSClientResponse, <-chan error) {
+	responseChan := make(chan *InstallNFSClientResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.InstallNFSClient(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// InstallNFSClientWithCallback invokes the ehpc.InstallNFSClient API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/installnfsclient.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) InstallNFSClientWithCallback(request *InstallNFSClientRequest, callback func(response *InstallNFSClientResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *InstallNFSClientResponse
+		var err error
+		defer close(result)
+		response, err = client.InstallNFSClient(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// InstallNFSClientRequest is the request struct for api InstallNFSClient
+type InstallNFSClientRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+}
+
+// InstallNFSClientResponse is the response struct for api InstallNFSClient
+type InstallNFSClientResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	InvokeId  string `json:"InvokeId" xml:"InvokeId"`
+}
+
+// CreateInstallNFSClientRequest creates a request to invoke InstallNFSClient API
+func CreateInstallNFSClientRequest() (request *InstallNFSClientRequest) {
+	request = &InstallNFSClientRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "InstallNFSClient", "ehs", "openAPI")
+	return
+}
+
+// CreateInstallNFSClientResponse creates a response to parse from InstallNFSClient response
+func CreateInstallNFSClientResponse() (response *InstallNFSClientResponse) {
+	response = &InstallNFSClientResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/install_software.go

@@ -76,8 +76,8 @@ func (client *Client) InstallSoftwareWithCallback(request *InstallSoftwareReques
 // InstallSoftwareRequest is the request struct for api InstallSoftware
 type InstallSoftwareRequest struct {
 	*requests.RpcRequest
-	Application string `position:"Query" name:"Application"`
 	ClusterId   string `position:"Query" name:"ClusterId"`
+	Application string `position:"Query" name:"Application"`
 }
 
 // InstallSoftwareResponse is the response struct for api InstallSoftware

+ 104 - 0
services/ehpc/list_account_mapping.go

@@ -0,0 +1,104 @@
+package ehpc
+
+//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"
+)
+
+// ListAccountMapping invokes the ehpc.ListAccountMapping API synchronously
+// api document: https://help.aliyun.com/api/ehpc/listaccountmapping.html
+func (client *Client) ListAccountMapping(request *ListAccountMappingRequest) (response *ListAccountMappingResponse, err error) {
+	response = CreateListAccountMappingResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListAccountMappingWithChan invokes the ehpc.ListAccountMapping API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/listaccountmapping.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListAccountMappingWithChan(request *ListAccountMappingRequest) (<-chan *ListAccountMappingResponse, <-chan error) {
+	responseChan := make(chan *ListAccountMappingResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListAccountMapping(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListAccountMappingWithCallback invokes the ehpc.ListAccountMapping API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/listaccountmapping.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListAccountMappingWithCallback(request *ListAccountMappingRequest, callback func(response *ListAccountMappingResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListAccountMappingResponse
+		var err error
+		defer close(result)
+		response, err = client.ListAccountMapping(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListAccountMappingRequest is the request struct for api ListAccountMapping
+type ListAccountMappingRequest struct {
+	*requests.RpcRequest
+	ClusterId string `position:"Query" name:"ClusterId"`
+}
+
+// ListAccountMappingResponse is the response struct for api ListAccountMapping
+type ListAccountMappingResponse struct {
+	*responses.BaseResponse
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	UserMappings UserMappings `json:"UserMappings" xml:"UserMappings"`
+}
+
+// CreateListAccountMappingRequest creates a request to invoke ListAccountMapping API
+func CreateListAccountMappingRequest() (request *ListAccountMappingRequest) {
+	request = &ListAccountMappingRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "ListAccountMapping", "ehs", "openAPI")
+	return
+}
+
+// CreateListAccountMappingResponse creates a response to parse from ListAccountMapping response
+func CreateListAccountMappingResponse() (response *ListAccountMappingResponse) {
+	response = &ListAccountMappingResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 3
services/ehpc/list_available_ecs_types.go

@@ -76,9 +76,10 @@ func (client *Client) ListAvailableEcsTypesWithCallback(request *ListAvailableEc
 // ListAvailableEcsTypesRequest is the request struct for api ListAvailableEcsTypes
 type ListAvailableEcsTypesRequest struct {
 	*requests.RpcRequest
-	SpotStrategy       string `position:"Query" name:"SpotStrategy"`
-	ZoneId             string `position:"Query" name:"ZoneId"`
-	InstanceChargeType string `position:"Query" name:"InstanceChargeType"`
+	SpotStrategy       string           `position:"Query" name:"SpotStrategy"`
+	ZoneId             string           `position:"Query" name:"ZoneId"`
+	ShowSoldOut        requests.Boolean `position:"Query" name:"ShowSoldOut"`
+	InstanceChargeType string           `position:"Query" name:"InstanceChargeType"`
 }
 
 // ListAvailableEcsTypesResponse is the response struct for api ListAvailableEcsTypes

+ 1 - 1
services/ehpc/list_cloud_metric_profilings.go

@@ -76,9 +76,9 @@ func (client *Client) ListCloudMetricProfilingsWithCallback(request *ListCloudMe
 // ListCloudMetricProfilingsRequest is the request struct for api ListCloudMetricProfilings
 type ListCloudMetricProfilingsRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListCloudMetricProfilingsResponse is the response struct for api ListCloudMetricProfilings

+ 1 - 1
services/ehpc/list_cluster_logs.go

@@ -76,9 +76,9 @@ func (client *Client) ListClusterLogsWithCallback(request *ListClusterLogsReques
 // ListClusterLogsRequest is the request struct for api ListClusterLogs
 type ListClusterLogsRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListClusterLogsResponse is the response struct for api ListClusterLogs

+ 1 - 1
services/ehpc/list_clusters.go

@@ -76,8 +76,8 @@ func (client *Client) ListClustersWithCallback(request *ListClustersRequest, cal
 // ListClustersRequest is the request struct for api ListClusters
 type ListClustersRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListClustersResponse is the response struct for api ListClusters

+ 1 - 1
services/ehpc/list_clusters_meta.go

@@ -76,8 +76,8 @@ func (client *Client) ListClustersMetaWithCallback(request *ListClustersMetaRequ
 // ListClustersMetaRequest is the request struct for api ListClustersMeta
 type ListClustersMetaRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListClustersMetaResponse is the response struct for api ListClustersMeta

+ 1 - 1
services/ehpc/list_commands.go

@@ -76,10 +76,10 @@ func (client *Client) ListCommandsWithCallback(request *ListCommandsRequest, cal
 // ListCommandsRequest is the request struct for api ListCommands
 type ListCommandsRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
 	CommandId  string           `position:"Query" name:"CommandId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListCommandsResponse is the response struct for api ListCommands

+ 1 - 1
services/ehpc/list_container_apps.go

@@ -76,8 +76,8 @@ func (client *Client) ListContainerAppsWithCallback(request *ListContainerAppsRe
 // ListContainerAppsRequest is the request struct for api ListContainerApps
 type ListContainerAppsRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListContainerAppsResponse is the response struct for api ListContainerApps

+ 2 - 2
services/ehpc/list_container_images.go

@@ -76,10 +76,10 @@ func (client *Client) ListContainerImagesWithCallback(request *ListContainerImag
 // ListContainerImagesRequest is the request struct for api ListContainerImages
 type ListContainerImagesRequest struct {
 	*requests.RpcRequest
-	ContainerType string           `position:"Query" name:"ContainerType"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId     string           `position:"Query" name:"ClusterId"`
 	PageNumber    requests.Integer `position:"Query" name:"PageNumber"`
+	ContainerType string           `position:"Query" name:"ContainerType"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListContainerImagesResponse is the response struct for api ListContainerImages

+ 1 - 1
services/ehpc/list_cpfs_file_systems.go

@@ -76,8 +76,8 @@ func (client *Client) ListCpfsFileSystemsWithCallback(request *ListCpfsFileSyste
 // ListCpfsFileSystemsRequest is the request struct for api ListCpfsFileSystems
 type ListCpfsFileSystemsRequest struct {
 	*requests.RpcRequest
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
 	FileSystemId string           `position:"Query" name:"FileSystemId"`
 }
 

+ 1 - 1
services/ehpc/list_custom_images.go

@@ -76,8 +76,8 @@ func (client *Client) ListCustomImagesWithCallback(request *ListCustomImagesRequ
 // ListCustomImagesRequest is the request struct for api ListCustomImages
 type ListCustomImagesRequest struct {
 	*requests.RpcRequest
-	BaseOsTag       string `position:"Query" name:"BaseOsTag"`
 	ImageOwnerAlias string `position:"Query" name:"ImageOwnerAlias"`
+	BaseOsTag       string `position:"Query" name:"BaseOsTag"`
 }
 
 // ListCustomImagesResponse is the response struct for api ListCustomImages

+ 1 - 1
services/ehpc/list_file_system_with_mount_targets.go

@@ -76,8 +76,8 @@ func (client *Client) ListFileSystemWithMountTargetsWithCallback(request *ListFi
 // ListFileSystemWithMountTargetsRequest is the request struct for api ListFileSystemWithMountTargets
 type ListFileSystemWithMountTargetsRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListFileSystemWithMountTargetsResponse is the response struct for api ListFileSystemWithMountTargets

+ 2 - 2
services/ehpc/list_invocation_results.go

@@ -77,11 +77,11 @@ func (client *Client) ListInvocationResultsWithCallback(request *ListInvocationR
 type ListInvocationResultsRequest struct {
 	*requests.RpcRequest
 	Instance           *[]ListInvocationResultsInstance `position:"Query" name:"Instance"  type:"Repeated"`
-	InvokeRecordStatus string                           `position:"Query" name:"InvokeRecordStatus"`
-	PageSize           requests.Integer                 `position:"Query" name:"PageSize"`
 	ClusterId          string                           `position:"Query" name:"ClusterId"`
 	CommandId          string                           `position:"Query" name:"CommandId"`
 	PageNumber         requests.Integer                 `position:"Query" name:"PageNumber"`
+	InvokeRecordStatus string                           `position:"Query" name:"InvokeRecordStatus"`
+	PageSize           requests.Integer                 `position:"Query" name:"PageSize"`
 }
 
 // ListInvocationResultsInstance is a repeated param struct in ListInvocationResultsRequest

+ 1 - 1
services/ehpc/list_job_templates.go

@@ -76,9 +76,9 @@ func (client *Client) ListJobTemplatesWithCallback(request *ListJobTemplatesRequ
 // ListJobTemplatesRequest is the request struct for api ListJobTemplates
 type ListJobTemplatesRequest struct {
 	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 	Name       string           `position:"Query" name:"Name"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // ListJobTemplatesResponse is the response struct for api ListJobTemplates

+ 2 - 2
services/ehpc/list_jobs.go

@@ -77,11 +77,11 @@ func (client *Client) ListJobsWithCallback(request *ListJobsRequest, callback fu
 type ListJobsRequest struct {
 	*requests.RpcRequest
 	Owner      string           `position:"Query" name:"Owner"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
-	State      string           `position:"Query" name:"State"`
 	Rerunable  string           `position:"Query" name:"Rerunable"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	State      string           `position:"Query" name:"State"`
 }
 
 // ListJobsResponse is the response struct for api ListJobs

+ 2 - 2
services/ehpc/list_nodes.go

@@ -76,11 +76,11 @@ func (client *Client) ListNodesWithCallback(request *ListNodesRequest, callback
 // ListNodesRequest is the request struct for api ListNodes
 type ListNodesRequest struct {
 	*requests.RpcRequest
-	HostName   string           `position:"Query" name:"HostName"`
 	Role       string           `position:"Query" name:"Role"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	HostName   string           `position:"Query" name:"HostName"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListNodesResponse is the response struct for api ListNodes

+ 1 - 1
services/ehpc/list_nodes_by_queue.go

@@ -77,9 +77,9 @@ func (client *Client) ListNodesByQueueWithCallback(request *ListNodesByQueueRequ
 type ListNodesByQueueRequest struct {
 	*requests.RpcRequest
 	QueueName  string           `position:"Query" name:"QueueName"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListNodesByQueueResponse is the response struct for api ListNodesByQueue

+ 1 - 1
services/ehpc/list_nodes_no_paging.go

@@ -76,9 +76,9 @@ func (client *Client) ListNodesNoPagingWithCallback(request *ListNodesNoPagingRe
 // ListNodesNoPagingRequest is the request struct for api ListNodesNoPaging
 type ListNodesNoPagingRequest struct {
 	*requests.RpcRequest
-	HostName     string           `position:"Query" name:"HostName"`
 	Role         string           `position:"Query" name:"Role"`
 	ClusterId    string           `position:"Query" name:"ClusterId"`
+	HostName     string           `position:"Query" name:"HostName"`
 	OnlyDetached requests.Boolean `position:"Query" name:"OnlyDetached"`
 }
 

+ 1 - 1
services/ehpc/list_users.go

@@ -76,9 +76,9 @@ func (client *Client) ListUsersWithCallback(request *ListUsersRequest, callback
 // ListUsersRequest is the request struct for api ListUsers
 type ListUsersRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	ClusterId  string           `position:"Query" name:"ClusterId"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListUsersResponse is the response struct for api ListUsers

+ 1 - 1
services/ehpc/list_volumes.go

@@ -76,8 +76,8 @@ func (client *Client) ListVolumesWithCallback(request *ListVolumesRequest, callb
 // ListVolumesRequest is the request struct for api ListVolumes
 type ListVolumesRequest struct {
 	*requests.RpcRequest
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // ListVolumesResponse is the response struct for api ListVolumes

+ 1 - 1
services/ehpc/modify_cluster_attributes.go

@@ -76,9 +76,9 @@ func (client *Client) ModifyClusterAttributesWithCallback(request *ModifyCluster
 // ModifyClusterAttributesRequest is the request struct for api ModifyClusterAttributes
 type ModifyClusterAttributesRequest struct {
 	*requests.RpcRequest
-	Name        string `position:"Query" name:"Name"`
 	Description string `position:"Query" name:"Description"`
 	ClusterId   string `position:"Query" name:"ClusterId"`
+	Name        string `position:"Query" name:"Name"`
 }
 
 // ModifyClusterAttributesResponse is the response struct for api ModifyClusterAttributes

+ 3 - 3
services/ehpc/modify_image_gateway_config.go

@@ -76,14 +76,14 @@ func (client *Client) ModifyImageGatewayConfigWithCallback(request *ModifyImageG
 // ModifyImageGatewayConfigRequest is the request struct for api ModifyImageGatewayConfig
 type ModifyImageGatewayConfigRequest struct {
 	*requests.RpcRequest
+	Repo                   *[]ModifyImageGatewayConfigRepo `position:"Query" name:"Repo"  type:"Repeated"`
+	DBServerInfo           string                          `position:"Query" name:"DBServerInfo"`
+	ClusterId              string                          `position:"Query" name:"ClusterId"`
 	DefaultRepoLocation    string                          `position:"Query" name:"DefaultRepoLocation"`
 	DBPassword             string                          `position:"Query" name:"DBPassword"`
-	Repo                   *[]ModifyImageGatewayConfigRepo `position:"Query" name:"Repo"  type:"Repeated"`
 	DBType                 string                          `position:"Query" name:"DBType"`
 	DBUsername             string                          `position:"Query" name:"DBUsername"`
-	DBServerInfo           string                          `position:"Query" name:"DBServerInfo"`
 	PullUpdateTimeout      requests.Integer                `position:"Query" name:"PullUpdateTimeout"`
-	ClusterId              string                          `position:"Query" name:"ClusterId"`
 	ImageExpirationTimeout string                          `position:"Query" name:"ImageExpirationTimeout"`
 }
 

+ 1 - 1
services/ehpc/modify_visual_service_passwd.go

@@ -76,10 +76,10 @@ func (client *Client) ModifyVisualServicePasswdWithCallback(request *ModifyVisua
 // ModifyVisualServicePasswdRequest is the request struct for api ModifyVisualServicePasswd
 type ModifyVisualServicePasswdRequest struct {
 	*requests.RpcRequest
-	Passwd            string `position:"Query" name:"Passwd"`
 	RunasUserPassword string `position:"Query" name:"RunasUserPassword"`
 	RunasUser         string `position:"Query" name:"RunasUser"`
 	ClusterId         string `position:"Query" name:"ClusterId"`
+	Passwd            string `position:"Query" name:"Passwd"`
 }
 
 // ModifyVisualServicePasswdResponse is the response struct for api ModifyVisualServicePasswd

+ 108 - 0
services/ehpc/mount_nfs.go

@@ -0,0 +1,108 @@
+package ehpc
+
+//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"
+)
+
+// MountNFS invokes the ehpc.MountNFS API synchronously
+// api document: https://help.aliyun.com/api/ehpc/mountnfs.html
+func (client *Client) MountNFS(request *MountNFSRequest) (response *MountNFSResponse, err error) {
+	response = CreateMountNFSResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// MountNFSWithChan invokes the ehpc.MountNFS API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/mountnfs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) MountNFSWithChan(request *MountNFSRequest) (<-chan *MountNFSResponse, <-chan error) {
+	responseChan := make(chan *MountNFSResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.MountNFS(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// MountNFSWithCallback invokes the ehpc.MountNFS API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/mountnfs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) MountNFSWithCallback(request *MountNFSRequest, callback func(response *MountNFSResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *MountNFSResponse
+		var err error
+		defer close(result)
+		response, err = client.MountNFS(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// MountNFSRequest is the request struct for api MountNFS
+type MountNFSRequest struct {
+	*requests.RpcRequest
+	MountDir     string `position:"Query" name:"MountDir"`
+	InstanceId   string `position:"Query" name:"InstanceId"`
+	RemoteDir    string `position:"Query" name:"RemoteDir"`
+	NfsDir       string `position:"Query" name:"NfsDir"`
+	ProtocolType string `position:"Query" name:"ProtocolType"`
+}
+
+// MountNFSResponse is the response struct for api MountNFS
+type MountNFSResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	InvokeId  string `json:"InvokeId" xml:"InvokeId"`
+}
+
+// CreateMountNFSRequest creates a request to invoke MountNFS API
+func CreateMountNFSRequest() (request *MountNFSRequest) {
+	request = &MountNFSRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "MountNFS", "ehs", "openAPI")
+	return
+}
+
+// CreateMountNFSResponse creates a response to parse from MountNFS response
+func CreateMountNFSResponse() (response *MountNFSResponse) {
+	response = &MountNFSResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/pull_image.go

@@ -76,9 +76,9 @@ func (client *Client) PullImageWithCallback(request *PullImageRequest, callback
 // PullImageRequest is the request struct for api PullImage
 type PullImageRequest struct {
 	*requests.RpcRequest
-	ContainerType string `position:"Query" name:"ContainerType"`
 	ClusterId     string `position:"Query" name:"ClusterId"`
 	Repository    string `position:"Query" name:"Repository"`
+	ContainerType string `position:"Query" name:"ContainerType"`
 	ImageTag      string `position:"Query" name:"ImageTag"`
 }
 

+ 110 - 0
services/ehpc/query_service_pack_and_price.go

@@ -0,0 +1,110 @@
+package ehpc
+
+//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"
+)
+
+// QueryServicePackAndPrice invokes the ehpc.QueryServicePackAndPrice API synchronously
+// api document: https://help.aliyun.com/api/ehpc/queryservicepackandprice.html
+func (client *Client) QueryServicePackAndPrice(request *QueryServicePackAndPriceRequest) (response *QueryServicePackAndPriceResponse, err error) {
+	response = CreateQueryServicePackAndPriceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryServicePackAndPriceWithChan invokes the ehpc.QueryServicePackAndPrice API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/queryservicepackandprice.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryServicePackAndPriceWithChan(request *QueryServicePackAndPriceRequest) (<-chan *QueryServicePackAndPriceResponse, <-chan error) {
+	responseChan := make(chan *QueryServicePackAndPriceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryServicePackAndPrice(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryServicePackAndPriceWithCallback invokes the ehpc.QueryServicePackAndPrice API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/queryservicepackandprice.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryServicePackAndPriceWithCallback(request *QueryServicePackAndPriceRequest, callback func(response *QueryServicePackAndPriceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryServicePackAndPriceResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryServicePackAndPrice(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryServicePackAndPriceRequest is the request struct for api QueryServicePackAndPrice
+type QueryServicePackAndPriceRequest struct {
+	*requests.RpcRequest
+}
+
+// QueryServicePackAndPriceResponse is the response struct for api QueryServicePackAndPrice
+type QueryServicePackAndPriceResponse struct {
+	*responses.BaseResponse
+	RequestId      string      `json:"RequestId" xml:"RequestId"`
+	RegionId       string      `json:"RegionId" xml:"RegionId"`
+	TradePrice     float64     `json:"TradePrice" xml:"TradePrice"`
+	OriginalPrice  float64     `json:"OriginalPrice" xml:"OriginalPrice"`
+	DiscountPrice  float64     `json:"DiscountPrice" xml:"DiscountPrice"`
+	Currency       string      `json:"Currency" xml:"Currency"`
+	OriginalAmount int         `json:"OriginalAmount" xml:"OriginalAmount"`
+	ChargeAmount   int         `json:"ChargeAmount" xml:"ChargeAmount"`
+	ServicePack    ServicePack `json:"ServicePack" xml:"ServicePack"`
+}
+
+// CreateQueryServicePackAndPriceRequest creates a request to invoke QueryServicePackAndPrice API
+func CreateQueryServicePackAndPriceRequest() (request *QueryServicePackAndPriceRequest) {
+	request = &QueryServicePackAndPriceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "QueryServicePackAndPrice", "ehs", "openAPI")
+	return
+}
+
+// CreateQueryServicePackAndPriceResponse creates a response to parse from QueryServicePackAndPrice response
+func CreateQueryServicePackAndPriceResponse() (response *QueryServicePackAndPriceResponse) {
+	response = &QueryServicePackAndPriceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/recover_cluster.go

@@ -80,9 +80,9 @@ type RecoverClusterRequest struct {
 	OsTag           string `position:"Query" name:"OsTag"`
 	ClientVersion   string `position:"Query" name:"ClientVersion"`
 	AccountType     string `position:"Query" name:"AccountType"`
-	SchedulerType   string `position:"Query" name:"SchedulerType"`
 	ClusterId       string `position:"Query" name:"ClusterId"`
 	ImageOwnerAlias string `position:"Query" name:"ImageOwnerAlias"`
+	SchedulerType   string `position:"Query" name:"SchedulerType"`
 }
 
 // RecoverClusterResponse is the response struct for api RecoverCluster

+ 2 - 2
services/ehpc/run_cloud_metric_profiling.go

@@ -76,11 +76,11 @@ func (client *Client) RunCloudMetricProfilingWithCallback(request *RunCloudMetri
 // RunCloudMetricProfilingRequest is the request struct for api RunCloudMetricProfiling
 type RunCloudMetricProfilingRequest struct {
 	*requests.RpcRequest
+	Freq      requests.Integer `position:"Query" name:"Freq"`
+	ClusterId string           `position:"Query" name:"ClusterId"`
 	Duration  requests.Integer `position:"Query" name:"Duration"`
 	HostName  string           `position:"Query" name:"HostName"`
 	ProcessId requests.Integer `position:"Query" name:"ProcessId"`
-	Freq      requests.Integer `position:"Query" name:"Freq"`
-	ClusterId string           `position:"Query" name:"ClusterId"`
 }
 
 // RunCloudMetricProfilingResponse is the response struct for api RunCloudMetricProfiling

+ 20 - 10
services/ehpc/set_auto_scale_config.go

@@ -76,31 +76,41 @@ func (client *Client) SetAutoScaleConfigWithCallback(request *SetAutoScaleConfig
 // SetAutoScaleConfigRequest is the request struct for api SetAutoScaleConfig
 type SetAutoScaleConfigRequest struct {
 	*requests.RpcRequest
+	SpotPriceLimit          requests.Float              `position:"Query" name:"SpotPriceLimit"`
+	ExcludeNodes            string                      `position:"Query" name:"ExcludeNodes"`
+	ExtraNodesGrowRatio     requests.Integer            `position:"Query" name:"ExtraNodesGrowRatio"`
 	ShrinkIdleTimes         requests.Integer            `position:"Query" name:"ShrinkIdleTimes"`
 	GrowTimeoutInMinutes    requests.Integer            `position:"Query" name:"GrowTimeoutInMinutes"`
 	ClusterId               string                      `position:"Query" name:"ClusterId"`
 	EnableAutoGrow          requests.Boolean            `position:"Query" name:"EnableAutoGrow"`
-	SpotPriceLimit          requests.Float              `position:"Query" name:"SpotPriceLimit"`
 	EnableAutoShrink        requests.Boolean            `position:"Query" name:"EnableAutoShrink"`
 	SpotStrategy            string                      `position:"Query" name:"SpotStrategy"`
 	MaxNodesInCluster       requests.Integer            `position:"Query" name:"MaxNodesInCluster"`
-	ExcludeNodes            string                      `position:"Query" name:"ExcludeNodes"`
 	ShrinkIntervalInMinutes requests.Integer            `position:"Query" name:"ShrinkIntervalInMinutes"`
 	Queues                  *[]SetAutoScaleConfigQueues `position:"Query" name:"Queues"  type:"Repeated"`
-	ExtraNodesGrowRatio     requests.Integer            `position:"Query" name:"ExtraNodesGrowRatio"`
 	GrowIntervalInMinutes   requests.Integer            `position:"Query" name:"GrowIntervalInMinutes"`
 	GrowRatio               requests.Integer            `position:"Query" name:"GrowRatio"`
 }
 
 // SetAutoScaleConfigQueues is a repeated param struct in SetAutoScaleConfigRequest
 type SetAutoScaleConfigQueues struct {
-	SpotStrategy     string    `name:"SpotStrategy"`
-	QueueName        string    `name:"QueueName"`
-	InstanceTypes    *[]string `name:"InstanceTypes" type:"Repeated"`
-	InstanceType     string    `name:"InstanceType"`
-	EnableAutoGrow   string    `name:"EnableAutoGrow"`
-	SpotPriceLimit   string    `name:"SpotPriceLimit"`
-	EnableAutoShrink string    `name:"EnableAutoShrink"`
+	SpotStrategy     string                             `name:"SpotStrategy"`
+	QueueName        string                             `name:"QueueName"`
+	InstanceTypes    *[]SetAutoScaleConfigInstanceTypes `name:"InstanceTypes" type:"Repeated"`
+	InstanceType     string                             `name:"InstanceType"`
+	EnableAutoGrow   string                             `name:"EnableAutoGrow"`
+	SpotPriceLimit   string                             `name:"SpotPriceLimit"`
+	EnableAutoShrink string                             `name:"EnableAutoShrink"`
+}
+
+// SetAutoScaleConfigInstanceTypes is a repeated param struct in SetAutoScaleConfigRequest
+type SetAutoScaleConfigInstanceTypes struct {
+	SpotStrategy   string `name:"SpotStrategy"`
+	VSwitchId      string `name:"VSwitchId"`
+	InstanceType   string `name:"InstanceType"`
+	ZoneId         string `name:"ZoneId"`
+	HostNamePrefix string `name:"HostNamePrefix"`
+	SpotPriceLimit string `name:"SpotPriceLimit"`
 }
 
 // SetAutoScaleConfigResponse is the response struct for api SetAutoScaleConfig

+ 104 - 0
services/ehpc/set_gws_instance_name.go

@@ -0,0 +1,104 @@
+package ehpc
+
+//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"
+)
+
+// SetGWSInstanceName invokes the ehpc.SetGWSInstanceName API synchronously
+// api document: https://help.aliyun.com/api/ehpc/setgwsinstancename.html
+func (client *Client) SetGWSInstanceName(request *SetGWSInstanceNameRequest) (response *SetGWSInstanceNameResponse, err error) {
+	response = CreateSetGWSInstanceNameResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SetGWSInstanceNameWithChan invokes the ehpc.SetGWSInstanceName API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/setgwsinstancename.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetGWSInstanceNameWithChan(request *SetGWSInstanceNameRequest) (<-chan *SetGWSInstanceNameResponse, <-chan error) {
+	responseChan := make(chan *SetGWSInstanceNameResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SetGWSInstanceName(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SetGWSInstanceNameWithCallback invokes the ehpc.SetGWSInstanceName API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/setgwsinstancename.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetGWSInstanceNameWithCallback(request *SetGWSInstanceNameRequest, callback func(response *SetGWSInstanceNameResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SetGWSInstanceNameResponse
+		var err error
+		defer close(result)
+		response, err = client.SetGWSInstanceName(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SetGWSInstanceNameRequest is the request struct for api SetGWSInstanceName
+type SetGWSInstanceNameRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Name       string `position:"Query" name:"Name"`
+}
+
+// SetGWSInstanceNameResponse is the response struct for api SetGWSInstanceName
+type SetGWSInstanceNameResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateSetGWSInstanceNameRequest creates a request to invoke SetGWSInstanceName API
+func CreateSetGWSInstanceNameRequest() (request *SetGWSInstanceNameRequest) {
+	request = &SetGWSInstanceNameRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "SetGWSInstanceName", "ehs", "openAPI")
+	return
+}
+
+// CreateSetGWSInstanceNameResponse creates a response to parse from SetGWSInstanceName response
+func CreateSetGWSInstanceNameResponse() (response *SetGWSInstanceNameResponse) {
+	response = &SetGWSInstanceNameResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/ehpc/set_gws_instance_user.go

@@ -0,0 +1,105 @@
+package ehpc
+
+//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"
+)
+
+// SetGWSInstanceUser invokes the ehpc.SetGWSInstanceUser API synchronously
+// api document: https://help.aliyun.com/api/ehpc/setgwsinstanceuser.html
+func (client *Client) SetGWSInstanceUser(request *SetGWSInstanceUserRequest) (response *SetGWSInstanceUserResponse, err error) {
+	response = CreateSetGWSInstanceUserResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SetGWSInstanceUserWithChan invokes the ehpc.SetGWSInstanceUser API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/setgwsinstanceuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetGWSInstanceUserWithChan(request *SetGWSInstanceUserRequest) (<-chan *SetGWSInstanceUserResponse, <-chan error) {
+	responseChan := make(chan *SetGWSInstanceUserResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SetGWSInstanceUser(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SetGWSInstanceUserWithCallback invokes the ehpc.SetGWSInstanceUser API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/setgwsinstanceuser.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetGWSInstanceUserWithCallback(request *SetGWSInstanceUserRequest, callback func(response *SetGWSInstanceUserResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SetGWSInstanceUserResponse
+		var err error
+		defer close(result)
+		response, err = client.SetGWSInstanceUser(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SetGWSInstanceUserRequest is the request struct for api SetGWSInstanceUser
+type SetGWSInstanceUserRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	UserUid    string `position:"Query" name:"UserUid"`
+	UserName   string `position:"Query" name:"UserName"`
+}
+
+// SetGWSInstanceUserResponse is the response struct for api SetGWSInstanceUser
+type SetGWSInstanceUserResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateSetGWSInstanceUserRequest creates a request to invoke SetGWSInstanceUser API
+func CreateSetGWSInstanceUserRequest() (request *SetGWSInstanceUserRequest) {
+	request = &SetGWSInstanceUserRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "SetGWSInstanceUser", "ehs", "openAPI")
+	return
+}
+
+// CreateSetGWSInstanceUserResponse creates a response to parse from SetGWSInstanceUser response
+func CreateSetGWSInstanceUserResponse() (response *SetGWSInstanceUserResponse) {
+	response = &SetGWSInstanceUserResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/set_queue.go

@@ -77,8 +77,8 @@ func (client *Client) SetQueueWithCallback(request *SetQueueRequest, callback fu
 type SetQueueRequest struct {
 	*requests.RpcRequest
 	QueueName string          `position:"Query" name:"QueueName"`
-	Node      *[]SetQueueNode `position:"Query" name:"Node"  type:"Repeated"`
 	ClusterId string          `position:"Query" name:"ClusterId"`
+	Node      *[]SetQueueNode `position:"Query" name:"Node"  type:"Repeated"`
 }
 
 // SetQueueNode is a repeated param struct in SetQueueRequest

+ 103 - 0
services/ehpc/start_gws_instance.go

@@ -0,0 +1,103 @@
+package ehpc
+
+//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"
+)
+
+// StartGWSInstance invokes the ehpc.StartGWSInstance API synchronously
+// api document: https://help.aliyun.com/api/ehpc/startgwsinstance.html
+func (client *Client) StartGWSInstance(request *StartGWSInstanceRequest) (response *StartGWSInstanceResponse, err error) {
+	response = CreateStartGWSInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StartGWSInstanceWithChan invokes the ehpc.StartGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/startgwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartGWSInstanceWithChan(request *StartGWSInstanceRequest) (<-chan *StartGWSInstanceResponse, <-chan error) {
+	responseChan := make(chan *StartGWSInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StartGWSInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StartGWSInstanceWithCallback invokes the ehpc.StartGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/startgwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartGWSInstanceWithCallback(request *StartGWSInstanceRequest, callback func(response *StartGWSInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StartGWSInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.StartGWSInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StartGWSInstanceRequest is the request struct for api StartGWSInstance
+type StartGWSInstanceRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+}
+
+// StartGWSInstanceResponse is the response struct for api StartGWSInstance
+type StartGWSInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateStartGWSInstanceRequest creates a request to invoke StartGWSInstance API
+func CreateStartGWSInstanceRequest() (request *StartGWSInstanceRequest) {
+	request = &StartGWSInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "StartGWSInstance", "ehs", "openAPI")
+	return
+}
+
+// CreateStartGWSInstanceResponse creates a response to parse from StartGWSInstance response
+func CreateStartGWSInstanceResponse() (response *StartGWSInstanceResponse) {
+	response = &StartGWSInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/start_visual_service.go

@@ -76,8 +76,8 @@ func (client *Client) StartVisualServiceWithCallback(request *StartVisualService
 // StartVisualServiceRequest is the request struct for api StartVisualService
 type StartVisualServiceRequest struct {
 	*requests.RpcRequest
-	Port      requests.Integer `position:"Query" name:"Port"`
 	ClusterId string           `position:"Query" name:"ClusterId"`
+	Port      requests.Integer `position:"Query" name:"Port"`
 	CidrIp    string           `position:"Query" name:"CidrIp"`
 }
 

+ 103 - 0
services/ehpc/stop_gws_instance.go

@@ -0,0 +1,103 @@
+package ehpc
+
+//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"
+)
+
+// StopGWSInstance invokes the ehpc.StopGWSInstance API synchronously
+// api document: https://help.aliyun.com/api/ehpc/stopgwsinstance.html
+func (client *Client) StopGWSInstance(request *StopGWSInstanceRequest) (response *StopGWSInstanceResponse, err error) {
+	response = CreateStopGWSInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StopGWSInstanceWithChan invokes the ehpc.StopGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/stopgwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StopGWSInstanceWithChan(request *StopGWSInstanceRequest) (<-chan *StopGWSInstanceResponse, <-chan error) {
+	responseChan := make(chan *StopGWSInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StopGWSInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StopGWSInstanceWithCallback invokes the ehpc.StopGWSInstance API asynchronously
+// api document: https://help.aliyun.com/api/ehpc/stopgwsinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StopGWSInstanceWithCallback(request *StopGWSInstanceRequest, callback func(response *StopGWSInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StopGWSInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.StopGWSInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StopGWSInstanceRequest is the request struct for api StopGWSInstance
+type StopGWSInstanceRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+}
+
+// StopGWSInstanceResponse is the response struct for api StopGWSInstance
+type StopGWSInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateStopGWSInstanceRequest creates a request to invoke StopGWSInstance API
+func CreateStopGWSInstanceRequest() (request *StopGWSInstanceRequest) {
+	request = &StopGWSInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("EHPC", "2018-04-12", "StopGWSInstance", "ehs", "openAPI")
+	return
+}
+
+// CreateStopGWSInstanceResponse creates a response to parse from StopGWSInstance response
+func CreateStopGWSInstanceResponse() (response *StopGWSInstanceResponse) {
+	response = &StopGWSInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/ehpc/stop_visual_service.go

@@ -76,8 +76,8 @@ func (client *Client) StopVisualServiceWithCallback(request *StopVisualServiceRe
 // StopVisualServiceRequest is the request struct for api StopVisualService
 type StopVisualServiceRequest struct {
 	*requests.RpcRequest
-	Port      requests.Integer `position:"Query" name:"Port"`
 	ClusterId string           `position:"Query" name:"ClusterId"`
+	Port      requests.Integer `position:"Query" name:"Port"`
 	CidrIp    string           `position:"Query" name:"CidrIp"`
 }
 

+ 23 - 0
services/ehpc/struct_app_info.go

@@ -0,0 +1,23 @@
+package ehpc
+
+//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.
+
+// AppInfo is a nested struct in ehpc response
+type AppInfo struct {
+	AppName string `json:"AppName" xml:"AppName"`
+	AppPath string `json:"AppPath" xml:"AppPath"`
+	AppArgs string `json:"AppArgs" xml:"AppArgs"`
+}

+ 21 - 0
services/ehpc/struct_app_list.go

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

+ 19 - 17
services/ehpc/struct_cluster_info.go

@@ -17,33 +17,35 @@ package ehpc
 
 // ClusterInfo is a nested struct in ehpc response
 type ClusterInfo struct {
-	Id                 string                        `json:"Id" xml:"Id"`
-	RegionId           string                        `json:"RegionId" xml:"RegionId"`
 	Name               string                        `json:"Name" xml:"Name"`
-	Description        string                        `json:"Description" xml:"Description"`
-	Status             string                        `json:"Status" xml:"Status"`
-	OsTag              string                        `json:"OsTag" xml:"OsTag"`
+	VolumeId           string                        `json:"VolumeId" xml:"VolumeId"`
+	VolumeProtocol     string                        `json:"VolumeProtocol" xml:"VolumeProtocol"`
+	SecurityGroupId    string                        `json:"SecurityGroupId" xml:"SecurityGroupId"`
 	AccountType        string                        `json:"AccountType" xml:"AccountType"`
-	SchedulerType      string                        `json:"SchedulerType" xml:"SchedulerType"`
+	ImageId            string                        `json:"ImageId" xml:"ImageId"`
+	ImageOwnerAlias    string                        `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
 	CreateTime         string                        `json:"CreateTime" xml:"CreateTime"`
-	SecurityGroupId    string                        `json:"SecurityGroupId" xml:"SecurityGroupId"`
+	RegionId           string                        `json:"RegionId" xml:"RegionId"`
+	VolumeMountpoint   string                        `json:"VolumeMountpoint" xml:"VolumeMountpoint"`
+	SchedulerType      string                        `json:"SchedulerType" xml:"SchedulerType"`
+	Id                 string                        `json:"Id" xml:"Id"`
 	VpcId              string                        `json:"VpcId" xml:"VpcId"`
+	DeployMode         string                        `json:"DeployMode" xml:"DeployMode"`
+	Description        string                        `json:"Description" xml:"Description"`
+	ClientVersion      string                        `json:"ClientVersion" xml:"ClientVersion"`
+	SccClusterId       string                        `json:"SccClusterId" xml:"SccClusterId"`
+	ClusterId          string                        `json:"ClusterId" xml:"ClusterId"`
 	VSwitchId          string                        `json:"VSwitchId" xml:"VSwitchId"`
 	VolumeType         string                        `json:"VolumeType" xml:"VolumeType"`
-	VolumeId           string                        `json:"VolumeId" xml:"VolumeId"`
-	VolumeProtocol     string                        `json:"VolumeProtocol" xml:"VolumeProtocol"`
-	VolumeMountpoint   string                        `json:"VolumeMountpoint" xml:"VolumeMountpoint"`
 	RemoteDirectory    string                        `json:"RemoteDirectory" xml:"RemoteDirectory"`
-	DeployMode         string                        `json:"DeployMode" xml:"DeployMode"`
 	HaEnable           bool                          `json:"HaEnable" xml:"HaEnable"`
+	Location           string                        `json:"Location" xml:"Location"`
 	EcsChargeType      string                        `json:"EcsChargeType" xml:"EcsChargeType"`
+	InstanceCount      int                           `json:"InstanceCount" xml:"InstanceCount"`
 	KeyPairName        string                        `json:"KeyPairName" xml:"KeyPairName"`
-	SccClusterId       string                        `json:"SccClusterId" xml:"SccClusterId"`
-	ClientVersion      string                        `json:"ClientVersion" xml:"ClientVersion"`
-	ImageOwnerAlias    string                        `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
-	ImageId            string                        `json:"ImageId" xml:"ImageId"`
-	Location           string                        `json:"Location" xml:"Location"`
+	OsTag              string                        `json:"OsTag" xml:"OsTag"`
+	Status             string                        `json:"Status" xml:"Status"`
 	EcsInfo            EcsInfo                       `json:"EcsInfo" xml:"EcsInfo"`
-	Applications       ApplicationsInDescribeCluster `json:"Applications" xml:"Applications"`
 	PostInstallScripts PostInstallScripts            `json:"PostInstallScripts" xml:"PostInstallScripts"`
+	Applications       ApplicationsInDescribeCluster `json:"Applications" xml:"Applications"`
 }

+ 8 - 6
services/ehpc/struct_cluster_info_simple.go

@@ -18,25 +18,27 @@ package ehpc
 // ClusterInfoSimple is a nested struct in ehpc response
 type ClusterInfoSimple struct {
 	Name            string         `json:"Name" xml:"Name"`
-	Count           int            `json:"Count" xml:"Count"`
 	AccountType     string         `json:"AccountType" xml:"AccountType"`
-	VSwitchId       string         `json:"VSwitchId" xml:"VSwitchId"`
 	ImageId         string         `json:"ImageId" xml:"ImageId"`
 	ImageOwnerAlias string         `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
 	CreateTime      string         `json:"CreateTime" xml:"CreateTime"`
 	InstanceType    string         `json:"InstanceType" xml:"InstanceType"`
+	NodePrefix      string         `json:"NodePrefix" xml:"NodePrefix"`
 	LoginNodes      string         `json:"LoginNodes" xml:"LoginNodes"`
-	Location        string         `json:"Location" xml:"Location"`
+	NodeSuffix      string         `json:"NodeSuffix" xml:"NodeSuffix"`
 	RegionId        string         `json:"RegionId" xml:"RegionId"`
-	ZoneId          string         `json:"ZoneId" xml:"ZoneId"`
-	OsTag           string         `json:"OsTag" xml:"OsTag"`
 	SchedulerType   string         `json:"SchedulerType" xml:"SchedulerType"`
 	EhpcVersion     string         `json:"EhpcVersion" xml:"EhpcVersion"`
 	Id              string         `json:"Id" xml:"Id"`
-	Status          string         `json:"Status" xml:"Status"`
 	VpcId           string         `json:"VpcId" xml:"VpcId"`
 	DeployMode      string         `json:"DeployMode" xml:"DeployMode"`
 	Description     string         `json:"Description" xml:"Description"`
+	Count           int            `json:"Count" xml:"Count"`
+	VSwitchId       string         `json:"VSwitchId" xml:"VSwitchId"`
+	Location        string         `json:"Location" xml:"Location"`
+	ZoneId          string         `json:"ZoneId" xml:"ZoneId"`
+	OsTag           string         `json:"OsTag" xml:"OsTag"`
+	Status          string         `json:"Status" xml:"Status"`
 	TotalResources  TotalResources `json:"TotalResources" xml:"TotalResources"`
 	UsedResources   UsedResources  `json:"UsedResources" xml:"UsedResources"`
 	Managers        Managers       `json:"Managers" xml:"Managers"`

+ 21 - 0
services/ehpc/struct_clusters_in_describe_gws_clusters.go

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

+ 1 - 1
services/ehpc/struct_container_apps.go

@@ -17,5 +17,5 @@ package ehpc
 
 // ContainerApps is a nested struct in ehpc response
 type ContainerApps struct {
-	ContainerAppsItem []ContainerAppsItem `json:"ContainerAppsItem" xml:"ContainerAppsItem"`
+	ContainerAppsItem []ContainerAppsItem `json:"ContainerApps" xml:"ContainerApps"`
 }

+ 21 - 0
services/ehpc/struct_data_in_get_accounting_report.go

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

+ 21 - 0
services/ehpc/struct_data_in_get_instance_report.go

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

+ 21 - 0
services/ehpc/struct_data_in_get_job_report.go

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

+ 21 - 0
services/ehpc/struct_data_in_get_total_queue_report.go

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

+ 21 - 0
services/ehpc/struct_data_in_get_total_user_report.go

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

+ 1 - 1
services/ehpc/struct_file_system_list_in_list_file_system_with_mount_targets.go

@@ -17,5 +17,5 @@ package ehpc
 
 // FileSystemListInListFileSystemWithMountTargets is a nested struct in ehpc response
 type FileSystemListInListFileSystemWithMountTargets struct {
-	FileSystems []FileSystems `json:"FileSystems" xml:"FileSystems"`
+	FileSystems []FileSystemsInListFileSystemWithMountTargets `json:"FileSystems" xml:"FileSystems"`
 }

+ 0 - 3
services/ehpc/struct_file_systems.go

@@ -19,13 +19,10 @@ package ehpc
 type FileSystems struct {
 	FileSystemId    string                               `json:"FileSystemId" xml:"FileSystemId"`
 	RegionId        string                               `json:"RegionId" xml:"RegionId"`
-	StorageType     string                               `json:"StorageType" xml:"StorageType"`
 	ZoneId          string                               `json:"ZoneId" xml:"ZoneId"`
 	CreateTime      string                               `json:"CreateTime" xml:"CreateTime"`
 	ProtocolType    string                               `json:"ProtocolType" xml:"ProtocolType"`
 	Capacity        string                               `json:"Capacity" xml:"Capacity"`
-	MeteredSize     string                               `json:"MeteredSize" xml:"MeteredSize"`
 	Destription     string                               `json:"Destription" xml:"Destription"`
-	PackageList     PackageList                          `json:"PackageList" xml:"PackageList"`
 	MountTargetList MountTargetListInListCpfsFileSystems `json:"MountTargetList" xml:"MountTargetList"`
 }

+ 34 - 0
services/ehpc/struct_file_systems_in_list_file_system_with_mount_targets.go

@@ -0,0 +1,34 @@
+package ehpc
+
+//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.
+
+// FileSystemsInListFileSystemWithMountTargets is a nested struct in ehpc response
+type FileSystemsInListFileSystemWithMountTargets struct {
+	RegionId        string                                          `json:"RegionId" xml:"RegionId"`
+	FileSystemId    string                                          `json:"FileSystemId" xml:"FileSystemId"`
+	FileSystemType  string                                          `json:"FileSystemType" xml:"FileSystemType"`
+	ProtocolType    string                                          `json:"ProtocolType" xml:"ProtocolType"`
+	CreateTime      string                                          `json:"CreateTime" xml:"CreateTime"`
+	Destription     string                                          `json:"Destription" xml:"Destription"`
+	StorageType     string                                          `json:"StorageType" xml:"StorageType"`
+	MeteredSize     int                                             `json:"MeteredSize" xml:"MeteredSize"`
+	Capacity        int                                             `json:"Capacity" xml:"Capacity"`
+	EncryptType     int                                             `json:"EncryptType" xml:"EncryptType"`
+	BandWidth       int                                             `json:"BandWidth" xml:"BandWidth"`
+	Status          string                                          `json:"Status" xml:"Status"`
+	PackageList     PackageList                                     `json:"PackageList" xml:"PackageList"`
+	MountTargetList MountTargetListInListFileSystemWithMountTargets `json:"MountTargetList" xml:"MountTargetList"`
+}

+ 4 - 0
services/ehpc/struct_image_info.go

@@ -17,16 +17,20 @@ package ehpc
 
 // ImageInfo is a nested struct in ehpc response
 type ImageInfo struct {
+	Name              string    `json:"Name" xml:"Name"`
 	Uid               string    `json:"Uid" xml:"Uid"`
 	Repository        string    `json:"Repository" xml:"Repository"`
 	SkuCode           string    `json:"SkuCode" xml:"SkuCode"`
 	ImageId           string    `json:"ImageId" xml:"ImageId"`
 	ImageOwnerAlias   string    `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
+	CreateTime        string    `json:"CreateTime" xml:"CreateTime"`
 	System            string    `json:"System" xml:"System"`
 	PostInstallScript string    `json:"PostInstallScript" xml:"PostInstallScript"`
 	ProductCode       string    `json:"ProductCode" xml:"ProductCode"`
+	Progress          string    `json:"Progress" xml:"Progress"`
 	Size              int       `json:"Size" xml:"Size"`
 	Tag               string    `json:"Tag" xml:"Tag"`
+	ImageType         string    `json:"ImageType" xml:"ImageType"`
 	PricingCycle      string    `json:"PricingCycle" xml:"PricingCycle"`
 	ImageName         string    `json:"ImageName" xml:"ImageName"`
 	Status            string    `json:"Status" xml:"Status"`

+ 1 - 1
services/ehpc/struct_imagegw.go

@@ -18,7 +18,7 @@ package ehpc
 // Imagegw is a nested struct in ehpc response
 type Imagegw struct {
 	DefaultImageLocation   string    `json:"DefaultImageLocation" xml:"DefaultImageLocation"`
-	PullUpdateTimeout      int       `json:"PullUpdateTimeout" xml:"PullUpdateTimeout"`
+	PullUpdateTimeout      int64     `json:"PullUpdateTimeout" xml:"PullUpdateTimeout"`
 	MongoDBURI             string    `json:"MongoDBURI" xml:"MongoDBURI"`
 	ImageExpirationTimeout string    `json:"ImageExpirationTimeout" xml:"ImageExpirationTimeout"`
 	UpdateDateTime         string    `json:"UpdateDateTime" xml:"UpdateDateTime"`

+ 21 - 0
services/ehpc/struct_images_in_describe_gws_images.go

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

+ 1 - 1
services/ehpc/struct_images_in_list_container_images.go

@@ -17,5 +17,5 @@ package ehpc
 
 // ImagesInListContainerImages is a nested struct in ehpc response
 type ImagesInListContainerImages struct {
-	ImagesItem []ImagesItem `json:"ImagesItem" xml:"ImagesItem"`
+	ImagesItem []ImagesItem `json:"Images" xml:"Images"`
 }

+ 30 - 0
services/ehpc/struct_instance_info.go

@@ -0,0 +1,30 @@
+package ehpc
+
+//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.
+
+// InstanceInfo is a nested struct in ehpc response
+type InstanceInfo struct {
+	ClusterId    string  `json:"ClusterId" xml:"ClusterId"`
+	InstanceId   string  `json:"InstanceId" xml:"InstanceId"`
+	InstanceType string  `json:"InstanceType" xml:"InstanceType"`
+	Status       string  `json:"Status" xml:"Status"`
+	CreateTime   string  `json:"CreateTime" xml:"CreateTime"`
+	ExpireTime   string  `json:"ExpireTime" xml:"ExpireTime"`
+	WorkMode     string  `json:"WorkMode" xml:"WorkMode"`
+	Name         string  `json:"Name" xml:"Name"`
+	UserName     string  `json:"UserName" xml:"UserName"`
+	AppList      AppList `json:"AppList" xml:"AppList"`
+}

+ 26 - 0
services/ehpc/struct_instance_login_view.go

@@ -0,0 +1,26 @@
+package ehpc
+
+//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.
+
+// InstanceLoginView is a nested struct in ehpc response
+type InstanceLoginView struct {
+	ViewName        string `json:"viewName" xml:"viewName"`
+	DefaultViewUrl  string `json:"defaultViewUrl" xml:"defaultViewUrl"`
+	BaseViewUrl     string `json:"baseViewUrl" xml:"baseViewUrl"`
+	TerminalViewUrl string `json:"terminalViewUrl" xml:"terminalViewUrl"`
+	FileTreeViewUrl string `json:"fileTreeViewUrl" xml:"fileTreeViewUrl"`
+	RdpViewUrl      string `json:"rdpViewUrl" xml:"rdpViewUrl"`
+}

+ 1 - 0
services/ehpc/struct_instance_type_info.go

@@ -22,4 +22,5 @@ type InstanceTypeInfo struct {
 	SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
 	ZoneId         string  `json:"ZoneId" xml:"ZoneId"`
 	VSwitchId      string  `json:"VSwitchId" xml:"VSwitchId"`
+	HostNamePrefix string  `json:"HostNamePrefix" xml:"HostNamePrefix"`
 }

+ 21 - 0
services/ehpc/struct_instances.go

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

+ 1 - 1
services/ehpc/struct_job_info.go

@@ -21,7 +21,7 @@ type JobInfo struct {
 	Name           string    `json:"Name" xml:"Name"`
 	Owner          string    `json:"Owner" xml:"Owner"`
 	NodeList       string    `json:"NodeList" xml:"NodeList"`
-	Priority       int       `json:"Priority" xml:"Priority"`
+	Priority       string    `json:"Priority" xml:"Priority"`
 	State          string    `json:"State" xml:"State"`
 	SubmitTime     string    `json:"SubmitTime" xml:"SubmitTime"`
 	StartTime      string    `json:"StartTime" xml:"StartTime"`

+ 22 - 21
services/ehpc/struct_node_info.go

@@ -17,25 +17,26 @@ package ehpc
 
 // NodeInfo is a nested struct in ehpc response
 type NodeInfo struct {
-	LockReason      string                   `json:"LockReason" xml:"LockReason"`
-	Expired         bool                     `json:"Expired" xml:"Expired"`
-	ExpiredTime     string                   `json:"ExpiredTime" xml:"ExpiredTime"`
-	ImageId         string                   `json:"ImageId" xml:"ImageId"`
-	VSwitchId       string                   `json:"VSwitchId" xml:"VSwitchId"`
-	Version         string                   `json:"Version" xml:"Version"`
-	ImageOwnerAlias string                   `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
-	CreateMode      string                   `json:"CreateMode" xml:"CreateMode"`
-	Location        string                   `json:"Location" xml:"Location"`
-	RegionId        string                   `json:"RegionId" xml:"RegionId"`
-	ZoneId          string                   `json:"ZoneId" xml:"ZoneId"`
-	CreatedByEhpc   bool                     `json:"CreatedByEhpc" xml:"CreatedByEhpc"`
-	Id              string                   `json:"Id" xml:"Id"`
-	HostName        string                   `json:"HostName" xml:"HostName"`
-	Status          string                   `json:"Status" xml:"Status"`
-	AddTime         string                   `json:"AddTime" xml:"AddTime"`
-	SpotStrategy    string                   `json:"SpotStrategy" xml:"SpotStrategy"`
-	VpcId           string                   `json:"VpcId" xml:"VpcId"`
-	Roles           RolesInListNodesNoPaging `json:"Roles" xml:"Roles"`
-	TotalResources  TotalResources           `json:"TotalResources" xml:"TotalResources"`
-	UsedResources   UsedResources            `json:"UsedResources" xml:"UsedResources"`
+	LockReason      string           `json:"LockReason" xml:"LockReason"`
+	Expired         bool             `json:"Expired" xml:"Expired"`
+	ExpiredTime     string           `json:"ExpiredTime" xml:"ExpiredTime"`
+	IpAddress       string           `json:"IpAddress" xml:"IpAddress"`
+	ImageId         string           `json:"ImageId" xml:"ImageId"`
+	VSwitchId       string           `json:"VSwitchId" xml:"VSwitchId"`
+	Version         string           `json:"Version" xml:"Version"`
+	ImageOwnerAlias string           `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
+	CreateMode      string           `json:"CreateMode" xml:"CreateMode"`
+	Location        string           `json:"Location" xml:"Location"`
+	RegionId        string           `json:"RegionId" xml:"RegionId"`
+	ZoneId          string           `json:"ZoneId" xml:"ZoneId"`
+	CreatedByEhpc   bool             `json:"CreatedByEhpc" xml:"CreatedByEhpc"`
+	Id              string           `json:"Id" xml:"Id"`
+	HostName        string           `json:"HostName" xml:"HostName"`
+	Status          string           `json:"Status" xml:"Status"`
+	AddTime         string           `json:"AddTime" xml:"AddTime"`
+	SpotStrategy    string           `json:"SpotStrategy" xml:"SpotStrategy"`
+	VpcId           string           `json:"VpcId" xml:"VpcId"`
+	Roles           RolesInListNodes `json:"Roles" xml:"Roles"`
+	TotalResources  TotalResources   `json:"TotalResources" xml:"TotalResources"`
+	UsedResources   UsedResources    `json:"UsedResources" xml:"UsedResources"`
 }

+ 10 - 8
services/ehpc/struct_queue_info.go

@@ -17,12 +17,14 @@ package ehpc
 
 // QueueInfo is a nested struct in ehpc response
 type QueueInfo struct {
-	QueueName        string        `json:"QueueName" xml:"QueueName"`
-	SpotPriceLimit   float64       `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
-	EnableAutoGrow   bool          `json:"EnableAutoGrow" xml:"EnableAutoGrow"`
-	EnableAutoShrink bool          `json:"EnableAutoShrink" xml:"EnableAutoShrink"`
-	InstanceType     string        `json:"InstanceType" xml:"InstanceType"`
-	SpotStrategy     string        `json:"SpotStrategy" xml:"SpotStrategy"`
-	Type             string        `json:"Type" xml:"Type"`
-	InstanceTypes    InstanceTypes `json:"InstanceTypes" xml:"InstanceTypes"`
+	QueueName           string        `json:"QueueName" xml:"QueueName"`
+	ResourceGroupId     string        `json:"ResourceGroupId" xml:"ResourceGroupId"`
+	SpotPriceLimit      float64       `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
+	EnableAutoGrow      bool          `json:"EnableAutoGrow" xml:"EnableAutoGrow"`
+	EnableAutoShrink    bool          `json:"EnableAutoShrink" xml:"EnableAutoShrink"`
+	InstanceType        string        `json:"InstanceType" xml:"InstanceType"`
+	SpotStrategy        string        `json:"SpotStrategy" xml:"SpotStrategy"`
+	ComputeInstanceType string        `json:"ComputeInstanceType" xml:"ComputeInstanceType"`
+	Type                string        `json:"Type" xml:"Type"`
+	InstanceTypes       InstanceTypes `json:"InstanceTypes" xml:"InstanceTypes"`
 }

+ 23 - 0
services/ehpc/struct_result.go

@@ -0,0 +1,23 @@
+package ehpc
+
+//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.
+
+// Result is a nested struct in ehpc response
+type Result struct {
+	InvokeRecordStatus string `json:"InvokeRecordStatus" xml:"InvokeRecordStatus"`
+	ExitCode           int    `json:"ExitCode" xml:"ExitCode"`
+	Output             string `json:"Output" xml:"Output"`
+}

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