浏览代码

由向召元发起的CMS SDK自动发布, 版本号:1.14.1

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 年之前
父节点
当前提交
09d5e271d3
共有 47 个文件被更改,包括 173 次插入290 次删除
  1. 11 0
      ChangeLog.txt
  2. 1 1
      services/cms/add_my_group_instances.go
  3. 10 11
      services/cms/create_alarm.go
  4. 4 4
      services/cms/create_my_groups.go
  5. 3 3
      services/cms/create_notify_policy.go
  6. 8 17
      services/cms/create_task.go
  7. 1 2
      services/cms/delete_alarm.go
  8. 1 1
      services/cms/delete_custom_metric.go
  9. 1 1
      services/cms/delete_my_group_instances.go
  10. 2 2
      services/cms/delete_notify_policy.go
  11. 7 7
      services/cms/describe_alarm_history.go
  12. 2 0
      services/cms/describe_isp_area_city.go
  13. 3 3
      services/cms/describe_tasks.go
  14. 1 2
      services/cms/disable_alarm.go
  15. 1 2
      services/cms/enable_alarm.go
  16. 2 2
      services/cms/get_my_groups.go
  17. 1 1
      services/cms/get_notify_policy.go
  18. 1 1
      services/cms/list_active_alert_rule.go
  19. 8 9
      services/cms/list_alarm.go
  20. 5 6
      services/cms/list_alarm_history.go
  21. 2 3
      services/cms/list_contact_group.go
  22. 7 5
      services/cms/list_my_group_instances.go
  23. 7 5
      services/cms/list_my_group_instances_details.go
  24. 4 4
      services/cms/list_my_groups.go
  25. 2 2
      services/cms/list_notify_policy.go
  26. 8 17
      services/cms/modify_task.go
  27. 1 1
      services/cms/node_install.go
  28. 5 5
      services/cms/node_list.go
  29. 1 1
      services/cms/node_process_create.go
  30. 2 2
      services/cms/profile_set.go
  31. 4 3
      services/cms/put_custom_metric.go
  32. 4 3
      services/cms/put_event.go
  33. 0 107
      services/cms/put_metric_data.go
  34. 2 3
      services/cms/query_custom_metric_list.go
  35. 5 6
      services/cms/query_metric_data.go
  36. 7 8
      services/cms/query_metric_last.go
  37. 6 8
      services/cms/query_metric_list.go
  38. 6 7
      services/cms/query_metric_top.go
  39. 1 0
      services/cms/start_tasks.go
  40. 1 0
      services/cms/stop_tasks.go
  41. 4 4
      services/cms/task_config_create.go
  42. 2 2
      services/cms/task_config_list.go
  43. 6 6
      services/cms/task_config_modify.go
  44. 8 9
      services/cms/update_alarm.go
  45. 1 1
      services/cms/update_my_group_instances.go
  46. 1 0
      services/cms/update_my_group_members.go
  47. 3 3
      services/cms/update_my_groups.go

+ 11 - 0
ChangeLog.txt

@@ -1,3 +1,14 @@
+2018-05-25 Version: 1.14.1
+1, CreateAlarm,DeleteAlarm,UpdateAlarm,DisableAlarm,EnableAlarm,ListAlarm,ListAlarmHistory,ListContactGroup,PutMetricData,QueryMetricData,QueryMetricLast,QueryMetricList,QueryMetricTop remove useless parameter: callby_cms_owner. 
+2, QueryMetricList remove useless parameter: Page.
+3, UpdateMyGroupMembers add parameter: Readers.
+4, StopTasks,StartTasks,DeleteTasks add return value: Data.
+5, ModifyTask remove invalid parameter: TaskType.
+6, CreateTask fix bug: TaskName maybe duplicated.
+7, Add lost return value for CreateTask.
+8, DescribeISPAreaCity add parameter: isp and city.
+9, remove api: PutMetricData.
+
 2018-05-23 Version: 1.14.0
 1, Add CreateDrdsAccount API, to support creating account for all databases of a DRDS instance.
 

+ 1 - 1
services/cms/add_my_group_instances.go

@@ -76,8 +76,8 @@ func (client *Client) AddMyGroupInstancesWithCallback(request *AddMyGroupInstanc
 // AddMyGroupInstancesRequest is the request struct for api AddMyGroupInstances
 type AddMyGroupInstancesRequest struct {
 	*requests.RpcRequest
-	GroupId   requests.Integer `position:"Query" name:"GroupId"`
 	Instances string           `position:"Query" name:"Instances"`
+	GroupId   requests.Integer `position:"Query" name:"GroupId"`
 }
 
 // AddMyGroupInstancesResponse is the response struct for api AddMyGroupInstances

+ 10 - 11
services/cms/create_alarm.go

@@ -76,22 +76,21 @@ func (client *Client) CreateAlarmWithCallback(request *CreateAlarmRequest, callb
 // CreateAlarmRequest is the request struct for api CreateAlarm
 type CreateAlarmRequest struct {
 	*requests.RpcRequest
-	Name               string           `position:"Query" name:"Name"`
-	CallbyCmsOwner     string           `position:"Query" name:"callby_cms_owner"`
-	Namespace          string           `position:"Query" name:"Namespace"`
-	MetricName         string           `position:"Query" name:"MetricName"`
-	Dimensions         string           `position:"Query" name:"Dimensions"`
 	Period             requests.Integer `position:"Query" name:"Period"`
-	Statistics         string           `position:"Query" name:"Statistics"`
-	ComparisonOperator string           `position:"Query" name:"ComparisonOperator"`
-	Threshold          string           `position:"Query" name:"Threshold"`
-	EvaluationCount    requests.Integer `position:"Query" name:"EvaluationCount"`
+	Webhook            string           `position:"Query" name:"Webhook"`
 	ContactGroups      string           `position:"Query" name:"ContactGroups"`
-	StartTime          requests.Integer `position:"Query" name:"StartTime"`
 	EndTime            requests.Integer `position:"Query" name:"EndTime"`
+	Threshold          string           `position:"Query" name:"Threshold"`
+	StartTime          requests.Integer `position:"Query" name:"StartTime"`
+	Namespace          string           `position:"Query" name:"Namespace"`
+	Name               string           `position:"Query" name:"Name"`
+	EvaluationCount    requests.Integer `position:"Query" name:"EvaluationCount"`
 	SilenceTime        requests.Integer `position:"Query" name:"SilenceTime"`
+	MetricName         string           `position:"Query" name:"MetricName"`
 	NotifyType         requests.Integer `position:"Query" name:"NotifyType"`
-	Webhook            string           `position:"Query" name:"Webhook"`
+	ComparisonOperator string           `position:"Query" name:"ComparisonOperator"`
+	Dimensions         string           `position:"Query" name:"Dimensions"`
+	Statistics         string           `position:"Query" name:"Statistics"`
 }
 
 // CreateAlarmResponse is the response struct for api CreateAlarm

+ 4 - 4
services/cms/create_my_groups.go

@@ -76,12 +76,12 @@ func (client *Client) CreateMyGroupsWithCallback(request *CreateMyGroupsRequest,
 // CreateMyGroupsRequest is the request struct for api CreateMyGroups
 type CreateMyGroupsRequest struct {
 	*requests.RpcRequest
-	Type          string           `position:"Query" name:"Type"`
-	BindUrl       string           `position:"Query" name:"BindUrl"`
-	GroupName     string           `position:"Query" name:"GroupName"`
-	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
 	ContactGroups string           `position:"Query" name:"ContactGroups"`
 	Options       string           `position:"Query" name:"Options"`
+	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
+	Type          string           `position:"Query" name:"Type"`
+	GroupName     string           `position:"Query" name:"GroupName"`
+	BindUrl       string           `position:"Query" name:"BindUrl"`
 }
 
 // CreateMyGroupsResponse is the response struct for api CreateMyGroups

+ 3 - 3
services/cms/create_notify_policy.go

@@ -76,11 +76,11 @@ func (client *Client) CreateNotifyPolicyWithCallback(request *CreateNotifyPolicy
 // CreateNotifyPolicyRequest is the request struct for api CreateNotifyPolicy
 type CreateNotifyPolicyRequest struct {
 	*requests.RpcRequest
-	Dimensions string           `position:"Query" name:"Dimensions"`
 	PolicyType string           `position:"Query" name:"PolicyType"`
-	StartTime  requests.Integer `position:"Query" name:"StartTime"`
-	EndTime    requests.Integer `position:"Query" name:"EndTime"`
 	AlertName  string           `position:"Query" name:"AlertName"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	StartTime  requests.Integer `position:"Query" name:"StartTime"`
+	Dimensions string           `position:"Query" name:"Dimensions"`
 }
 
 // CreateNotifyPolicyResponse is the response struct for api CreateNotifyPolicy

+ 8 - 17
services/cms/create_task.go

@@ -76,23 +76,13 @@ func (client *Client) CreateTaskWithCallback(request *CreateTaskRequest, callbac
 // CreateTaskRequest is the request struct for api CreateTask
 type CreateTaskRequest struct {
 	*requests.RpcRequest
-	AgentGroup    string `position:"Query" name:"AgentGroup"`
-	AlertName     string `position:"Query" name:"AlertName"`
-	TaskId        string `position:"Query" name:"TaskId"`
-	ClientIds     string `position:"Query" name:"ClientIds"`
-	TaskType      string `position:"Query" name:"TaskType"`
-	TaskName      string `position:"Query" name:"TaskName"`
-	TaskState     string `position:"Query" name:"TaskState"`
-	AgentType     string `position:"Query" name:"AgentType"`
-	ReportProject string `position:"Query" name:"ReportProject"`
-	Address       string `position:"Query" name:"Address"`
-	Interval      string `position:"Query" name:"Interval"`
-	EndTime       string `position:"Query" name:"EndTime"`
-	IspCity       string `position:"Query" name:"IspCity"`
-	Options       string `position:"Query" name:"Options"`
-	AlertInfo     string `position:"Query" name:"AlertInfo"`
-	AlertRule     string `position:"Query" name:"AlertRule"`
-	Ip            string `position:"Query" name:"Ip"`
+	TaskType  string `position:"Query" name:"TaskType"`
+	Address   string `position:"Query" name:"Address"`
+	IspCity   string `position:"Query" name:"IspCity"`
+	Options   string `position:"Query" name:"Options"`
+	TaskName  string `position:"Query" name:"TaskName"`
+	Interval  string `position:"Query" name:"Interval"`
+	AlertRule string `position:"Query" name:"AlertRule"`
 }
 
 // CreateTaskResponse is the response struct for api CreateTask
@@ -102,6 +92,7 @@ type CreateTaskResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
 // CreateCreateTaskRequest creates a request to invoke CreateTask API

+ 1 - 2
services/cms/delete_alarm.go

@@ -76,8 +76,7 @@ func (client *Client) DeleteAlarmWithCallback(request *DeleteAlarmRequest, callb
 // DeleteAlarmRequest is the request struct for api DeleteAlarm
 type DeleteAlarmRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner string `position:"Query" name:"callby_cms_owner"`
-	Id             string `position:"Query" name:"Id"`
+	Id string `position:"Query" name:"Id"`
 }
 
 // DeleteAlarmResponse is the response struct for api DeleteAlarm

+ 1 - 1
services/cms/delete_custom_metric.go

@@ -78,8 +78,8 @@ type DeleteCustomMetricRequest struct {
 	*requests.RpcRequest
 	GroupId    string `position:"Query" name:"GroupId"`
 	MetricName string `position:"Query" name:"MetricName"`
-	Md5        string `position:"Query" name:"Md5"`
 	UUID       string `position:"Query" name:"UUID"`
+	Md5        string `position:"Query" name:"Md5"`
 }
 
 // DeleteCustomMetricResponse is the response struct for api DeleteCustomMetric

+ 1 - 1
services/cms/delete_my_group_instances.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteMyGroupInstancesWithCallback(request *DeleteMyGroupI
 // DeleteMyGroupInstancesRequest is the request struct for api DeleteMyGroupInstances
 type DeleteMyGroupInstancesRequest struct {
 	*requests.RpcRequest
-	GroupId     requests.Integer `position:"Query" name:"GroupId"`
 	InstanceIds string           `position:"Query" name:"InstanceIds"`
+	GroupId     requests.Integer `position:"Query" name:"GroupId"`
 }
 
 // DeleteMyGroupInstancesResponse is the response struct for api DeleteMyGroupInstances

+ 2 - 2
services/cms/delete_notify_policy.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteNotifyPolicyWithCallback(request *DeleteNotifyPolicy
 // DeleteNotifyPolicyRequest is the request struct for api DeleteNotifyPolicy
 type DeleteNotifyPolicyRequest struct {
 	*requests.RpcRequest
-	Dimensions string `position:"Query" name:"Dimensions"`
 	PolicyType string `position:"Query" name:"PolicyType"`
-	Id         string `position:"Query" name:"Id"`
 	AlertName  string `position:"Query" name:"AlertName"`
+	Id         string `position:"Query" name:"Id"`
+	Dimensions string `position:"Query" name:"Dimensions"`
 }
 
 // DeleteNotifyPolicyResponse is the response struct for api DeleteNotifyPolicy

+ 7 - 7
services/cms/describe_alarm_history.go

@@ -77,18 +77,18 @@ func (client *Client) DescribeAlarmHistoryWithCallback(request *DescribeAlarmHis
 type DescribeAlarmHistoryRequest struct {
 	*requests.RpcRequest
 	AlertName  string           `position:"Query" name:"AlertName"`
-	RuleName   string           `position:"Query" name:"RuleName"`
-	Namespace  string           `position:"Query" name:"Namespace"`
-	MetricName string           `position:"Query" name:"MetricName"`
 	GroupId    string           `position:"Query" name:"GroupId"`
-	Status     string           `position:"Query" name:"Status"`
-	State      string           `position:"Query" name:"State"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	RuleName   string           `position:"Query" name:"RuleName"`
+	StartTime  string           `position:"Query" name:"StartTime"`
 	Ascending  requests.Boolean `position:"Query" name:"Ascending"`
 	OnlyCount  requests.Boolean `position:"Query" name:"OnlyCount"`
-	StartTime  string           `position:"Query" name:"StartTime"`
-	EndTime    string           `position:"Query" name:"EndTime"`
+	Namespace  string           `position:"Query" name:"Namespace"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	State      string           `position:"Query" name:"State"`
 	Page       requests.Integer `position:"Query" name:"Page"`
+	MetricName string           `position:"Query" name:"MetricName"`
+	Status     string           `position:"Query" name:"Status"`
 }
 
 // DescribeAlarmHistoryResponse is the response struct for api DescribeAlarmHistory

+ 2 - 0
services/cms/describe_isp_area_city.go

@@ -76,6 +76,8 @@ func (client *Client) DescribeISPAreaCityWithCallback(request *DescribeISPAreaCi
 // DescribeISPAreaCityRequest is the request struct for api DescribeISPAreaCity
 type DescribeISPAreaCityRequest struct {
 	*requests.RpcRequest
+	City string `position:"Query" name:"City"`
+	Isp  string `position:"Query" name:"Isp"`
 }
 
 // DescribeISPAreaCityResponse is the response struct for api DescribeISPAreaCity

+ 3 - 3
services/cms/describe_tasks.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeTasksWithCallback(request *DescribeTasksRequest, c
 // DescribeTasksRequest is the request struct for api DescribeTasks
 type DescribeTasksRequest struct {
 	*requests.RpcRequest
-	TaskId   string           `position:"Query" name:"TaskId"`
 	TaskType string           `position:"Query" name:"TaskType"`
-	Keyword  string           `position:"Query" name:"Keyword"`
-	Page     requests.Integer `position:"Query" name:"Page"`
 	PageSize requests.Integer `position:"Query" name:"PageSize"`
+	Page     requests.Integer `position:"Query" name:"Page"`
+	Keyword  string           `position:"Query" name:"Keyword"`
+	TaskId   string           `position:"Query" name:"TaskId"`
 }
 
 // DescribeTasksResponse is the response struct for api DescribeTasks

+ 1 - 2
services/cms/disable_alarm.go

@@ -76,8 +76,7 @@ func (client *Client) DisableAlarmWithCallback(request *DisableAlarmRequest, cal
 // DisableAlarmRequest is the request struct for api DisableAlarm
 type DisableAlarmRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner string `position:"Query" name:"callby_cms_owner"`
-	Id             string `position:"Query" name:"Id"`
+	Id string `position:"Query" name:"Id"`
 }
 
 // DisableAlarmResponse is the response struct for api DisableAlarm

+ 1 - 2
services/cms/enable_alarm.go

@@ -76,8 +76,7 @@ func (client *Client) EnableAlarmWithCallback(request *EnableAlarmRequest, callb
 // EnableAlarmRequest is the request struct for api EnableAlarm
 type EnableAlarmRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner string `position:"Query" name:"callby_cms_owner"`
-	Id             string `position:"Query" name:"Id"`
+	Id string `position:"Query" name:"Id"`
 }
 
 // EnableAlarmResponse is the response struct for api EnableAlarm

+ 2 - 2
services/cms/get_my_groups.go

@@ -76,12 +76,12 @@ func (client *Client) GetMyGroupsWithCallback(request *GetMyGroupsRequest, callb
 // GetMyGroupsRequest is the request struct for api GetMyGroups
 type GetMyGroupsRequest struct {
 	*requests.RpcRequest
+	SelectContactGroups requests.Boolean `position:"Query" name:"SelectContactGroups"`
 	InstanceId          string           `position:"Query" name:"InstanceId"`
 	GroupId             requests.Integer `position:"Query" name:"GroupId"`
 	Type                string           `position:"Query" name:"Type"`
-	SelectContactGroups requests.Boolean `position:"Query" name:"SelectContactGroups"`
-	BindUrl             string           `position:"Query" name:"BindUrl"`
 	GroupName           string           `position:"Query" name:"GroupName"`
+	BindUrl             string           `position:"Query" name:"BindUrl"`
 }
 
 // GetMyGroupsResponse is the response struct for api GetMyGroups

+ 1 - 1
services/cms/get_notify_policy.go

@@ -76,8 +76,8 @@ func (client *Client) GetNotifyPolicyWithCallback(request *GetNotifyPolicyReques
 // GetNotifyPolicyRequest is the request struct for api GetNotifyPolicy
 type GetNotifyPolicyRequest struct {
 	*requests.RpcRequest
-	AlertName  string `position:"Query" name:"AlertName"`
 	PolicyType string `position:"Query" name:"PolicyType"`
+	AlertName  string `position:"Query" name:"AlertName"`
 	Id         string `position:"Query" name:"Id"`
 	Dimensions string `position:"Query" name:"Dimensions"`
 }

+ 1 - 1
services/cms/list_active_alert_rule.go

@@ -76,8 +76,8 @@ func (client *Client) ListActiveAlertRuleWithCallback(request *ListActiveAlertRu
 // ListActiveAlertRuleRequest is the request struct for api ListActiveAlertRule
 type ListActiveAlertRuleRequest struct {
 	*requests.RpcRequest
-	UserId  string `position:"Query" name:"UserId"`
 	Product string `position:"Query" name:"Product"`
+	UserId  string `position:"Query" name:"UserId"`
 }
 
 // ListActiveAlertRuleResponse is the response struct for api ListActiveAlertRule

+ 8 - 9
services/cms/list_alarm.go

@@ -76,15 +76,14 @@ func (client *Client) ListAlarmWithCallback(request *ListAlarmRequest, callback
 // ListAlarmRequest is the request struct for api ListAlarm
 type ListAlarmRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner string           `position:"Query" name:"callby_cms_owner"`
-	Id             string           `position:"Query" name:"Id"`
-	Name           string           `position:"Query" name:"Name"`
-	Namespace      string           `position:"Query" name:"Namespace"`
-	Dimension      string           `position:"Query" name:"Dimension"`
-	State          string           `position:"Query" name:"State"`
-	IsEnable       requests.Boolean `position:"Query" name:"IsEnable"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	IsEnable   requests.Boolean `position:"Query" name:"IsEnable"`
+	Name       string           `position:"Query" name:"Name"`
+	Namespace  string           `position:"Query" name:"Namespace"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Id         string           `position:"Query" name:"Id"`
+	State      string           `position:"Query" name:"State"`
+	Dimension  string           `position:"Query" name:"Dimension"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // ListAlarmResponse is the response struct for api ListAlarm

+ 5 - 6
services/cms/list_alarm_history.go

@@ -76,12 +76,11 @@ func (client *Client) ListAlarmHistoryWithCallback(request *ListAlarmHistoryRequ
 // ListAlarmHistoryRequest is the request struct for api ListAlarmHistory
 type ListAlarmHistoryRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner string           `position:"Query" name:"callby_cms_owner"`
-	Id             string           `position:"Query" name:"Id"`
-	Size           requests.Integer `position:"Query" name:"Size"`
-	StartTime      string           `position:"Query" name:"StartTime"`
-	EndTime        string           `position:"Query" name:"EndTime"`
-	Cursor         string           `position:"Query" name:"Cursor"`
+	Cursor    string           `position:"Query" name:"Cursor"`
+	Size      requests.Integer `position:"Query" name:"Size"`
+	EndTime   string           `position:"Query" name:"EndTime"`
+	Id        string           `position:"Query" name:"Id"`
+	StartTime string           `position:"Query" name:"StartTime"`
 }
 
 // ListAlarmHistoryResponse is the response struct for api ListAlarmHistory

+ 2 - 3
services/cms/list_contact_group.go

@@ -76,9 +76,8 @@ func (client *Client) ListContactGroupWithCallback(request *ListContactGroupRequ
 // ListContactGroupRequest is the request struct for api ListContactGroup
 type ListContactGroupRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner string           `position:"Query" name:"callby_cms_owner"`
-	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // ListContactGroupResponse is the response struct for api ListContactGroup

+ 7 - 5
services/cms/list_my_group_instances.go

@@ -76,11 +76,13 @@ func (client *Client) ListMyGroupInstancesWithCallback(request *ListMyGroupInsta
 // ListMyGroupInstancesRequest is the request struct for api ListMyGroupInstances
 type ListMyGroupInstancesRequest struct {
 	*requests.RpcRequest
-	Total      requests.Boolean `position:"Query" name:"Total"`
-	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
-	GroupId    requests.Integer `position:"Query" name:"GroupId"`
-	Category   string           `position:"Query" name:"Category"`
+	Total       requests.Boolean `position:"Query" name:"Total"`
+	InstanceIds string           `position:"Query" name:"InstanceIds"`
+	GroupId     requests.Integer `position:"Query" name:"GroupId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	Category    string           `position:"Query" name:"Category"`
+	Keyword     string           `position:"Query" name:"Keyword"`
+	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // ListMyGroupInstancesResponse is the response struct for api ListMyGroupInstances

+ 7 - 5
services/cms/list_my_group_instances_details.go

@@ -76,11 +76,13 @@ func (client *Client) ListMyGroupInstancesDetailsWithCallback(request *ListMyGro
 // ListMyGroupInstancesDetailsRequest is the request struct for api ListMyGroupInstancesDetails
 type ListMyGroupInstancesDetailsRequest struct {
 	*requests.RpcRequest
-	Total      requests.Boolean `position:"Query" name:"Total"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
-	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
-	GroupId    requests.Integer `position:"Query" name:"GroupId"`
-	Category   string           `position:"Query" name:"Category"`
+	Total       requests.Boolean `position:"Query" name:"Total"`
+	InstanceIds string           `position:"Query" name:"InstanceIds"`
+	GroupId     requests.Integer `position:"Query" name:"GroupId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	Category    string           `position:"Query" name:"Category"`
+	Keyword     string           `position:"Query" name:"Keyword"`
+	PageNumber  requests.Integer `position:"Query" name:"PageNumber"`
 }
 
 // ListMyGroupInstancesDetailsResponse is the response struct for api ListMyGroupInstancesDetails

+ 4 - 4
services/cms/list_my_groups.go

@@ -77,13 +77,13 @@ func (client *Client) ListMyGroupsWithCallback(request *ListMyGroupsRequest, cal
 type ListMyGroupsRequest struct {
 	*requests.RpcRequest
 	SelectContactGroups requests.Boolean `position:"Query" name:"SelectContactGroups"`
-	Keyword             string           `position:"Query" name:"Keyword"`
-	PageNumber          requests.Integer `position:"Query" name:"PageNumber"`
+	InstanceId          string           `position:"Query" name:"InstanceId"`
 	PageSize            requests.Integer `position:"Query" name:"PageSize"`
 	Type                string           `position:"Query" name:"Type"`
-	InstanceId          string           `position:"Query" name:"InstanceId"`
-	BindUrls            string           `position:"Query" name:"BindUrls"`
+	Keyword             string           `position:"Query" name:"Keyword"`
 	GroupName           string           `position:"Query" name:"GroupName"`
+	PageNumber          requests.Integer `position:"Query" name:"PageNumber"`
+	BindUrls            string           `position:"Query" name:"BindUrls"`
 }
 
 // ListMyGroupsResponse is the response struct for api ListMyGroups

+ 2 - 2
services/cms/list_notify_policy.go

@@ -76,10 +76,10 @@ func (client *Client) ListNotifyPolicyWithCallback(request *ListNotifyPolicyRequ
 // ListNotifyPolicyRequest is the request struct for api ListNotifyPolicy
 type ListNotifyPolicyRequest struct {
 	*requests.RpcRequest
-	AlertName  string           `position:"Query" name:"AlertName"`
 	PolicyType string           `position:"Query" name:"PolicyType"`
-	Id         string           `position:"Query" name:"Id"`
+	AlertName  string           `position:"Query" name:"AlertName"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	Id         string           `position:"Query" name:"Id"`
 	Dimensions string           `position:"Query" name:"Dimensions"`
 }
 

+ 8 - 17
services/cms/modify_task.go

@@ -76,23 +76,13 @@ func (client *Client) ModifyTaskWithCallback(request *ModifyTaskRequest, callbac
 // ModifyTaskRequest is the request struct for api ModifyTask
 type ModifyTaskRequest struct {
 	*requests.RpcRequest
-	AgentGroup    string `position:"Query" name:"AgentGroup"`
-	AlertName     string `position:"Query" name:"AlertName"`
-	TaskId        string `position:"Query" name:"TaskId"`
-	ClientIds     string `position:"Query" name:"ClientIds"`
-	TaskType      string `position:"Query" name:"TaskType"`
-	TaskName      string `position:"Query" name:"TaskName"`
-	TaskState     string `position:"Query" name:"TaskState"`
-	AgentType     string `position:"Query" name:"AgentType"`
-	ReportProject string `position:"Query" name:"ReportProject"`
-	Address       string `position:"Query" name:"Address"`
-	Interval      string `position:"Query" name:"Interval"`
-	EndTime       string `position:"Query" name:"EndTime"`
-	IspCity       string `position:"Query" name:"IspCity"`
-	Options       string `position:"Query" name:"Options"`
-	AlertInfo     string `position:"Query" name:"AlertInfo"`
-	AlertRule     string `position:"Query" name:"AlertRule"`
-	Ip            string `position:"Query" name:"Ip"`
+	Address   string `position:"Query" name:"Address"`
+	IspCity   string `position:"Query" name:"IspCity"`
+	Options   string `position:"Query" name:"Options"`
+	TaskName  string `position:"Query" name:"TaskName"`
+	Interval  string `position:"Query" name:"Interval"`
+	AlertRule string `position:"Query" name:"AlertRule"`
+	TaskId    string `position:"Query" name:"TaskId"`
 }
 
 // ModifyTaskResponse is the response struct for api ModifyTask
@@ -102,6 +92,7 @@ type ModifyTaskResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
 // CreateModifyTaskRequest creates a request to invoke ModifyTask API

+ 1 - 1
services/cms/node_install.go

@@ -76,9 +76,9 @@ func (client *Client) NodeInstallWithCallback(request *NodeInstallRequest, callb
 // NodeInstallRequest is the request struct for api NodeInstall
 type NodeInstallRequest struct {
 	*requests.RpcRequest
-	UserId     string           `position:"Query" name:"UserId"`
 	InstanceId string           `position:"Query" name:"InstanceId"`
 	Force      requests.Boolean `position:"Query" name:"Force"`
+	UserId     string           `position:"Query" name:"UserId"`
 }
 
 // NodeInstallResponse is the response struct for api NodeInstall

+ 5 - 5
services/cms/node_list.go

@@ -76,15 +76,15 @@ func (client *Client) NodeListWithCallback(request *NodeListRequest, callback fu
 // NodeListRequest is the request struct for api NodeList
 type NodeListRequest struct {
 	*requests.RpcRequest
-	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
-	UserId           requests.Integer `position:"Query" name:"UserId"`
 	HostName         string           `position:"Query" name:"HostName"`
 	InstanceIds      string           `position:"Query" name:"InstanceIds"`
-	SerialNumbers    string           `position:"Query" name:"SerialNumbers"`
-	KeyWord          string           `position:"Query" name:"KeyWord"`
+	InstanceRegionId string           `position:"Query" name:"InstanceRegionId"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
+	KeyWord          string           `position:"Query" name:"KeyWord"`
+	UserId           requests.Integer `position:"Query" name:"UserId"`
+	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
+	SerialNumbers    string           `position:"Query" name:"SerialNumbers"`
 	Status           string           `position:"Query" name:"Status"`
-	InstanceRegionId string           `position:"Query" name:"InstanceRegionId"`
 }
 
 // NodeListResponse is the response struct for api NodeList

+ 1 - 1
services/cms/node_process_create.go

@@ -76,8 +76,8 @@ func (client *Client) NodeProcessCreateWithCallback(request *NodeProcessCreateRe
 // NodeProcessCreateRequest is the request struct for api NodeProcessCreate
 type NodeProcessCreateRequest struct {
 	*requests.RpcRequest
-	ProcessName string `position:"Query" name:"ProcessName"`
 	InstanceId  string `position:"Query" name:"InstanceId"`
+	ProcessName string `position:"Query" name:"ProcessName"`
 	Name        string `position:"Query" name:"Name"`
 	ProcessUser string `position:"Query" name:"ProcessUser"`
 	Command     string `position:"Query" name:"Command"`

+ 2 - 2
services/cms/profile_set.go

@@ -76,10 +76,10 @@ func (client *Client) ProfileSetWithCallback(request *ProfileSetRequest, callbac
 // ProfileSetRequest is the request struct for api ProfileSet
 type ProfileSetRequest struct {
 	*requests.RpcRequest
-	UserId                   requests.Integer `position:"Query" name:"UserId"`
-	AutoInstall              requests.Boolean `position:"Query" name:"AutoInstall"`
 	EnableInstallAgentNewECS requests.Boolean `position:"Query" name:"EnableInstallAgentNewECS"`
 	EnableActiveAlert        string           `position:"Query" name:"EnableActiveAlert"`
+	AutoInstall              requests.Boolean `position:"Query" name:"AutoInstall"`
+	UserId                   requests.Integer `position:"Query" name:"UserId"`
 }
 
 // ProfileSetResponse is the response struct for api ProfileSet

+ 4 - 3
services/cms/put_custom_metric.go

@@ -82,9 +82,10 @@ type PutCustomMetricRequest struct {
 // PutCustomMetricResponse is the response struct for api PutCustomMetric
 type PutCustomMetricResponse struct {
 	*responses.BaseResponse
-	Code    string `json:"Code" xml:"Code"`
-	Message string `json:"Message" xml:"Message"`
-	Data    string `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
 // CreatePutCustomMetricRequest creates a request to invoke PutCustomMetric API

+ 4 - 3
services/cms/put_event.go

@@ -82,9 +82,10 @@ type PutEventRequest struct {
 // PutEventResponse is the response struct for api PutEvent
 type PutEventResponse struct {
 	*responses.BaseResponse
-	Code    string `json:"Code" xml:"Code"`
-	Message string `json:"Message" xml:"Message"`
-	Data    string `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
 // CreatePutEventRequest creates a request to invoke PutEvent API

+ 0 - 107
services/cms/put_metric_data.go

@@ -1,107 +0,0 @@
-package cms
-
-//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"
-)
-
-// PutMetricData invokes the cms.PutMetricData API synchronously
-// api document: https://help.aliyun.com/api/cms/putmetricdata.html
-func (client *Client) PutMetricData(request *PutMetricDataRequest) (response *PutMetricDataResponse, err error) {
-	response = CreatePutMetricDataResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// PutMetricDataWithChan invokes the cms.PutMetricData API asynchronously
-// api document: https://help.aliyun.com/api/cms/putmetricdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) PutMetricDataWithChan(request *PutMetricDataRequest) (<-chan *PutMetricDataResponse, <-chan error) {
-	responseChan := make(chan *PutMetricDataResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.PutMetricData(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// PutMetricDataWithCallback invokes the cms.PutMetricData API asynchronously
-// api document: https://help.aliyun.com/api/cms/putmetricdata.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) PutMetricDataWithCallback(request *PutMetricDataRequest, callback func(response *PutMetricDataResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *PutMetricDataResponse
-		var err error
-		defer close(result)
-		response, err = client.PutMetricData(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// PutMetricDataRequest is the request struct for api PutMetricData
-type PutMetricDataRequest struct {
-	*requests.RpcRequest
-	CallbyCmsOwner string `position:"Query" name:"callby_cms_owner"`
-	Body           string `position:"Query" name:"Body"`
-}
-
-// PutMetricDataResponse is the response struct for api PutMetricData
-type PutMetricDataResponse struct {
-	*responses.BaseResponse
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Success   bool   `json:"Success" xml:"Success"`
-}
-
-// CreatePutMetricDataRequest creates a request to invoke PutMetricData API
-func CreatePutMetricDataRequest() (request *PutMetricDataRequest) {
-	request = &PutMetricDataRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "PutMetricData", "cms", "openAPI")
-	return
-}
-
-// CreatePutMetricDataResponse creates a response to parse from PutMetricData response
-func CreatePutMetricDataResponse() (response *PutMetricDataResponse) {
-	response = &PutMetricDataResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 2 - 3
services/cms/query_custom_metric_list.go

@@ -76,13 +76,12 @@ func (client *Client) QueryCustomMetricListWithCallback(request *QueryCustomMetr
 // QueryCustomMetricListRequest is the request struct for api QueryCustomMetricList
 type QueryCustomMetricListRequest struct {
 	*requests.RpcRequest
+	Size       string `position:"Query" name:"Size"`
 	GroupId    string `position:"Query" name:"GroupId"`
+	Page       string `position:"Query" name:"Page"`
 	MetricName string `position:"Query" name:"MetricName"`
 	Dimension  string `position:"Query" name:"Dimension"`
 	Md5        string `position:"Query" name:"Md5"`
-	UUID       string `position:"Query" name:"UUID"`
-	Page       string `position:"Query" name:"Page"`
-	Size       string `position:"Query" name:"Size"`
 }
 
 // QueryCustomMetricListResponse is the response struct for api QueryCustomMetricList

+ 5 - 6
services/cms/query_metric_data.go

@@ -76,16 +76,15 @@ func (client *Client) QueryMetricDataWithCallback(request *QueryMetricDataReques
 // QueryMetricDataRequest is the request struct for api QueryMetricData
 type QueryMetricDataRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner  string           `position:"Query" name:"callby_cms_owner"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Project         string           `position:"Query" name:"Project"`
-	Metric          string           `position:"Query" name:"Metric"`
 	Period          string           `position:"Query" name:"Period"`
-	StartTime       string           `position:"Query" name:"StartTime"`
+	Metric          string           `position:"Query" name:"Metric"`
+	Length          string           `position:"Query" name:"Length"`
+	Project         string           `position:"Query" name:"Project"`
 	EndTime         string           `position:"Query" name:"EndTime"`
-	Dimensions      string           `position:"Query" name:"Dimensions"`
 	Express         string           `position:"Query" name:"Express"`
-	Length          string           `position:"Query" name:"Length"`
+	StartTime       string           `position:"Query" name:"StartTime"`
+	Dimensions      string           `position:"Query" name:"Dimensions"`
 }
 
 // QueryMetricDataResponse is the response struct for api QueryMetricData

+ 7 - 8
services/cms/query_metric_last.go

@@ -76,18 +76,17 @@ func (client *Client) QueryMetricLastWithCallback(request *QueryMetricLastReques
 // QueryMetricLastRequest is the request struct for api QueryMetricLast
 type QueryMetricLastRequest struct {
 	*requests.RpcRequest
-	Project         string           `position:"Query" name:"Project"`
+	Cursor          string           `position:"Query" name:"Cursor"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	CallbyCmsOwner  string           `position:"Query" name:"callby_cms_owner"`
-	Metric          string           `position:"Query" name:"Metric"`
 	Period          string           `position:"Query" name:"Period"`
-	StartTime       string           `position:"Query" name:"StartTime"`
-	EndTime         string           `position:"Query" name:"EndTime"`
-	Dimensions      string           `position:"Query" name:"Dimensions"`
-	Cursor          string           `position:"Query" name:"Cursor"`
-	Page            string           `position:"Query" name:"Page"`
+	Metric          string           `position:"Query" name:"Metric"`
 	Length          string           `position:"Query" name:"Length"`
+	Project         string           `position:"Query" name:"Project"`
+	EndTime         string           `position:"Query" name:"EndTime"`
 	Express         string           `position:"Query" name:"Express"`
+	StartTime       string           `position:"Query" name:"StartTime"`
+	Page            string           `position:"Query" name:"Page"`
+	Dimensions      string           `position:"Query" name:"Dimensions"`
 }
 
 // QueryMetricLastResponse is the response struct for api QueryMetricLast

+ 6 - 8
services/cms/query_metric_list.go

@@ -76,18 +76,16 @@ func (client *Client) QueryMetricListWithCallback(request *QueryMetricListReques
 // QueryMetricListRequest is the request struct for api QueryMetricList
 type QueryMetricListRequest struct {
 	*requests.RpcRequest
-	Project         string           `position:"Query" name:"Project"`
+	Cursor          string           `position:"Query" name:"Cursor"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	CallbyCmsOwner  string           `position:"Query" name:"callby_cms_owner"`
-	Metric          string           `position:"Query" name:"Metric"`
 	Period          string           `position:"Query" name:"Period"`
-	StartTime       string           `position:"Query" name:"StartTime"`
-	EndTime         string           `position:"Query" name:"EndTime"`
-	Dimensions      string           `position:"Query" name:"Dimensions"`
-	Page            string           `position:"Query" name:"Page"`
-	Cursor          string           `position:"Query" name:"Cursor"`
+	Metric          string           `position:"Query" name:"Metric"`
 	Length          string           `position:"Query" name:"Length"`
+	Project         string           `position:"Query" name:"Project"`
+	EndTime         string           `position:"Query" name:"EndTime"`
 	Express         string           `position:"Query" name:"Express"`
+	StartTime       string           `position:"Query" name:"StartTime"`
+	Dimensions      string           `position:"Query" name:"Dimensions"`
 }
 
 // QueryMetricListResponse is the response struct for api QueryMetricList

+ 6 - 7
services/cms/query_metric_top.go

@@ -76,18 +76,17 @@ func (client *Client) QueryMetricTopWithCallback(request *QueryMetricTopRequest,
 // QueryMetricTopRequest is the request struct for api QueryMetricTop
 type QueryMetricTopRequest struct {
 	*requests.RpcRequest
-	Period          string           `position:"Query" name:"Period"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	Project         string           `position:"Query" name:"Project"`
+	Period          string           `position:"Query" name:"Period"`
 	Metric          string           `position:"Query" name:"Metric"`
-	CallbyCmsOwner  string           `position:"Query" name:"callby_cms_owner"`
-	StartTime       string           `position:"Query" name:"StartTime"`
+	Length          string           `position:"Query" name:"Length"`
+	Project         string           `position:"Query" name:"Project"`
 	EndTime         string           `position:"Query" name:"EndTime"`
-	Dimensions      string           `position:"Query" name:"Dimensions"`
 	Orderby         string           `position:"Query" name:"Orderby"`
-	OrderDesc       string           `position:"Query" name:"OrderDesc"`
-	Length          string           `position:"Query" name:"Length"`
 	Express         string           `position:"Query" name:"Express"`
+	StartTime       string           `position:"Query" name:"StartTime"`
+	Dimensions      string           `position:"Query" name:"Dimensions"`
+	OrderDesc       string           `position:"Query" name:"OrderDesc"`
 }
 
 // QueryMetricTopResponse is the response struct for api QueryMetricTop

+ 1 - 0
services/cms/start_tasks.go

@@ -86,6 +86,7 @@ type StartTasksResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
 // CreateStartTasksRequest creates a request to invoke StartTasks API

+ 1 - 0
services/cms/stop_tasks.go

@@ -86,6 +86,7 @@ type StopTasksResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      string `json:"Data" xml:"Data"`
 }
 
 // CreateStopTasksRequest creates a request to invoke StopTasks API

+ 4 - 4
services/cms/task_config_create.go

@@ -76,14 +76,14 @@ func (client *Client) TaskConfigCreateWithCallback(request *TaskConfigCreateRequ
 // TaskConfigCreateRequest is the request struct for api TaskConfigCreate
 type TaskConfigCreateRequest struct {
 	*requests.RpcRequest
+	InstanceList *[]string        `position:"Query" name:"InstanceList"  type:"Repeated"`
+	JsonData     string           `position:"Query" name:"JsonData"`
 	TaskType     string           `position:"Query" name:"TaskType"`
-	TaskName     string           `position:"Query" name:"TaskName"`
 	TaskScope    string           `position:"Query" name:"TaskScope"`
+	AlertConfig  string           `position:"Query" name:"AlertConfig"`
 	GroupId      requests.Integer `position:"Query" name:"GroupId"`
+	TaskName     string           `position:"Query" name:"TaskName"`
 	GroupName    string           `position:"Query" name:"GroupName"`
-	JsonData     string           `position:"Query" name:"JsonData"`
-	InstanceList *[]string        `position:"Query" name:"InstanceList"  type:"Repeated"`
-	AlertConfig  string           `position:"Query" name:"AlertConfig"`
 }
 
 // TaskConfigCreateResponse is the response struct for api TaskConfigCreate

+ 2 - 2
services/cms/task_config_list.go

@@ -77,10 +77,10 @@ func (client *Client) TaskConfigListWithCallback(request *TaskConfigListRequest,
 type TaskConfigListRequest struct {
 	*requests.RpcRequest
 	GroupId    requests.Integer `position:"Query" name:"GroupId"`
-	Id         requests.Integer `position:"Query" name:"Id"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	TaskName   string           `position:"Query" name:"TaskName"`
+	Id         requests.Integer `position:"Query" name:"Id"`
 	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 }
 
 // TaskConfigListResponse is the response struct for api TaskConfigList

+ 6 - 6
services/cms/task_config_modify.go

@@ -76,15 +76,15 @@ func (client *Client) TaskConfigModifyWithCallback(request *TaskConfigModifyRequ
 // TaskConfigModifyRequest is the request struct for api TaskConfigModify
 type TaskConfigModifyRequest struct {
 	*requests.RpcRequest
-	GroupId      requests.Integer `position:"Query" name:"GroupId"`
+	InstanceList *[]string        `position:"Query" name:"InstanceList"  type:"Repeated"`
+	JsonData     string           `position:"Query" name:"JsonData"`
 	TaskType     string           `position:"Query" name:"TaskType"`
-	Id           requests.Integer `position:"Query" name:"Id"`
-	TaskName     string           `position:"Query" name:"TaskName"`
 	TaskScope    string           `position:"Query" name:"TaskScope"`
-	GroupName    string           `position:"Query" name:"GroupName"`
-	JsonData     string           `position:"Query" name:"JsonData"`
-	InstanceList *[]string        `position:"Query" name:"InstanceList"  type:"Repeated"`
 	AlertConfig  string           `position:"Query" name:"AlertConfig"`
+	GroupId      requests.Integer `position:"Query" name:"GroupId"`
+	TaskName     string           `position:"Query" name:"TaskName"`
+	Id           requests.Integer `position:"Query" name:"Id"`
+	GroupName    string           `position:"Query" name:"GroupName"`
 }
 
 // TaskConfigModifyResponse is the response struct for api TaskConfigModify

+ 8 - 9
services/cms/update_alarm.go

@@ -76,20 +76,19 @@ func (client *Client) UpdateAlarmWithCallback(request *UpdateAlarmRequest, callb
 // UpdateAlarmRequest is the request struct for api UpdateAlarm
 type UpdateAlarmRequest struct {
 	*requests.RpcRequest
-	CallbyCmsOwner     string           `position:"Query" name:"callby_cms_owner"`
-	Id                 string           `position:"Query" name:"Id"`
-	Name               string           `position:"Query" name:"Name"`
 	Period             requests.Integer `position:"Query" name:"Period"`
-	Statistics         string           `position:"Query" name:"Statistics"`
-	ComparisonOperator string           `position:"Query" name:"ComparisonOperator"`
-	Threshold          string           `position:"Query" name:"Threshold"`
+	Webhook            string           `position:"Query" name:"Webhook"`
 	ContactGroups      string           `position:"Query" name:"ContactGroups"`
-	StartTime          requests.Integer `position:"Query" name:"StartTime"`
 	EndTime            requests.Integer `position:"Query" name:"EndTime"`
-	SilenceTime        requests.Integer `position:"Query" name:"SilenceTime"`
+	Threshold          string           `position:"Query" name:"Threshold"`
+	StartTime          requests.Integer `position:"Query" name:"StartTime"`
+	Name               string           `position:"Query" name:"Name"`
 	EvaluationCount    requests.Integer `position:"Query" name:"EvaluationCount"`
+	SilenceTime        requests.Integer `position:"Query" name:"SilenceTime"`
+	Id                 string           `position:"Query" name:"Id"`
 	NotifyType         requests.Integer `position:"Query" name:"NotifyType"`
-	Webhook            string           `position:"Query" name:"Webhook"`
+	ComparisonOperator string           `position:"Query" name:"ComparisonOperator"`
+	Statistics         string           `position:"Query" name:"Statistics"`
 }
 
 // UpdateAlarmResponse is the response struct for api UpdateAlarm

+ 1 - 1
services/cms/update_my_group_instances.go

@@ -76,8 +76,8 @@ func (client *Client) UpdateMyGroupInstancesWithCallback(request *UpdateMyGroupI
 // UpdateMyGroupInstancesRequest is the request struct for api UpdateMyGroupInstances
 type UpdateMyGroupInstancesRequest struct {
 	*requests.RpcRequest
-	GroupId   requests.Integer `position:"Query" name:"GroupId"`
 	Instances string           `position:"Query" name:"Instances"`
+	GroupId   requests.Integer `position:"Query" name:"GroupId"`
 }
 
 // UpdateMyGroupInstancesResponse is the response struct for api UpdateMyGroupInstances

+ 1 - 0
services/cms/update_my_group_members.go

@@ -76,6 +76,7 @@ func (client *Client) UpdateMyGroupMembersWithCallback(request *UpdateMyGroupMem
 // UpdateMyGroupMembersRequest is the request struct for api UpdateMyGroupMembers
 type UpdateMyGroupMembersRequest struct {
 	*requests.RpcRequest
+	Readers string           `position:"Query" name:"Readers"`
 	GroupId requests.Integer `position:"Query" name:"GroupId"`
 	Masters string           `position:"Query" name:"Masters"`
 }

+ 3 - 3
services/cms/update_my_groups.go

@@ -76,12 +76,12 @@ func (client *Client) UpdateMyGroupsWithCallback(request *UpdateMyGroupsRequest,
 // UpdateMyGroupsRequest is the request struct for api UpdateMyGroups
 type UpdateMyGroupsRequest struct {
 	*requests.RpcRequest
+	ContactGroups string           `position:"Query" name:"ContactGroups"`
 	GroupId       string           `position:"Query" name:"GroupId"`
-	GroupName     string           `position:"Query" name:"GroupName"`
 	ServiceId     requests.Integer `position:"Query" name:"ServiceId"`
-	BindUrls      string           `position:"Query" name:"BindUrls"`
 	Type          string           `position:"Query" name:"Type"`
-	ContactGroups string           `position:"Query" name:"ContactGroups"`
+	GroupName     string           `position:"Query" name:"GroupName"`
+	BindUrls      string           `position:"Query" name:"BindUrls"`
 }
 
 // UpdateMyGroupsResponse is the response struct for api UpdateMyGroups