浏览代码

CMS SDK Auto Released By kun.dang,Version:1.55.7

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 年之前
父节点
当前提交
0297412d82
共有 100 个文件被更改,包括 7549 次插入2745 次删除
  1. 3 0
      ChangeLog.txt
  2. 0 109
      services/cms/access_key_get.go
  3. 0 107
      services/cms/add_my_group_instances.go
  4. 30 30
      services/cms/apply_metric_rule_template.go
  5. 0 113
      services/cms/apply_template.go
  6. 0 122
      services/cms/create_alarm.go
  7. 137 0
      services/cms/create_group_metric_rules.go
  8. 132 0
      services/cms/create_host_availability.go
  9. 131 0
      services/cms/create_metric_rule_template.go
  10. 109 0
      services/cms/create_monitor_agent_process.go
  11. 30 30
      services/cms/create_monitor_group.go
  12. 115 0
      services/cms/create_monitor_group_instances.go
  13. 110 0
      services/cms/create_monitor_group_notify_policy.go
  14. 109 0
      services/cms/create_monitoring_agent_process.go
  15. 0 111
      services/cms/create_monitoring_template.go
  16. 0 108
      services/cms/create_my_group_alert_batch.go
  17. 0 112
      services/cms/create_notify_policy.go
  18. 114 0
      services/cms/create_site_monitor.go
  19. 0 116
      services/cms/create_task.go
  20. 26 26
      services/cms/delete_contact.go
  21. 27 28
      services/cms/delete_contact_group.go
  22. 1 2
      services/cms/delete_custom_metric.go
  23. 107 0
      services/cms/delete_event_rule_targets.go
  24. 25 26
      services/cms/delete_event_rules.go
  25. 0 107
      services/cms/delete_group_dynamic_rule.go
  26. 106 0
      services/cms/delete_host_availability.go
  27. 107 0
      services/cms/delete_metric_rule_template.go
  28. 26 27
      services/cms/delete_metric_rules.go
  29. 107 0
      services/cms/delete_monitor_group.go
  30. 107 0
      services/cms/delete_monitor_group_dynamic_rule.go
  31. 108 0
      services/cms/delete_monitor_group_instances.go
  32. 108 0
      services/cms/delete_monitor_group_notify_policy.go
  33. 108 0
      services/cms/delete_monitoring_agent_process.go
  34. 0 107
      services/cms/delete_monitoring_template.go
  35. 0 109
      services/cms/delete_my_group_instances.go
  36. 0 107
      services/cms/delete_my_groups.go
  37. 0 111
      services/cms/delete_notify_policy.go
  38. 26 26
      services/cms/delete_site_monitors.go
  39. 107 0
      services/cms/describe_active_metric_rule_list.go
  40. 0 120
      services/cms/describe_alarm_history.go
  41. 0 119
      services/cms/describe_alarms.go
  42. 0 117
      services/cms/describe_alarms_for_resources.go
  43. 119 0
      services/cms/describe_alert_history_list.go
  44. 109 0
      services/cms/describe_alerting_metric_rule_resources.go
  45. 0 107
      services/cms/describe_contact.go
  46. 109 0
      services/cms/describe_contact_group_list.go
  47. 109 0
      services/cms/describe_contact_list.go
  48. 107 0
      services/cms/describe_contact_list_by_contact_group.go
  49. 115 0
      services/cms/describe_custom_event_attribute.go
  50. 113 0
      services/cms/describe_custom_event_count.go
  51. 113 0
      services/cms/describe_custom_event_histogram.go
  52. 111 0
      services/cms/describe_custom_metric_list.go
  53. 0 107
      services/cms/describe_event_rule.go
  54. 107 0
      services/cms/describe_event_rule_attribute.go
  55. 111 0
      services/cms/describe_event_rule_list.go
  56. 110 0
      services/cms/describe_event_rule_target_list.go
  57. 112 0
      services/cms/describe_host_availability_list.go
  58. 0 108
      services/cms/describe_isp_area_city.go
  59. 114 0
      services/cms/describe_metric_data.go
  60. 117 0
      services/cms/describe_metric_last.go
  61. 117 0
      services/cms/describe_metric_list.go
  62. 112 0
      services/cms/describe_metric_meta_list.go
  63. 108 0
      services/cms/describe_metric_rule_count.go
  64. 117 0
      services/cms/describe_metric_rule_list.go
  65. 108 0
      services/cms/describe_metric_rule_template_attribute.go
  66. 113 0
      services/cms/describe_metric_rule_template_list.go
  67. 116 0
      services/cms/describe_metric_top.go
  68. 107 0
      services/cms/describe_monitor_group_categories.go
  69. 110 0
      services/cms/describe_monitor_group_dynamic_rules.go
  70. 116 0
      services/cms/describe_monitor_group_instance_attribute.go
  71. 115 0
      services/cms/describe_monitor_group_instances.go
  72. 111 0
      services/cms/describe_monitor_group_notify_policy_list.go
  73. 115 0
      services/cms/describe_monitor_groups.go
  74. 107 0
      services/cms/describe_monitoring_agent_access_key.go
  75. 108 0
      services/cms/describe_monitoring_agent_config.go
  76. 115 0
      services/cms/describe_monitoring_agent_hosts.go
  77. 107 0
      services/cms/describe_monitoring_agent_processes.go
  78. 107 0
      services/cms/describe_monitoring_agent_statuses.go
  79. 107 0
      services/cms/describe_monitoring_config.go
  80. 106 0
      services/cms/describe_products_of_active_metric_rule.go
  81. 112 0
      services/cms/describe_project_meta.go
  82. 109 0
      services/cms/describe_site_monitor_attribute.go
  83. 27 28
      services/cms/describe_site_monitor_data.go
  84. 108 0
      services/cms/describe_site_monitor_isp_city_list.go
  85. 114 0
      services/cms/describe_site_monitor_list.go
  86. 106 0
      services/cms/describe_site_monitor_quota.go
  87. 109 0
      services/cms/describe_site_monitor_statistics.go
  88. 117 0
      services/cms/describe_system_event_attribute.go
  89. 115 0
      services/cms/describe_system_event_count.go
  90. 117 0
      services/cms/describe_system_event_histogram.go
  91. 106 0
      services/cms/describe_system_event_meta_list.go
  92. 0 107
      services/cms/describe_task_detail.go
  93. 0 114
      services/cms/describe_tasks.go
  94. 107 0
      services/cms/describe_unhealthy_host_availability.go
  95. 106 0
      services/cms/disable_active_metric_rule.go
  96. 0 106
      services/cms/disable_alarm.go
  97. 25 26
      services/cms/disable_event_rules.go
  98. 106 0
      services/cms/disable_host_availability.go
  99. 26 27
      services/cms/disable_metric_rules.go
  100. 25 25
      services/cms/disable_site_monitors.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-04-15 Version: 1.55.7
+1, Add SDK for goLang version.
+
 2019-04-15 Version: 1.55.6
 1, Add CreateRestoreTask DBS interface.
 2, Add StartRestoreTask DBS interface.

+ 0 - 109
services/cms/access_key_get.go

@@ -1,109 +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"
-)
-
-// AccessKeyGet invokes the cms.AccessKeyGet API synchronously
-// api document: https://help.aliyun.com/api/cms/accesskeyget.html
-func (client *Client) AccessKeyGet(request *AccessKeyGetRequest) (response *AccessKeyGetResponse, err error) {
-	response = CreateAccessKeyGetResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AccessKeyGetWithChan invokes the cms.AccessKeyGet API asynchronously
-// api document: https://help.aliyun.com/api/cms/accesskeyget.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AccessKeyGetWithChan(request *AccessKeyGetRequest) (<-chan *AccessKeyGetResponse, <-chan error) {
-	responseChan := make(chan *AccessKeyGetResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AccessKeyGet(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AccessKeyGetWithCallback invokes the cms.AccessKeyGet API asynchronously
-// api document: https://help.aliyun.com/api/cms/accesskeyget.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AccessKeyGetWithCallback(request *AccessKeyGetRequest, callback func(response *AccessKeyGetResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AccessKeyGetResponse
-		var err error
-		defer close(result)
-		response, err = client.AccessKeyGet(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AccessKeyGetRequest is the request struct for api AccessKeyGet
-type AccessKeyGetRequest struct {
-	*requests.RpcRequest
-	UserId requests.Integer `position:"Query" name:"UserId"`
-}
-
-// AccessKeyGetResponse is the response struct for api AccessKeyGet
-type AccessKeyGetResponse struct {
-	*responses.BaseResponse
-	ErrorCode    int    `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-	Success      bool   `json:"Success" xml:"Success"`
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	UserId       int    `json:"UserId" xml:"UserId"`
-	AccessKey    string `json:"AccessKey" xml:"AccessKey"`
-	SecretKey    string `json:"SecretKey" xml:"SecretKey"`
-}
-
-// CreateAccessKeyGetRequest creates a request to invoke AccessKeyGet API
-func CreateAccessKeyGetRequest() (request *AccessKeyGetRequest) {
-	request = &AccessKeyGetRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "AccessKeyGet", "cms", "openAPI")
-	return
-}
-
-// CreateAccessKeyGetResponse creates a response to parse from AccessKeyGet response
-func CreateAccessKeyGetResponse() (response *AccessKeyGetResponse) {
-	response = &AccessKeyGetResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cms/add_my_group_instances.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"
-)
-
-// AddMyGroupInstances invokes the cms.AddMyGroupInstances API synchronously
-// api document: https://help.aliyun.com/api/cms/addmygroupinstances.html
-func (client *Client) AddMyGroupInstances(request *AddMyGroupInstancesRequest) (response *AddMyGroupInstancesResponse, err error) {
-	response = CreateAddMyGroupInstancesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// AddMyGroupInstancesWithChan invokes the cms.AddMyGroupInstances API asynchronously
-// api document: https://help.aliyun.com/api/cms/addmygroupinstances.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddMyGroupInstancesWithChan(request *AddMyGroupInstancesRequest) (<-chan *AddMyGroupInstancesResponse, <-chan error) {
-	responseChan := make(chan *AddMyGroupInstancesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.AddMyGroupInstances(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// AddMyGroupInstancesWithCallback invokes the cms.AddMyGroupInstances API asynchronously
-// api document: https://help.aliyun.com/api/cms/addmygroupinstances.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) AddMyGroupInstancesWithCallback(request *AddMyGroupInstancesRequest, callback func(response *AddMyGroupInstancesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *AddMyGroupInstancesResponse
-		var err error
-		defer close(result)
-		response, err = client.AddMyGroupInstances(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// AddMyGroupInstancesRequest is the request struct for api AddMyGroupInstances
-type AddMyGroupInstancesRequest struct {
-	*requests.RpcRequest
-	Instances string           `position:"Query" name:"Instances"`
-	GroupId   requests.Integer `position:"Query" name:"GroupId"`
-}
-
-// AddMyGroupInstancesResponse is the response struct for api AddMyGroupInstances
-type AddMyGroupInstancesResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Success      bool   `json:"Success" xml:"Success"`
-	ErrorCode    int    `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-}
-
-// CreateAddMyGroupInstancesRequest creates a request to invoke AddMyGroupInstances API
-func CreateAddMyGroupInstancesRequest() (request *AddMyGroupInstancesRequest) {
-	request = &AddMyGroupInstancesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "AddMyGroupInstances", "cms", "openAPI")
-	return
-}
-
-// CreateAddMyGroupInstancesResponse creates a response to parse from AddMyGroupInstances response
-func CreateAddMyGroupInstancesResponse() (response *AddMyGroupInstancesResponse) {
-	response = &AddMyGroupInstancesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 30 - 30
services/cms/apply_monitoring_template.go → services/cms/apply_metric_rule_template.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// ApplyMonitoringTemplate invokes the cms.ApplyMonitoringTemplate API synchronously
-// api document: https://help.aliyun.com/api/cms/applymonitoringtemplate.html
-func (client *Client) ApplyMonitoringTemplate(request *ApplyMonitoringTemplateRequest) (response *ApplyMonitoringTemplateResponse, err error) {
-	response = CreateApplyMonitoringTemplateResponse()
+// ApplyMetricRuleTemplate invokes the cms.ApplyMetricRuleTemplate API synchronously
+// api document: https://help.aliyun.com/api/cms/applymetricruletemplate.html
+func (client *Client) ApplyMetricRuleTemplate(request *ApplyMetricRuleTemplateRequest) (response *ApplyMetricRuleTemplateResponse, err error) {
+	response = CreateApplyMetricRuleTemplateResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// ApplyMonitoringTemplateWithChan invokes the cms.ApplyMonitoringTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/applymonitoringtemplate.html
+// ApplyMetricRuleTemplateWithChan invokes the cms.ApplyMetricRuleTemplate API asynchronously
+// api document: https://help.aliyun.com/api/cms/applymetricruletemplate.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ApplyMonitoringTemplateWithChan(request *ApplyMonitoringTemplateRequest) (<-chan *ApplyMonitoringTemplateResponse, <-chan error) {
-	responseChan := make(chan *ApplyMonitoringTemplateResponse, 1)
+func (client *Client) ApplyMetricRuleTemplateWithChan(request *ApplyMetricRuleTemplateRequest) (<-chan *ApplyMetricRuleTemplateResponse, <-chan error) {
+	responseChan := make(chan *ApplyMetricRuleTemplateResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.ApplyMonitoringTemplate(request)
+		response, err := client.ApplyMetricRuleTemplate(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) ApplyMonitoringTemplateWithChan(request *ApplyMonitoringTe
 	return responseChan, errChan
 }
 
-// ApplyMonitoringTemplateWithCallback invokes the cms.ApplyMonitoringTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/applymonitoringtemplate.html
+// ApplyMetricRuleTemplateWithCallback invokes the cms.ApplyMetricRuleTemplate API asynchronously
+// api document: https://help.aliyun.com/api/cms/applymetricruletemplate.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ApplyMonitoringTemplateWithCallback(request *ApplyMonitoringTemplateRequest, callback func(response *ApplyMonitoringTemplateResponse, err error)) <-chan int {
+func (client *Client) ApplyMetricRuleTemplateWithCallback(request *ApplyMetricRuleTemplateRequest, callback func(response *ApplyMetricRuleTemplateResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *ApplyMonitoringTemplateResponse
+		var response *ApplyMetricRuleTemplateResponse
 		var err error
 		defer close(result)
-		response, err = client.ApplyMonitoringTemplate(request)
+		response, err = client.ApplyMetricRuleTemplate(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,8 +73,8 @@ func (client *Client) ApplyMonitoringTemplateWithCallback(request *ApplyMonitori
 	return result
 }
 
-// ApplyMonitoringTemplateRequest is the request struct for api ApplyMonitoringTemplate
-type ApplyMonitoringTemplateRequest struct {
+// ApplyMetricRuleTemplateRequest is the request struct for api ApplyMetricRuleTemplate
+type ApplyMetricRuleTemplateRequest struct {
 	*requests.RpcRequest
 	EnableStartTime requests.Integer `position:"Query" name:"EnableStartTime"`
 	ApplyMode       string           `position:"Query" name:"ApplyMode"`
@@ -86,28 +86,28 @@ type ApplyMonitoringTemplateRequest struct {
 	SilenceTime     requests.Integer `position:"Query" name:"SilenceTime"`
 }
 
-// ApplyMonitoringTemplateResponse is the response struct for api ApplyMonitoringTemplate
-type ApplyMonitoringTemplateResponse struct {
+// ApplyMetricRuleTemplateResponse is the response struct for api ApplyMetricRuleTemplate
+type ApplyMetricRuleTemplateResponse struct {
 	*responses.BaseResponse
-	RequestId    string   `json:"RequestId" xml:"RequestId"`
-	Success      bool     `json:"Success" xml:"Success"`
-	ErrorCode    int      `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string   `json:"ErrorMessage" xml:"ErrorMessage"`
-	Resource     Resource `json:"Resource" xml:"Resource"`
+	RequestId string                            `json:"RequestId" xml:"RequestId"`
+	Success   bool                              `json:"Success" xml:"Success"`
+	Code      int                               `json:"Code" xml:"Code"`
+	Message   string                            `json:"Message" xml:"Message"`
+	Resource  ResourceInApplyMetricRuleTemplate `json:"Resource" xml:"Resource"`
 }
 
-// CreateApplyMonitoringTemplateRequest creates a request to invoke ApplyMonitoringTemplate API
-func CreateApplyMonitoringTemplateRequest() (request *ApplyMonitoringTemplateRequest) {
-	request = &ApplyMonitoringTemplateRequest{
+// CreateApplyMetricRuleTemplateRequest creates a request to invoke ApplyMetricRuleTemplate API
+func CreateApplyMetricRuleTemplateRequest() (request *ApplyMetricRuleTemplateRequest) {
+	request = &ApplyMetricRuleTemplateRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "ApplyMonitoringTemplate", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "ApplyMetricRuleTemplate", "cms", "openAPI")
 	return
 }
 
-// CreateApplyMonitoringTemplateResponse creates a response to parse from ApplyMonitoringTemplate response
-func CreateApplyMonitoringTemplateResponse() (response *ApplyMonitoringTemplateResponse) {
-	response = &ApplyMonitoringTemplateResponse{
+// CreateApplyMetricRuleTemplateResponse creates a response to parse from ApplyMetricRuleTemplate response
+func CreateApplyMetricRuleTemplateResponse() (response *ApplyMetricRuleTemplateResponse) {
+	response = &ApplyMetricRuleTemplateResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 0 - 113
services/cms/apply_template.go

@@ -1,113 +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"
-)
-
-// ApplyTemplate invokes the cms.ApplyTemplate API synchronously
-// api document: https://help.aliyun.com/api/cms/applytemplate.html
-func (client *Client) ApplyTemplate(request *ApplyTemplateRequest) (response *ApplyTemplateResponse, err error) {
-	response = CreateApplyTemplateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ApplyTemplateWithChan invokes the cms.ApplyTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/applytemplate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ApplyTemplateWithChan(request *ApplyTemplateRequest) (<-chan *ApplyTemplateResponse, <-chan error) {
-	responseChan := make(chan *ApplyTemplateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ApplyTemplate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ApplyTemplateWithCallback invokes the cms.ApplyTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/applytemplate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ApplyTemplateWithCallback(request *ApplyTemplateRequest, callback func(response *ApplyTemplateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ApplyTemplateResponse
-		var err error
-		defer close(result)
-		response, err = client.ApplyTemplate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ApplyTemplateRequest is the request struct for api ApplyTemplate
-type ApplyTemplateRequest struct {
-	*requests.RpcRequest
-	EnableStartTime requests.Integer `position:"Query" name:"EnableStartTime"`
-	ApplyMode       string           `position:"Query" name:"ApplyMode"`
-	TemplateIds     string           `position:"Query" name:"TemplateIds"`
-	EnableEndTime   requests.Integer `position:"Query" name:"EnableEndTime"`
-	GroupId         requests.Integer `position:"Query" name:"GroupId"`
-	NotifyLevel     requests.Integer `position:"Query" name:"NotifyLevel"`
-	SilenceTime     requests.Integer `position:"Query" name:"SilenceTime"`
-}
-
-// ApplyTemplateResponse is the response struct for api ApplyTemplate
-type ApplyTemplateResponse struct {
-	*responses.BaseResponse
-	RequestId    string   `json:"RequestId" xml:"RequestId"`
-	Success      bool     `json:"Success" xml:"Success"`
-	ErrorCode    int      `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string   `json:"ErrorMessage" xml:"ErrorMessage"`
-	Resource     Resource `json:"Resource" xml:"Resource"`
-}
-
-// CreateApplyTemplateRequest creates a request to invoke ApplyTemplate API
-func CreateApplyTemplateRequest() (request *ApplyTemplateRequest) {
-	request = &ApplyTemplateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "ApplyTemplate", "cms", "openAPI")
-	return
-}
-
-// CreateApplyTemplateResponse creates a response to parse from ApplyTemplate response
-func CreateApplyTemplateResponse() (response *ApplyTemplateResponse) {
-	response = &ApplyTemplateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 122
services/cms/create_alarm.go

@@ -1,122 +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"
-)
-
-// CreateAlarm invokes the cms.CreateAlarm API synchronously
-// api document: https://help.aliyun.com/api/cms/createalarm.html
-func (client *Client) CreateAlarm(request *CreateAlarmRequest) (response *CreateAlarmResponse, err error) {
-	response = CreateCreateAlarmResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateAlarmWithChan invokes the cms.CreateAlarm API asynchronously
-// api document: https://help.aliyun.com/api/cms/createalarm.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlarmWithChan(request *CreateAlarmRequest) (<-chan *CreateAlarmResponse, <-chan error) {
-	responseChan := make(chan *CreateAlarmResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateAlarm(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateAlarmWithCallback invokes the cms.CreateAlarm API asynchronously
-// api document: https://help.aliyun.com/api/cms/createalarm.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAlarmWithCallback(request *CreateAlarmRequest, callback func(response *CreateAlarmResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateAlarmResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateAlarm(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateAlarmRequest is the request struct for api CreateAlarm
-type CreateAlarmRequest struct {
-	*requests.RpcRequest
-	Period             requests.Integer `position:"Query" name:"Period"`
-	Webhook            string           `position:"Query" name:"Webhook"`
-	DryRun             requests.Boolean `position:"Query" name:"DryRun"`
-	ContactGroups      string           `position:"Query" name:"ContactGroups"`
-	EndTime            requests.Integer `position:"Query" name:"EndTime"`
-	Threshold          string           `position:"Query" name:"Threshold"`
-	StartTime          requests.Integer `position:"Query" name:"StartTime"`
-	Name               string           `position:"Query" name:"Name"`
-	Namespace          string           `position:"Query" name:"Namespace"`
-	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"`
-	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
-type CreateAlarmResponse struct {
-	*responses.BaseResponse
-	Success   bool   `json:"Success" xml:"Success"`
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateCreateAlarmRequest creates a request to invoke CreateAlarm API
-func CreateCreateAlarmRequest() (request *CreateAlarmRequest) {
-	request = &CreateAlarmRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "CreateAlarm", "cms", "openAPI")
-	return
-}
-
-// CreateCreateAlarmResponse creates a response to parse from CreateAlarm response
-func CreateCreateAlarmResponse() (response *CreateAlarmResponse) {
-	response = &CreateAlarmResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 137 - 0
services/cms/create_group_metric_rules.go

@@ -0,0 +1,137 @@
+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"
+)
+
+// CreateGroupMetricRules invokes the cms.CreateGroupMetricRules API synchronously
+// api document: https://help.aliyun.com/api/cms/creategroupmetricrules.html
+func (client *Client) CreateGroupMetricRules(request *CreateGroupMetricRulesRequest) (response *CreateGroupMetricRulesResponse, err error) {
+	response = CreateCreateGroupMetricRulesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateGroupMetricRulesWithChan invokes the cms.CreateGroupMetricRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/creategroupmetricrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGroupMetricRulesWithChan(request *CreateGroupMetricRulesRequest) (<-chan *CreateGroupMetricRulesResponse, <-chan error) {
+	responseChan := make(chan *CreateGroupMetricRulesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateGroupMetricRules(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateGroupMetricRulesWithCallback invokes the cms.CreateGroupMetricRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/creategroupmetricrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateGroupMetricRulesWithCallback(request *CreateGroupMetricRulesRequest, callback func(response *CreateGroupMetricRulesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateGroupMetricRulesResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateGroupMetricRules(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateGroupMetricRulesRequest is the request struct for api CreateGroupMetricRules
+type CreateGroupMetricRulesRequest struct {
+	*requests.RpcRequest
+	GroupId          requests.Integer                          `position:"Query" name:"GroupId"`
+	GroupMetricRules *[]CreateGroupMetricRulesGroupMetricRules `position:"Query" name:"GroupMetricRules"  type:"Repeated"`
+}
+
+// CreateGroupMetricRulesGroupMetricRules is a repeated param struct in CreateGroupMetricRulesRequest
+type CreateGroupMetricRulesGroupMetricRules struct {
+	Webhook                               string `name:"Webhook"`
+	EscalationsWarnComparisonOperator     string `name:"Escalations.Warn.ComparisonOperator"`
+	RuleName                              string `name:"RuleName"`
+	EscalationsInfoStatistics             string `name:"Escalations.Info.Statistics"`
+	EffectiveInterval                     string `name:"EffectiveInterval"`
+	EscalationsInfoComparisonOperator     string `name:"Escalations.Info.ComparisonOperator"`
+	NoEffectiveInterval                   string `name:"NoEffectiveInterval"`
+	EmailSubject                          string `name:"EmailSubject"`
+	SilenceTime                           string `name:"SilenceTime"`
+	MetricName                            string `name:"MetricName"`
+	EscalationsWarnTimes                  string `name:"Escalations.Warn.Times"`
+	Period                                string `name:"Period"`
+	EscalationsWarnThreshold              string `name:"Escalations.Warn.Threshold"`
+	EscalationsCriticalStatistics         string `name:"Escalations.Critical.Statistics"`
+	EscalationsInfoTimes                  string `name:"Escalations.Info.Times"`
+	EscalationsCriticalTimes              string `name:"Escalations.Critical.Times"`
+	EscalationsWarnStatistics             string `name:"Escalations.Warn.Statistics"`
+	EscalationsInfoThreshold              string `name:"Escalations.Info.Threshold"`
+	Namespace                             string `name:"Namespace"`
+	Interval                              string `name:"Interval"`
+	Category                              string `name:"Category"`
+	RuleId                                string `name:"RuleId"`
+	EscalationsCriticalComparisonOperator string `name:"Escalations.Critical.ComparisonOperator"`
+	EscalationsCriticalThreshold          string `name:"Escalations.Critical.Threshold"`
+	Dimensions                            string `name:"Dimensions"`
+}
+
+// CreateGroupMetricRulesResponse is the response struct for api CreateGroupMetricRules
+type CreateGroupMetricRulesResponse struct {
+	*responses.BaseResponse
+	RequestId string                            `json:"RequestId" xml:"RequestId"`
+	Success   bool                              `json:"Success" xml:"Success"`
+	Code      int                               `json:"Code" xml:"Code"`
+	Message   string                            `json:"Message" xml:"Message"`
+	Resources ResourcesInCreateGroupMetricRules `json:"Resources" xml:"Resources"`
+}
+
+// CreateCreateGroupMetricRulesRequest creates a request to invoke CreateGroupMetricRules API
+func CreateCreateGroupMetricRulesRequest() (request *CreateGroupMetricRulesRequest) {
+	request = &CreateGroupMetricRulesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateGroupMetricRules", "cms", "openAPI")
+	return
+}
+
+// CreateCreateGroupMetricRulesResponse creates a response to parse from CreateGroupMetricRules response
+func CreateCreateGroupMetricRulesResponse() (response *CreateGroupMetricRulesResponse) {
+	response = &CreateGroupMetricRulesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 132 - 0
services/cms/create_host_availability.go

@@ -0,0 +1,132 @@
+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"
+)
+
+// CreateHostAvailability invokes the cms.CreateHostAvailability API synchronously
+// api document: https://help.aliyun.com/api/cms/createhostavailability.html
+func (client *Client) CreateHostAvailability(request *CreateHostAvailabilityRequest) (response *CreateHostAvailabilityResponse, err error) {
+	response = CreateCreateHostAvailabilityResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateHostAvailabilityWithChan invokes the cms.CreateHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/createhostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateHostAvailabilityWithChan(request *CreateHostAvailabilityRequest) (<-chan *CreateHostAvailabilityResponse, <-chan error) {
+	responseChan := make(chan *CreateHostAvailabilityResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateHostAvailability(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateHostAvailabilityWithCallback invokes the cms.CreateHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/createhostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateHostAvailabilityWithCallback(request *CreateHostAvailabilityRequest, callback func(response *CreateHostAvailabilityResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateHostAvailabilityResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateHostAvailability(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateHostAvailabilityRequest is the request struct for api CreateHostAvailability
+type CreateHostAvailabilityRequest struct {
+	*requests.RpcRequest
+	InstanceList                       *[]string                                          `position:"Query" name:"InstanceList"  type:"Repeated"`
+	TaskType                           string                                             `position:"Query" name:"TaskType"`
+	TaskOptionHttpMethod               string                                             `position:"Query" name:"TaskOption.HttpMethod"`
+	AlertConfigEscalationList          *[]CreateHostAvailabilityAlertConfigEscalationList `position:"Query" name:"AlertConfigEscalationList"  type:"Repeated"`
+	GroupId                            requests.Integer                                   `position:"Query" name:"GroupId"`
+	TaskName                           string                                             `position:"Query" name:"TaskName"`
+	AlertConfigSilenceTime             requests.Integer                                   `position:"Query" name:"AlertConfig.SilenceTime"`
+	TaskOptionHttpResponseCharset      string                                             `position:"Query" name:"TaskOption.HttpResponseCharset"`
+	AlertConfigEndTime                 requests.Integer                                   `position:"Query" name:"AlertConfig.EndTime"`
+	TaskOptionHttpURI                  string                                             `position:"Query" name:"TaskOption.HttpURI"`
+	TaskOptionHttpNegative             requests.Boolean                                   `position:"Query" name:"TaskOption.HttpNegative"`
+	TaskScope                          string                                             `position:"Query" name:"TaskScope"`
+	AlertConfigNotifyType              requests.Integer                                   `position:"Query" name:"AlertConfig.NotifyType"`
+	AlertConfigStartTime               requests.Integer                                   `position:"Query" name:"AlertConfig.StartTime"`
+	TaskOptionTelnetOrPingHost         string                                             `position:"Query" name:"TaskOption.TelnetOrPingHost"`
+	TaskOptionHttpResponseMatchContent string                                             `position:"Query" name:"TaskOption.HttpResponseMatchContent"`
+	AlertConfigWebHook                 string                                             `position:"Query" name:"AlertConfig.WebHook"`
+}
+
+// CreateHostAvailabilityAlertConfigEscalationList is a repeated param struct in CreateHostAvailabilityRequest
+type CreateHostAvailabilityAlertConfigEscalationList struct {
+	Times      string `name:"Times"`
+	MetricName string `name:"MetricName"`
+	Value      string `name:"Value"`
+	Operator   string `name:"Operator"`
+	Aggregate  string `name:"Aggregate"`
+}
+
+// CreateHostAvailabilityResponse is the response struct for api CreateHostAvailability
+type CreateHostAvailabilityResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskId    int    `json:"TaskId" xml:"TaskId"`
+}
+
+// CreateCreateHostAvailabilityRequest creates a request to invoke CreateHostAvailability API
+func CreateCreateHostAvailabilityRequest() (request *CreateHostAvailabilityRequest) {
+	request = &CreateHostAvailabilityRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateHostAvailability", "cms", "openAPI")
+	return
+}
+
+// CreateCreateHostAvailabilityResponse creates a response to parse from CreateHostAvailability response
+func CreateCreateHostAvailabilityResponse() (response *CreateHostAvailabilityResponse) {
+	response = &CreateHostAvailabilityResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 131 - 0
services/cms/create_metric_rule_template.go

@@ -0,0 +1,131 @@
+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"
+)
+
+// CreateMetricRuleTemplate invokes the cms.CreateMetricRuleTemplate API synchronously
+// api document: https://help.aliyun.com/api/cms/createmetricruletemplate.html
+func (client *Client) CreateMetricRuleTemplate(request *CreateMetricRuleTemplateRequest) (response *CreateMetricRuleTemplateResponse, err error) {
+	response = CreateCreateMetricRuleTemplateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMetricRuleTemplateWithChan invokes the cms.CreateMetricRuleTemplate API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmetricruletemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMetricRuleTemplateWithChan(request *CreateMetricRuleTemplateRequest) (<-chan *CreateMetricRuleTemplateResponse, <-chan error) {
+	responseChan := make(chan *CreateMetricRuleTemplateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMetricRuleTemplate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMetricRuleTemplateWithCallback invokes the cms.CreateMetricRuleTemplate API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmetricruletemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMetricRuleTemplateWithCallback(request *CreateMetricRuleTemplateRequest, callback func(response *CreateMetricRuleTemplateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMetricRuleTemplateResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMetricRuleTemplate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMetricRuleTemplateRequest is the request struct for api CreateMetricRuleTemplate
+type CreateMetricRuleTemplateRequest struct {
+	*requests.RpcRequest
+	Name           string                                    `position:"Query" name:"Name"`
+	Description    string                                    `position:"Query" name:"Description"`
+	AlertTemplates *[]CreateMetricRuleTemplateAlertTemplates `position:"Query" name:"AlertTemplates"  type:"Repeated"`
+}
+
+// CreateMetricRuleTemplateAlertTemplates is a repeated param struct in CreateMetricRuleTemplateRequest
+type CreateMetricRuleTemplateAlertTemplates struct {
+	Period                                string `name:"Period"`
+	EscalationsWarnThreshold              string `name:"Escalations.Warn.Threshold"`
+	EscalationsWarnComparisonOperator     string `name:"Escalations.Warn.ComparisonOperator"`
+	EscalationsCriticalStatistics         string `name:"Escalations.Critical.Statistics"`
+	EscalationsInfoTimes                  string `name:"Escalations.Info.Times"`
+	RuleName                              string `name:"RuleName"`
+	EscalationsInfoStatistics             string `name:"Escalations.Info.Statistics"`
+	EscalationsCriticalTimes              string `name:"Escalations.Critical.Times"`
+	EscalationsInfoComparisonOperator     string `name:"Escalations.Info.ComparisonOperator"`
+	EscalationsWarnStatistics             string `name:"Escalations.Warn.Statistics"`
+	EscalationsInfoThreshold              string `name:"Escalations.Info.Threshold"`
+	Namespace                             string `name:"Namespace"`
+	Selector                              string `name:"Selector"`
+	MetricName                            string `name:"MetricName"`
+	Category                              string `name:"Category"`
+	EscalationsCriticalComparisonOperator string `name:"Escalations.Critical.ComparisonOperator"`
+	EscalationsWarnTimes                  string `name:"Escalations.Warn.Times"`
+	EscalationsCriticalThreshold          string `name:"Escalations.Critical.Threshold"`
+}
+
+// CreateMetricRuleTemplateResponse is the response struct for api CreateMetricRuleTemplate
+type CreateMetricRuleTemplateResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Id        int    `json:"Id" xml:"Id"`
+}
+
+// CreateCreateMetricRuleTemplateRequest creates a request to invoke CreateMetricRuleTemplate API
+func CreateCreateMetricRuleTemplateRequest() (request *CreateMetricRuleTemplateRequest) {
+	request = &CreateMetricRuleTemplateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMetricRuleTemplate", "cms", "openAPI")
+	return
+}
+
+// CreateCreateMetricRuleTemplateResponse creates a response to parse from CreateMetricRuleTemplate response
+func CreateCreateMetricRuleTemplateResponse() (response *CreateMetricRuleTemplateResponse) {
+	response = &CreateMetricRuleTemplateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/cms/create_monitor_agent_process.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// CreateMonitorAgentProcess invokes the cms.CreateMonitorAgentProcess API synchronously
+// api document: https://help.aliyun.com/api/cms/createmonitoragentprocess.html
+func (client *Client) CreateMonitorAgentProcess(request *CreateMonitorAgentProcessRequest) (response *CreateMonitorAgentProcessResponse, err error) {
+	response = CreateCreateMonitorAgentProcessResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMonitorAgentProcessWithChan invokes the cms.CreateMonitorAgentProcess API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitoragentprocess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitorAgentProcessWithChan(request *CreateMonitorAgentProcessRequest) (<-chan *CreateMonitorAgentProcessResponse, <-chan error) {
+	responseChan := make(chan *CreateMonitorAgentProcessResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMonitorAgentProcess(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMonitorAgentProcessWithCallback invokes the cms.CreateMonitorAgentProcess API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitoragentprocess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitorAgentProcessWithCallback(request *CreateMonitorAgentProcessRequest, callback func(response *CreateMonitorAgentProcessResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMonitorAgentProcessResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMonitorAgentProcess(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMonitorAgentProcessRequest is the request struct for api CreateMonitorAgentProcess
+type CreateMonitorAgentProcessRequest struct {
+	*requests.RpcRequest
+	InstanceId  string `position:"Query" name:"InstanceId"`
+	ProcessName string `position:"Query" name:"ProcessName"`
+	ProcessUser string `position:"Query" name:"ProcessUser"`
+}
+
+// CreateMonitorAgentProcessResponse is the response struct for api CreateMonitorAgentProcess
+type CreateMonitorAgentProcessResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Id        int    `json:"Id" xml:"Id"`
+}
+
+// CreateCreateMonitorAgentProcessRequest creates a request to invoke CreateMonitorAgentProcess API
+func CreateCreateMonitorAgentProcessRequest() (request *CreateMonitorAgentProcessRequest) {
+	request = &CreateMonitorAgentProcessRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMonitorAgentProcess", "cms", "openAPI")
+	return
+}
+
+// CreateCreateMonitorAgentProcessResponse creates a response to parse from CreateMonitorAgentProcess response
+func CreateCreateMonitorAgentProcessResponse() (response *CreateMonitorAgentProcessResponse) {
+	response = &CreateMonitorAgentProcessResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 30 - 30
services/cms/create_my_groups.go → services/cms/create_monitor_group.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// CreateMyGroups invokes the cms.CreateMyGroups API synchronously
-// api document: https://help.aliyun.com/api/cms/createmygroups.html
-func (client *Client) CreateMyGroups(request *CreateMyGroupsRequest) (response *CreateMyGroupsResponse, err error) {
-	response = CreateCreateMyGroupsResponse()
+// CreateMonitorGroup invokes the cms.CreateMonitorGroup API synchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroup.html
+func (client *Client) CreateMonitorGroup(request *CreateMonitorGroupRequest) (response *CreateMonitorGroupResponse, err error) {
+	response = CreateCreateMonitorGroupResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// CreateMyGroupsWithChan invokes the cms.CreateMyGroups API asynchronously
-// api document: https://help.aliyun.com/api/cms/createmygroups.html
+// CreateMonitorGroupWithChan invokes the cms.CreateMonitorGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroup.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateMyGroupsWithChan(request *CreateMyGroupsRequest) (<-chan *CreateMyGroupsResponse, <-chan error) {
-	responseChan := make(chan *CreateMyGroupsResponse, 1)
+func (client *Client) CreateMonitorGroupWithChan(request *CreateMonitorGroupRequest) (<-chan *CreateMonitorGroupResponse, <-chan error) {
+	responseChan := make(chan *CreateMonitorGroupResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.CreateMyGroups(request)
+		response, err := client.CreateMonitorGroup(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) CreateMyGroupsWithChan(request *CreateMyGroupsRequest) (<-
 	return responseChan, errChan
 }
 
-// CreateMyGroupsWithCallback invokes the cms.CreateMyGroups API asynchronously
-// api document: https://help.aliyun.com/api/cms/createmygroups.html
+// CreateMonitorGroupWithCallback invokes the cms.CreateMonitorGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroup.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateMyGroupsWithCallback(request *CreateMyGroupsRequest, callback func(response *CreateMyGroupsResponse, err error)) <-chan int {
+func (client *Client) CreateMonitorGroupWithCallback(request *CreateMonitorGroupRequest, callback func(response *CreateMonitorGroupResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *CreateMyGroupsResponse
+		var response *CreateMonitorGroupResponse
 		var err error
 		defer close(result)
-		response, err = client.CreateMyGroups(request)
+		response, err = client.CreateMonitorGroup(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,8 +73,8 @@ func (client *Client) CreateMyGroupsWithCallback(request *CreateMyGroupsRequest,
 	return result
 }
 
-// CreateMyGroupsRequest is the request struct for api CreateMyGroups
-type CreateMyGroupsRequest struct {
+// CreateMonitorGroupRequest is the request struct for api CreateMonitorGroup
+type CreateMonitorGroupRequest struct {
 	*requests.RpcRequest
 	ContactGroups string           `position:"Query" name:"ContactGroups"`
 	Options       string           `position:"Query" name:"Options"`
@@ -84,28 +84,28 @@ type CreateMyGroupsRequest struct {
 	BindUrl       string           `position:"Query" name:"BindUrl"`
 }
 
-// CreateMyGroupsResponse is the response struct for api CreateMyGroups
-type CreateMyGroupsResponse struct {
+// CreateMonitorGroupResponse is the response struct for api CreateMonitorGroup
+type CreateMonitorGroupResponse struct {
 	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Success      bool   `json:"Success" xml:"Success"`
-	ErrorCode    int    `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-	GroupId      int    `json:"GroupId" xml:"GroupId"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	GroupId   int    `json:"GroupId" xml:"GroupId"`
 }
 
-// CreateCreateMyGroupsRequest creates a request to invoke CreateMyGroups API
-func CreateCreateMyGroupsRequest() (request *CreateMyGroupsRequest) {
-	request = &CreateMyGroupsRequest{
+// CreateCreateMonitorGroupRequest creates a request to invoke CreateMonitorGroup API
+func CreateCreateMonitorGroupRequest() (request *CreateMonitorGroupRequest) {
+	request = &CreateMonitorGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "CreateMyGroups", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMonitorGroup", "cms", "openAPI")
 	return
 }
 
-// CreateCreateMyGroupsResponse creates a response to parse from CreateMyGroups response
-func CreateCreateMyGroupsResponse() (response *CreateMyGroupsResponse) {
-	response = &CreateMyGroupsResponse{
+// CreateCreateMonitorGroupResponse creates a response to parse from CreateMonitorGroup response
+func CreateCreateMonitorGroupResponse() (response *CreateMonitorGroupResponse) {
+	response = &CreateMonitorGroupResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 115 - 0
services/cms/create_monitor_group_instances.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// CreateMonitorGroupInstances invokes the cms.CreateMonitorGroupInstances API synchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroupinstances.html
+func (client *Client) CreateMonitorGroupInstances(request *CreateMonitorGroupInstancesRequest) (response *CreateMonitorGroupInstancesResponse, err error) {
+	response = CreateCreateMonitorGroupInstancesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMonitorGroupInstancesWithChan invokes the cms.CreateMonitorGroupInstances API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroupinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitorGroupInstancesWithChan(request *CreateMonitorGroupInstancesRequest) (<-chan *CreateMonitorGroupInstancesResponse, <-chan error) {
+	responseChan := make(chan *CreateMonitorGroupInstancesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMonitorGroupInstances(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMonitorGroupInstancesWithCallback invokes the cms.CreateMonitorGroupInstances API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroupinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitorGroupInstancesWithCallback(request *CreateMonitorGroupInstancesRequest, callback func(response *CreateMonitorGroupInstancesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMonitorGroupInstancesResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMonitorGroupInstances(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMonitorGroupInstancesRequest is the request struct for api CreateMonitorGroupInstances
+type CreateMonitorGroupInstancesRequest struct {
+	*requests.RpcRequest
+	Instances *[]CreateMonitorGroupInstancesInstances `position:"Query" name:"Instances"  type:"Repeated"`
+	GroupId   requests.Integer                        `position:"Query" name:"GroupId"`
+}
+
+// CreateMonitorGroupInstancesInstances is a repeated param struct in CreateMonitorGroupInstancesRequest
+type CreateMonitorGroupInstancesInstances struct {
+	InstanceId   string `name:"InstanceId"`
+	InstanceName string `name:"InstanceName"`
+	RegionId     string `name:"RegionId"`
+	Category     string `name:"Category"`
+}
+
+// CreateMonitorGroupInstancesResponse is the response struct for api CreateMonitorGroupInstances
+type CreateMonitorGroupInstancesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+}
+
+// CreateCreateMonitorGroupInstancesRequest creates a request to invoke CreateMonitorGroupInstances API
+func CreateCreateMonitorGroupInstancesRequest() (request *CreateMonitorGroupInstancesRequest) {
+	request = &CreateMonitorGroupInstancesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMonitorGroupInstances", "cms", "openAPI")
+	return
+}
+
+// CreateCreateMonitorGroupInstancesResponse creates a response to parse from CreateMonitorGroupInstances response
+func CreateCreateMonitorGroupInstancesResponse() (response *CreateMonitorGroupInstancesResponse) {
+	response = &CreateMonitorGroupInstancesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/cms/create_monitor_group_notify_policy.go

@@ -0,0 +1,110 @@
+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"
+)
+
+// CreateMonitorGroupNotifyPolicy invokes the cms.CreateMonitorGroupNotifyPolicy API synchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroupnotifypolicy.html
+func (client *Client) CreateMonitorGroupNotifyPolicy(request *CreateMonitorGroupNotifyPolicyRequest) (response *CreateMonitorGroupNotifyPolicyResponse, err error) {
+	response = CreateCreateMonitorGroupNotifyPolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMonitorGroupNotifyPolicyWithChan invokes the cms.CreateMonitorGroupNotifyPolicy API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroupnotifypolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitorGroupNotifyPolicyWithChan(request *CreateMonitorGroupNotifyPolicyRequest) (<-chan *CreateMonitorGroupNotifyPolicyResponse, <-chan error) {
+	responseChan := make(chan *CreateMonitorGroupNotifyPolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMonitorGroupNotifyPolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMonitorGroupNotifyPolicyWithCallback invokes the cms.CreateMonitorGroupNotifyPolicy API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitorgroupnotifypolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitorGroupNotifyPolicyWithCallback(request *CreateMonitorGroupNotifyPolicyRequest, callback func(response *CreateMonitorGroupNotifyPolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMonitorGroupNotifyPolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMonitorGroupNotifyPolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMonitorGroupNotifyPolicyRequest is the request struct for api CreateMonitorGroupNotifyPolicy
+type CreateMonitorGroupNotifyPolicyRequest struct {
+	*requests.RpcRequest
+	PolicyType string           `position:"Query" name:"PolicyType"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	StartTime  requests.Integer `position:"Query" name:"StartTime"`
+}
+
+// CreateMonitorGroupNotifyPolicyResponse is the response struct for api CreateMonitorGroupNotifyPolicy
+type CreateMonitorGroupNotifyPolicyResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   string `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    int    `json:"Result" xml:"Result"`
+}
+
+// CreateCreateMonitorGroupNotifyPolicyRequest creates a request to invoke CreateMonitorGroupNotifyPolicy API
+func CreateCreateMonitorGroupNotifyPolicyRequest() (request *CreateMonitorGroupNotifyPolicyRequest) {
+	request = &CreateMonitorGroupNotifyPolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMonitorGroupNotifyPolicy", "cms", "openAPI")
+	return
+}
+
+// CreateCreateMonitorGroupNotifyPolicyResponse creates a response to parse from CreateMonitorGroupNotifyPolicy response
+func CreateCreateMonitorGroupNotifyPolicyResponse() (response *CreateMonitorGroupNotifyPolicyResponse) {
+	response = &CreateMonitorGroupNotifyPolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/cms/create_monitoring_agent_process.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// CreateMonitoringAgentProcess invokes the cms.CreateMonitoringAgentProcess API synchronously
+// api document: https://help.aliyun.com/api/cms/createmonitoringagentprocess.html
+func (client *Client) CreateMonitoringAgentProcess(request *CreateMonitoringAgentProcessRequest) (response *CreateMonitoringAgentProcessResponse, err error) {
+	response = CreateCreateMonitoringAgentProcessResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateMonitoringAgentProcessWithChan invokes the cms.CreateMonitoringAgentProcess API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitoringagentprocess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitoringAgentProcessWithChan(request *CreateMonitoringAgentProcessRequest) (<-chan *CreateMonitoringAgentProcessResponse, <-chan error) {
+	responseChan := make(chan *CreateMonitoringAgentProcessResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateMonitoringAgentProcess(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateMonitoringAgentProcessWithCallback invokes the cms.CreateMonitoringAgentProcess API asynchronously
+// api document: https://help.aliyun.com/api/cms/createmonitoringagentprocess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateMonitoringAgentProcessWithCallback(request *CreateMonitoringAgentProcessRequest, callback func(response *CreateMonitoringAgentProcessResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateMonitoringAgentProcessResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateMonitoringAgentProcess(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateMonitoringAgentProcessRequest is the request struct for api CreateMonitoringAgentProcess
+type CreateMonitoringAgentProcessRequest struct {
+	*requests.RpcRequest
+	InstanceId  string `position:"Query" name:"InstanceId"`
+	ProcessName string `position:"Query" name:"ProcessName"`
+	ProcessUser string `position:"Query" name:"ProcessUser"`
+}
+
+// CreateMonitoringAgentProcessResponse is the response struct for api CreateMonitoringAgentProcess
+type CreateMonitoringAgentProcessResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Id        int    `json:"Id" xml:"Id"`
+}
+
+// CreateCreateMonitoringAgentProcessRequest creates a request to invoke CreateMonitoringAgentProcess API
+func CreateCreateMonitoringAgentProcessRequest() (request *CreateMonitoringAgentProcessRequest) {
+	request = &CreateMonitoringAgentProcessRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateMonitoringAgentProcess", "cms", "openAPI")
+	return
+}
+
+// CreateCreateMonitoringAgentProcessResponse creates a response to parse from CreateMonitoringAgentProcess response
+func CreateCreateMonitoringAgentProcessResponse() (response *CreateMonitoringAgentProcessResponse) {
+	response = &CreateMonitoringAgentProcessResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 111
services/cms/create_monitoring_template.go

@@ -1,111 +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"
-)
-
-// CreateMonitoringTemplate invokes the cms.CreateMonitoringTemplate API synchronously
-// api document: https://help.aliyun.com/api/cms/createmonitoringtemplate.html
-func (client *Client) CreateMonitoringTemplate(request *CreateMonitoringTemplateRequest) (response *CreateMonitoringTemplateResponse, err error) {
-	response = CreateCreateMonitoringTemplateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateMonitoringTemplateWithChan invokes the cms.CreateMonitoringTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/createmonitoringtemplate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateMonitoringTemplateWithChan(request *CreateMonitoringTemplateRequest) (<-chan *CreateMonitoringTemplateResponse, <-chan error) {
-	responseChan := make(chan *CreateMonitoringTemplateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateMonitoringTemplate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateMonitoringTemplateWithCallback invokes the cms.CreateMonitoringTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/createmonitoringtemplate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateMonitoringTemplateWithCallback(request *CreateMonitoringTemplateRequest, callback func(response *CreateMonitoringTemplateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateMonitoringTemplateResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateMonitoringTemplate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateMonitoringTemplateRequest is the request struct for api CreateMonitoringTemplate
-type CreateMonitoringTemplateRequest struct {
-	*requests.RpcRequest
-	EventRuleTemplatesJson string `position:"Query" name:"EventRuleTemplatesJson"`
-	Name                   string `position:"Query" name:"Name"`
-	Namespace              string `position:"Query" name:"Namespace"`
-	Description            string `position:"Query" name:"Description"`
-	AlertTemplatesJson     string `position:"Query" name:"AlertTemplatesJson"`
-}
-
-// CreateMonitoringTemplateResponse is the response struct for api CreateMonitoringTemplate
-type CreateMonitoringTemplateResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Success      bool   `json:"Success" xml:"Success"`
-	ErrorCode    int    `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-	Id           int    `json:"Id" xml:"Id"`
-}
-
-// CreateCreateMonitoringTemplateRequest creates a request to invoke CreateMonitoringTemplate API
-func CreateCreateMonitoringTemplateRequest() (request *CreateMonitoringTemplateRequest) {
-	request = &CreateMonitoringTemplateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "CreateMonitoringTemplate", "cms", "openAPI")
-	return
-}
-
-// CreateCreateMonitoringTemplateResponse creates a response to parse from CreateMonitoringTemplate response
-func CreateCreateMonitoringTemplateResponse() (response *CreateMonitoringTemplateResponse) {
-	response = &CreateMonitoringTemplateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/cms/create_my_group_alert_batch.go

@@ -1,108 +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"
-)
-
-// CreateMyGroupAlertBatch invokes the cms.CreateMyGroupAlertBatch API synchronously
-// api document: https://help.aliyun.com/api/cms/createmygroupalertbatch.html
-func (client *Client) CreateMyGroupAlertBatch(request *CreateMyGroupAlertBatchRequest) (response *CreateMyGroupAlertBatchResponse, err error) {
-	response = CreateCreateMyGroupAlertBatchResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateMyGroupAlertBatchWithChan invokes the cms.CreateMyGroupAlertBatch API asynchronously
-// api document: https://help.aliyun.com/api/cms/createmygroupalertbatch.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateMyGroupAlertBatchWithChan(request *CreateMyGroupAlertBatchRequest) (<-chan *CreateMyGroupAlertBatchResponse, <-chan error) {
-	responseChan := make(chan *CreateMyGroupAlertBatchResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateMyGroupAlertBatch(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateMyGroupAlertBatchWithCallback invokes the cms.CreateMyGroupAlertBatch API asynchronously
-// api document: https://help.aliyun.com/api/cms/createmygroupalertbatch.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateMyGroupAlertBatchWithCallback(request *CreateMyGroupAlertBatchRequest, callback func(response *CreateMyGroupAlertBatchResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateMyGroupAlertBatchResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateMyGroupAlertBatch(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateMyGroupAlertBatchRequest is the request struct for api CreateMyGroupAlertBatch
-type CreateMyGroupAlertBatchRequest struct {
-	*requests.RpcRequest
-	GroupId             requests.Integer `position:"Query" name:"GroupId"`
-	GroupAlertJsonArray string           `position:"Query" name:"GroupAlertJsonArray"`
-}
-
-// CreateMyGroupAlertBatchResponse is the response struct for api CreateMyGroupAlertBatch
-type CreateMyGroupAlertBatchResponse struct {
-	*responses.BaseResponse
-	RequestId    string                             `json:"RequestId" xml:"RequestId"`
-	Success      bool                               `json:"Success" xml:"Success"`
-	ErrorCode    int                                `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string                             `json:"ErrorMessage" xml:"ErrorMessage"`
-	Resources    ResourcesInCreateMyGroupAlertBatch `json:"Resources" xml:"Resources"`
-}
-
-// CreateCreateMyGroupAlertBatchRequest creates a request to invoke CreateMyGroupAlertBatch API
-func CreateCreateMyGroupAlertBatchRequest() (request *CreateMyGroupAlertBatchRequest) {
-	request = &CreateMyGroupAlertBatchRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "CreateMyGroupAlertBatch", "cms", "openAPI")
-	return
-}
-
-// CreateCreateMyGroupAlertBatchResponse creates a response to parse from CreateMyGroupAlertBatch response
-func CreateCreateMyGroupAlertBatchResponse() (response *CreateMyGroupAlertBatchResponse) {
-	response = &CreateMyGroupAlertBatchResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/cms/create_notify_policy.go

@@ -1,112 +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"
-)
-
-// CreateNotifyPolicy invokes the cms.CreateNotifyPolicy API synchronously
-// api document: https://help.aliyun.com/api/cms/createnotifypolicy.html
-func (client *Client) CreateNotifyPolicy(request *CreateNotifyPolicyRequest) (response *CreateNotifyPolicyResponse, err error) {
-	response = CreateCreateNotifyPolicyResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateNotifyPolicyWithChan invokes the cms.CreateNotifyPolicy API asynchronously
-// api document: https://help.aliyun.com/api/cms/createnotifypolicy.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateNotifyPolicyWithChan(request *CreateNotifyPolicyRequest) (<-chan *CreateNotifyPolicyResponse, <-chan error) {
-	responseChan := make(chan *CreateNotifyPolicyResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateNotifyPolicy(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateNotifyPolicyWithCallback invokes the cms.CreateNotifyPolicy API asynchronously
-// api document: https://help.aliyun.com/api/cms/createnotifypolicy.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateNotifyPolicyWithCallback(request *CreateNotifyPolicyRequest, callback func(response *CreateNotifyPolicyResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateNotifyPolicyResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateNotifyPolicy(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateNotifyPolicyRequest is the request struct for api CreateNotifyPolicy
-type CreateNotifyPolicyRequest struct {
-	*requests.RpcRequest
-	PolicyType string           `position:"Query" name:"PolicyType"`
-	AlertName  string           `position:"Query" name:"AlertName"`
-	GroupId    string           `position:"Query" name:"GroupId"`
-	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
-type CreateNotifyPolicyResponse struct {
-	*responses.BaseResponse
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   string `json:"Success" xml:"Success"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Result    int    `json:"Result" xml:"Result"`
-}
-
-// CreateCreateNotifyPolicyRequest creates a request to invoke CreateNotifyPolicy API
-func CreateCreateNotifyPolicyRequest() (request *CreateNotifyPolicyRequest) {
-	request = &CreateNotifyPolicyRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "CreateNotifyPolicy", "cms", "openAPI")
-	return
-}
-
-// CreateCreateNotifyPolicyResponse creates a response to parse from CreateNotifyPolicy response
-func CreateCreateNotifyPolicyResponse() (response *CreateNotifyPolicyResponse) {
-	response = &CreateNotifyPolicyResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 114 - 0
services/cms/create_site_monitor.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// CreateSiteMonitor invokes the cms.CreateSiteMonitor API synchronously
+// api document: https://help.aliyun.com/api/cms/createsitemonitor.html
+func (client *Client) CreateSiteMonitor(request *CreateSiteMonitorRequest) (response *CreateSiteMonitorResponse, err error) {
+	response = CreateCreateSiteMonitorResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateSiteMonitorWithChan invokes the cms.CreateSiteMonitor API asynchronously
+// api document: https://help.aliyun.com/api/cms/createsitemonitor.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateSiteMonitorWithChan(request *CreateSiteMonitorRequest) (<-chan *CreateSiteMonitorResponse, <-chan error) {
+	responseChan := make(chan *CreateSiteMonitorResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateSiteMonitor(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateSiteMonitorWithCallback invokes the cms.CreateSiteMonitor API asynchronously
+// api document: https://help.aliyun.com/api/cms/createsitemonitor.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateSiteMonitorWithCallback(request *CreateSiteMonitorRequest, callback func(response *CreateSiteMonitorResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateSiteMonitorResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateSiteMonitor(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateSiteMonitorRequest is the request struct for api CreateSiteMonitor
+type CreateSiteMonitorRequest struct {
+	*requests.RpcRequest
+	OptionsJson string `position:"Query" name:"OptionsJson"`
+	Address     string `position:"Query" name:"Address"`
+	TaskType    string `position:"Query" name:"TaskType"`
+	AlertIds    string `position:"Query" name:"AlertIds"`
+	TaskName    string `position:"Query" name:"TaskName"`
+	Interval    string `position:"Query" name:"Interval"`
+	IspCities   string `position:"Query" name:"IspCities"`
+}
+
+// CreateSiteMonitorResponse is the response struct for api CreateSiteMonitor
+type CreateSiteMonitorResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   string `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	AlertRule string `json:"AlertRule" xml:"AlertRule"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateCreateSiteMonitorRequest creates a request to invoke CreateSiteMonitor API
+func CreateCreateSiteMonitorRequest() (request *CreateSiteMonitorRequest) {
+	request = &CreateSiteMonitorRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "CreateSiteMonitor", "cms", "openAPI")
+	return
+}
+
+// CreateCreateSiteMonitorResponse creates a response to parse from CreateSiteMonitor response
+func CreateCreateSiteMonitorResponse() (response *CreateSiteMonitorResponse) {
+	response = &CreateSiteMonitorResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 116
services/cms/create_task.go

@@ -1,116 +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"
-)
-
-// CreateTask invokes the cms.CreateTask API synchronously
-// api document: https://help.aliyun.com/api/cms/createtask.html
-func (client *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskResponse, err error) {
-	response = CreateCreateTaskResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTaskWithChan invokes the cms.CreateTask API asynchronously
-// api document: https://help.aliyun.com/api/cms/createtask.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTaskWithChan(request *CreateTaskRequest) (<-chan *CreateTaskResponse, <-chan error) {
-	responseChan := make(chan *CreateTaskResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTask(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTaskWithCallback invokes the cms.CreateTask API asynchronously
-// api document: https://help.aliyun.com/api/cms/createtask.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTaskWithCallback(request *CreateTaskRequest, callback func(response *CreateTaskResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTaskResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTask(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTaskRequest is the request struct for api CreateTask
-type CreateTaskRequest struct {
-	*requests.RpcRequest
-	Caller    string `position:"Query" name:"caller"`
-	Address   string `position:"Query" name:"Address"`
-	TaskType  string `position:"Query" name:"TaskType"`
-	IspCity   string `position:"Query" name:"IspCity"`
-	AlertIds  string `position:"Query" name:"AlertIds"`
-	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
-type CreateTaskResponse struct {
-	*responses.BaseResponse
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   string `json:"Success" xml:"Success"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
-	AlertRule string `json:"AlertRule" xml:"AlertRule"`
-}
-
-// CreateCreateTaskRequest creates a request to invoke CreateTask API
-func CreateCreateTaskRequest() (request *CreateTaskRequest) {
-	request = &CreateTaskRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "CreateTask", "cms", "openAPI")
-	return
-}
-
-// CreateCreateTaskResponse creates a response to parse from CreateTask response
-func CreateCreateTaskResponse() (response *CreateTaskResponse) {
-	response = &CreateTaskResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 26 - 26
services/cms/enable_alarm.go → services/cms/delete_contact.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// EnableAlarm invokes the cms.EnableAlarm API synchronously
-// api document: https://help.aliyun.com/api/cms/enablealarm.html
-func (client *Client) EnableAlarm(request *EnableAlarmRequest) (response *EnableAlarmResponse, err error) {
-	response = CreateEnableAlarmResponse()
+// DeleteContact invokes the cms.DeleteContact API synchronously
+// api document: https://help.aliyun.com/api/cms/deletecontact.html
+func (client *Client) DeleteContact(request *DeleteContactRequest) (response *DeleteContactResponse, err error) {
+	response = CreateDeleteContactResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// EnableAlarmWithChan invokes the cms.EnableAlarm API asynchronously
-// api document: https://help.aliyun.com/api/cms/enablealarm.html
+// DeleteContactWithChan invokes the cms.DeleteContact API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletecontact.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) EnableAlarmWithChan(request *EnableAlarmRequest) (<-chan *EnableAlarmResponse, <-chan error) {
-	responseChan := make(chan *EnableAlarmResponse, 1)
+func (client *Client) DeleteContactWithChan(request *DeleteContactRequest) (<-chan *DeleteContactResponse, <-chan error) {
+	responseChan := make(chan *DeleteContactResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.EnableAlarm(request)
+		response, err := client.DeleteContact(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) EnableAlarmWithChan(request *EnableAlarmRequest) (<-chan *
 	return responseChan, errChan
 }
 
-// EnableAlarmWithCallback invokes the cms.EnableAlarm API asynchronously
-// api document: https://help.aliyun.com/api/cms/enablealarm.html
+// DeleteContactWithCallback invokes the cms.DeleteContact API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletecontact.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) EnableAlarmWithCallback(request *EnableAlarmRequest, callback func(response *EnableAlarmResponse, err error)) <-chan int {
+func (client *Client) DeleteContactWithCallback(request *DeleteContactRequest, callback func(response *DeleteContactResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *EnableAlarmResponse
+		var response *DeleteContactResponse
 		var err error
 		defer close(result)
-		response, err = client.EnableAlarm(request)
+		response, err = client.DeleteContact(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,14 +73,14 @@ func (client *Client) EnableAlarmWithCallback(request *EnableAlarmRequest, callb
 	return result
 }
 
-// EnableAlarmRequest is the request struct for api EnableAlarm
-type EnableAlarmRequest struct {
+// DeleteContactRequest is the request struct for api DeleteContact
+type DeleteContactRequest struct {
 	*requests.RpcRequest
-	Id string `position:"Query" name:"Id"`
+	ContactName string `position:"Query" name:"ContactName"`
 }
 
-// EnableAlarmResponse is the response struct for api EnableAlarm
-type EnableAlarmResponse struct {
+// DeleteContactResponse is the response struct for api DeleteContact
+type DeleteContactResponse struct {
 	*responses.BaseResponse
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      string `json:"Code" xml:"Code"`
@@ -88,18 +88,18 @@ type EnableAlarmResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
-// CreateEnableAlarmRequest creates a request to invoke EnableAlarm API
-func CreateEnableAlarmRequest() (request *EnableAlarmRequest) {
-	request = &EnableAlarmRequest{
+// CreateDeleteContactRequest creates a request to invoke DeleteContact API
+func CreateDeleteContactRequest() (request *DeleteContactRequest) {
+	request = &DeleteContactRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "EnableAlarm", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteContact", "cms", "openAPI")
 	return
 }
 
-// CreateEnableAlarmResponse creates a response to parse from EnableAlarm response
-func CreateEnableAlarmResponse() (response *EnableAlarmResponse) {
-	response = &EnableAlarmResponse{
+// CreateDeleteContactResponse creates a response to parse from DeleteContact response
+func CreateDeleteContactResponse() (response *DeleteContactResponse) {
+	response = &DeleteContactResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 27 - 28
services/cms/disable_active_alert.go → services/cms/delete_contact_group.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DisableActiveAlert invokes the cms.DisableActiveAlert API synchronously
-// api document: https://help.aliyun.com/api/cms/disableactivealert.html
-func (client *Client) DisableActiveAlert(request *DisableActiveAlertRequest) (response *DisableActiveAlertResponse, err error) {
-	response = CreateDisableActiveAlertResponse()
+// DeleteContactGroup invokes the cms.DeleteContactGroup API synchronously
+// api document: https://help.aliyun.com/api/cms/deletecontactgroup.html
+func (client *Client) DeleteContactGroup(request *DeleteContactGroupRequest) (response *DeleteContactGroupResponse, err error) {
+	response = CreateDeleteContactGroupResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DisableActiveAlertWithChan invokes the cms.DisableActiveAlert API asynchronously
-// api document: https://help.aliyun.com/api/cms/disableactivealert.html
+// DeleteContactGroupWithChan invokes the cms.DeleteContactGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletecontactgroup.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DisableActiveAlertWithChan(request *DisableActiveAlertRequest) (<-chan *DisableActiveAlertResponse, <-chan error) {
-	responseChan := make(chan *DisableActiveAlertResponse, 1)
+func (client *Client) DeleteContactGroupWithChan(request *DeleteContactGroupRequest) (<-chan *DeleteContactGroupResponse, <-chan error) {
+	responseChan := make(chan *DeleteContactGroupResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DisableActiveAlert(request)
+		response, err := client.DeleteContactGroup(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DisableActiveAlertWithChan(request *DisableActiveAlertRequ
 	return responseChan, errChan
 }
 
-// DisableActiveAlertWithCallback invokes the cms.DisableActiveAlert API asynchronously
-// api document: https://help.aliyun.com/api/cms/disableactivealert.html
+// DeleteContactGroupWithCallback invokes the cms.DeleteContactGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletecontactgroup.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DisableActiveAlertWithCallback(request *DisableActiveAlertRequest, callback func(response *DisableActiveAlertResponse, err error)) <-chan int {
+func (client *Client) DeleteContactGroupWithCallback(request *DeleteContactGroupRequest, callback func(response *DeleteContactGroupResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DisableActiveAlertResponse
+		var response *DeleteContactGroupResponse
 		var err error
 		defer close(result)
-		response, err = client.DisableActiveAlert(request)
+		response, err = client.DeleteContactGroup(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,34 +73,33 @@ func (client *Client) DisableActiveAlertWithCallback(request *DisableActiveAlert
 	return result
 }
 
-// DisableActiveAlertRequest is the request struct for api DisableActiveAlert
-type DisableActiveAlertRequest struct {
+// DeleteContactGroupRequest is the request struct for api DeleteContactGroup
+type DeleteContactGroupRequest struct {
 	*requests.RpcRequest
-	Product string `position:"Query" name:"Product"`
-	UserId  string `position:"Query" name:"UserId"`
+	ContactGroupName string `position:"Query" name:"ContactGroupName"`
 }
 
-// DisableActiveAlertResponse is the response struct for api DisableActiveAlert
-type DisableActiveAlertResponse struct {
+// DeleteContactGroupResponse is the response struct for api DeleteContactGroup
+type DeleteContactGroupResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      string `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
-// CreateDisableActiveAlertRequest creates a request to invoke DisableActiveAlert API
-func CreateDisableActiveAlertRequest() (request *DisableActiveAlertRequest) {
-	request = &DisableActiveAlertRequest{
+// CreateDeleteContactGroupRequest creates a request to invoke DeleteContactGroup API
+func CreateDeleteContactGroupRequest() (request *DeleteContactGroupRequest) {
+	request = &DeleteContactGroupRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DisableActiveAlert", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteContactGroup", "cms", "openAPI")
 	return
 }
 
-// CreateDisableActiveAlertResponse creates a response to parse from DisableActiveAlert response
-func CreateDisableActiveAlertResponse() (response *DisableActiveAlertResponse) {
-	response = &DisableActiveAlertResponse{
+// CreateDeleteContactGroupResponse creates a response to parse from DeleteContactGroup response
+func CreateDeleteContactGroupResponse() (response *DeleteContactGroupResponse) {
+	response = &DeleteContactGroupResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 1 - 2
services/cms/delete_custom_metric.go

@@ -88,7 +88,6 @@ type DeleteCustomMetricResponse struct {
 	Code      string `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Result    string `json:"Result" xml:"Result"`
 }
 
 // CreateDeleteCustomMetricRequest creates a request to invoke DeleteCustomMetric API
@@ -96,7 +95,7 @@ func CreateDeleteCustomMetricRequest() (request *DeleteCustomMetricRequest) {
 	request = &DeleteCustomMetricRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteCustomMetric", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteCustomMetric", "cms", "openAPI")
 	return
 }
 

+ 107 - 0
services/cms/delete_event_rule_targets.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DeleteEventRuleTargets invokes the cms.DeleteEventRuleTargets API synchronously
+// api document: https://help.aliyun.com/api/cms/deleteeventruletargets.html
+func (client *Client) DeleteEventRuleTargets(request *DeleteEventRuleTargetsRequest) (response *DeleteEventRuleTargetsResponse, err error) {
+	response = CreateDeleteEventRuleTargetsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteEventRuleTargetsWithChan invokes the cms.DeleteEventRuleTargets API asynchronously
+// api document: https://help.aliyun.com/api/cms/deleteeventruletargets.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteEventRuleTargetsWithChan(request *DeleteEventRuleTargetsRequest) (<-chan *DeleteEventRuleTargetsResponse, <-chan error) {
+	responseChan := make(chan *DeleteEventRuleTargetsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteEventRuleTargets(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteEventRuleTargetsWithCallback invokes the cms.DeleteEventRuleTargets API asynchronously
+// api document: https://help.aliyun.com/api/cms/deleteeventruletargets.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteEventRuleTargetsWithCallback(request *DeleteEventRuleTargetsRequest, callback func(response *DeleteEventRuleTargetsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteEventRuleTargetsResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteEventRuleTargets(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteEventRuleTargetsRequest is the request struct for api DeleteEventRuleTargets
+type DeleteEventRuleTargetsRequest struct {
+	*requests.RpcRequest
+	Ids      *[]string `position:"Query" name:"Ids"  type:"Repeated"`
+	RuleName string    `position:"Query" name:"RuleName"`
+}
+
+// DeleteEventRuleTargetsResponse is the response struct for api DeleteEventRuleTargets
+type DeleteEventRuleTargetsResponse struct {
+	*responses.BaseResponse
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteEventRuleTargetsRequest creates a request to invoke DeleteEventRuleTargets API
+func CreateDeleteEventRuleTargetsRequest() (request *DeleteEventRuleTargetsRequest) {
+	request = &DeleteEventRuleTargetsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteEventRuleTargets", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteEventRuleTargetsResponse creates a response to parse from DeleteEventRuleTargets response
+func CreateDeleteEventRuleTargetsResponse() (response *DeleteEventRuleTargetsResponse) {
+	response = &DeleteEventRuleTargetsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 25 - 26
services/cms/delete_event_rule.go → services/cms/delete_event_rules.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DeleteEventRule invokes the cms.DeleteEventRule API synchronously
-// api document: https://help.aliyun.com/api/cms/deleteeventrule.html
-func (client *Client) DeleteEventRule(request *DeleteEventRuleRequest) (response *DeleteEventRuleResponse, err error) {
-	response = CreateDeleteEventRuleResponse()
+// DeleteEventRules invokes the cms.DeleteEventRules API synchronously
+// api document: https://help.aliyun.com/api/cms/deleteeventrules.html
+func (client *Client) DeleteEventRules(request *DeleteEventRulesRequest) (response *DeleteEventRulesResponse, err error) {
+	response = CreateDeleteEventRulesResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DeleteEventRuleWithChan invokes the cms.DeleteEventRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/deleteeventrule.html
+// DeleteEventRulesWithChan invokes the cms.DeleteEventRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/deleteeventrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteEventRuleWithChan(request *DeleteEventRuleRequest) (<-chan *DeleteEventRuleResponse, <-chan error) {
-	responseChan := make(chan *DeleteEventRuleResponse, 1)
+func (client *Client) DeleteEventRulesWithChan(request *DeleteEventRulesRequest) (<-chan *DeleteEventRulesResponse, <-chan error) {
+	responseChan := make(chan *DeleteEventRulesResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DeleteEventRule(request)
+		response, err := client.DeleteEventRules(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DeleteEventRuleWithChan(request *DeleteEventRuleRequest) (
 	return responseChan, errChan
 }
 
-// DeleteEventRuleWithCallback invokes the cms.DeleteEventRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/deleteeventrule.html
+// DeleteEventRulesWithCallback invokes the cms.DeleteEventRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/deleteeventrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteEventRuleWithCallback(request *DeleteEventRuleRequest, callback func(response *DeleteEventRuleResponse, err error)) <-chan int {
+func (client *Client) DeleteEventRulesWithCallback(request *DeleteEventRulesRequest, callback func(response *DeleteEventRulesResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DeleteEventRuleResponse
+		var response *DeleteEventRulesResponse
 		var err error
 		defer close(result)
-		response, err = client.DeleteEventRule(request)
+		response, err = client.DeleteEventRules(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,15 +73,14 @@ func (client *Client) DeleteEventRuleWithCallback(request *DeleteEventRuleReques
 	return result
 }
 
-// DeleteEventRuleRequest is the request struct for api DeleteEventRule
-type DeleteEventRuleRequest struct {
+// DeleteEventRulesRequest is the request struct for api DeleteEventRules
+type DeleteEventRulesRequest struct {
 	*requests.RpcRequest
 	RuleNames *[]string `position:"Query" name:"RuleNames"  type:"Repeated"`
-	RuleName  string    `position:"Query" name:"RuleName"`
 }
 
-// DeleteEventRuleResponse is the response struct for api DeleteEventRule
-type DeleteEventRuleResponse struct {
+// DeleteEventRulesResponse is the response struct for api DeleteEventRules
+type DeleteEventRulesResponse struct {
 	*responses.BaseResponse
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      string `json:"Code" xml:"Code"`
@@ -89,18 +88,18 @@ type DeleteEventRuleResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
-// CreateDeleteEventRuleRequest creates a request to invoke DeleteEventRule API
-func CreateDeleteEventRuleRequest() (request *DeleteEventRuleRequest) {
-	request = &DeleteEventRuleRequest{
+// CreateDeleteEventRulesRequest creates a request to invoke DeleteEventRules API
+func CreateDeleteEventRulesRequest() (request *DeleteEventRulesRequest) {
+	request = &DeleteEventRulesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteEventRule", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteEventRules", "cms", "openAPI")
 	return
 }
 
-// CreateDeleteEventRuleResponse creates a response to parse from DeleteEventRule response
-func CreateDeleteEventRuleResponse() (response *DeleteEventRuleResponse) {
-	response = &DeleteEventRuleResponse{
+// CreateDeleteEventRulesResponse creates a response to parse from DeleteEventRules response
+func CreateDeleteEventRulesResponse() (response *DeleteEventRulesResponse) {
+	response = &DeleteEventRulesResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 0 - 107
services/cms/delete_group_dynamic_rule.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"
-)
-
-// DeleteGroupDynamicRule invokes the cms.DeleteGroupDynamicRule API synchronously
-// api document: https://help.aliyun.com/api/cms/deletegroupdynamicrule.html
-func (client *Client) DeleteGroupDynamicRule(request *DeleteGroupDynamicRuleRequest) (response *DeleteGroupDynamicRuleResponse, err error) {
-	response = CreateDeleteGroupDynamicRuleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteGroupDynamicRuleWithChan invokes the cms.DeleteGroupDynamicRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletegroupdynamicrule.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteGroupDynamicRuleWithChan(request *DeleteGroupDynamicRuleRequest) (<-chan *DeleteGroupDynamicRuleResponse, <-chan error) {
-	responseChan := make(chan *DeleteGroupDynamicRuleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteGroupDynamicRule(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteGroupDynamicRuleWithCallback invokes the cms.DeleteGroupDynamicRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletegroupdynamicrule.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteGroupDynamicRuleWithCallback(request *DeleteGroupDynamicRuleRequest, callback func(response *DeleteGroupDynamicRuleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteGroupDynamicRuleResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteGroupDynamicRule(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteGroupDynamicRuleRequest is the request struct for api DeleteGroupDynamicRule
-type DeleteGroupDynamicRuleRequest struct {
-	*requests.RpcRequest
-	GroupId  requests.Integer `position:"Query" name:"GroupId"`
-	Category string           `position:"Query" name:"Category"`
-}
-
-// DeleteGroupDynamicRuleResponse is the response struct for api DeleteGroupDynamicRule
-type DeleteGroupDynamicRuleResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Success      bool   `json:"Success" xml:"Success"`
-	ErrorCode    int    `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-}
-
-// CreateDeleteGroupDynamicRuleRequest creates a request to invoke DeleteGroupDynamicRule API
-func CreateDeleteGroupDynamicRuleRequest() (request *DeleteGroupDynamicRuleRequest) {
-	request = &DeleteGroupDynamicRuleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteGroupDynamicRule", "cms", "openAPI")
-	return
-}
-
-// CreateDeleteGroupDynamicRuleResponse creates a response to parse from DeleteGroupDynamicRule response
-func CreateDeleteGroupDynamicRuleResponse() (response *DeleteGroupDynamicRuleResponse) {
-	response = &DeleteGroupDynamicRuleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 106 - 0
services/cms/delete_host_availability.go

@@ -0,0 +1,106 @@
+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"
+)
+
+// DeleteHostAvailability invokes the cms.DeleteHostAvailability API synchronously
+// api document: https://help.aliyun.com/api/cms/deletehostavailability.html
+func (client *Client) DeleteHostAvailability(request *DeleteHostAvailabilityRequest) (response *DeleteHostAvailabilityResponse, err error) {
+	response = CreateDeleteHostAvailabilityResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteHostAvailabilityWithChan invokes the cms.DeleteHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletehostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteHostAvailabilityWithChan(request *DeleteHostAvailabilityRequest) (<-chan *DeleteHostAvailabilityResponse, <-chan error) {
+	responseChan := make(chan *DeleteHostAvailabilityResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteHostAvailability(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteHostAvailabilityWithCallback invokes the cms.DeleteHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletehostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteHostAvailabilityWithCallback(request *DeleteHostAvailabilityRequest, callback func(response *DeleteHostAvailabilityResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteHostAvailabilityResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteHostAvailability(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteHostAvailabilityRequest is the request struct for api DeleteHostAvailability
+type DeleteHostAvailabilityRequest struct {
+	*requests.RpcRequest
+	Id *[]string `position:"Query" name:"Id"  type:"Repeated"`
+}
+
+// DeleteHostAvailabilityResponse is the response struct for api DeleteHostAvailability
+type DeleteHostAvailabilityResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteHostAvailabilityRequest creates a request to invoke DeleteHostAvailability API
+func CreateDeleteHostAvailabilityRequest() (request *DeleteHostAvailabilityRequest) {
+	request = &DeleteHostAvailabilityRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteHostAvailability", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteHostAvailabilityResponse creates a response to parse from DeleteHostAvailability response
+func CreateDeleteHostAvailabilityResponse() (response *DeleteHostAvailabilityResponse) {
+	response = &DeleteHostAvailabilityResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/delete_metric_rule_template.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DeleteMetricRuleTemplate invokes the cms.DeleteMetricRuleTemplate API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricruletemplate.html
+func (client *Client) DeleteMetricRuleTemplate(request *DeleteMetricRuleTemplateRequest) (response *DeleteMetricRuleTemplateResponse, err error) {
+	response = CreateDeleteMetricRuleTemplateResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMetricRuleTemplateWithChan invokes the cms.DeleteMetricRuleTemplate API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricruletemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMetricRuleTemplateWithChan(request *DeleteMetricRuleTemplateRequest) (<-chan *DeleteMetricRuleTemplateResponse, <-chan error) {
+	responseChan := make(chan *DeleteMetricRuleTemplateResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMetricRuleTemplate(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMetricRuleTemplateWithCallback invokes the cms.DeleteMetricRuleTemplate API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricruletemplate.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMetricRuleTemplateWithCallback(request *DeleteMetricRuleTemplateRequest, callback func(response *DeleteMetricRuleTemplateResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMetricRuleTemplateResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMetricRuleTemplate(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMetricRuleTemplateRequest is the request struct for api DeleteMetricRuleTemplate
+type DeleteMetricRuleTemplateRequest struct {
+	*requests.RpcRequest
+	TemplateId string `position:"Query" name:"TemplateId"`
+}
+
+// DeleteMetricRuleTemplateResponse is the response struct for api DeleteMetricRuleTemplate
+type DeleteMetricRuleTemplateResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Success   bool     `json:"Success" xml:"Success"`
+	Code      int      `json:"Code" xml:"Code"`
+	Message   string   `json:"Message" xml:"Message"`
+	Resource  Resource `json:"Resource" xml:"Resource"`
+}
+
+// CreateDeleteMetricRuleTemplateRequest creates a request to invoke DeleteMetricRuleTemplate API
+func CreateDeleteMetricRuleTemplateRequest() (request *DeleteMetricRuleTemplateRequest) {
+	request = &DeleteMetricRuleTemplateRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMetricRuleTemplate", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMetricRuleTemplateResponse creates a response to parse from DeleteMetricRuleTemplate response
+func CreateDeleteMetricRuleTemplateResponse() (response *DeleteMetricRuleTemplateResponse) {
+	response = &DeleteMetricRuleTemplateResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 26 - 27
services/cms/enable_active_alert.go → services/cms/delete_metric_rules.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// EnableActiveAlert invokes the cms.EnableActiveAlert API synchronously
-// api document: https://help.aliyun.com/api/cms/enableactivealert.html
-func (client *Client) EnableActiveAlert(request *EnableActiveAlertRequest) (response *EnableActiveAlertResponse, err error) {
-	response = CreateEnableActiveAlertResponse()
+// DeleteMetricRules invokes the cms.DeleteMetricRules API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricrules.html
+func (client *Client) DeleteMetricRules(request *DeleteMetricRulesRequest) (response *DeleteMetricRulesResponse, err error) {
+	response = CreateDeleteMetricRulesResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// EnableActiveAlertWithChan invokes the cms.EnableActiveAlert API asynchronously
-// api document: https://help.aliyun.com/api/cms/enableactivealert.html
+// DeleteMetricRulesWithChan invokes the cms.DeleteMetricRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) EnableActiveAlertWithChan(request *EnableActiveAlertRequest) (<-chan *EnableActiveAlertResponse, <-chan error) {
-	responseChan := make(chan *EnableActiveAlertResponse, 1)
+func (client *Client) DeleteMetricRulesWithChan(request *DeleteMetricRulesRequest) (<-chan *DeleteMetricRulesResponse, <-chan error) {
+	responseChan := make(chan *DeleteMetricRulesResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.EnableActiveAlert(request)
+		response, err := client.DeleteMetricRules(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) EnableActiveAlertWithChan(request *EnableActiveAlertReques
 	return responseChan, errChan
 }
 
-// EnableActiveAlertWithCallback invokes the cms.EnableActiveAlert API asynchronously
-// api document: https://help.aliyun.com/api/cms/enableactivealert.html
+// DeleteMetricRulesWithCallback invokes the cms.DeleteMetricRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemetricrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) EnableActiveAlertWithCallback(request *EnableActiveAlertRequest, callback func(response *EnableActiveAlertResponse, err error)) <-chan int {
+func (client *Client) DeleteMetricRulesWithCallback(request *DeleteMetricRulesRequest, callback func(response *DeleteMetricRulesResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *EnableActiveAlertResponse
+		var response *DeleteMetricRulesResponse
 		var err error
 		defer close(result)
-		response, err = client.EnableActiveAlert(request)
+		response, err = client.DeleteMetricRules(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,15 +73,14 @@ func (client *Client) EnableActiveAlertWithCallback(request *EnableActiveAlertRe
 	return result
 }
 
-// EnableActiveAlertRequest is the request struct for api EnableActiveAlert
-type EnableActiveAlertRequest struct {
+// DeleteMetricRulesRequest is the request struct for api DeleteMetricRules
+type DeleteMetricRulesRequest struct {
 	*requests.RpcRequest
-	Product string `position:"Query" name:"Product"`
-	UserId  string `position:"Query" name:"UserId"`
+	Id *[]string `position:"Query" name:"Id"  type:"Repeated"`
 }
 
-// EnableActiveAlertResponse is the response struct for api EnableActiveAlert
-type EnableActiveAlertResponse struct {
+// DeleteMetricRulesResponse is the response struct for api DeleteMetricRules
+type DeleteMetricRulesResponse struct {
 	*responses.BaseResponse
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      string `json:"Code" xml:"Code"`
@@ -89,18 +88,18 @@ type EnableActiveAlertResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
-// CreateEnableActiveAlertRequest creates a request to invoke EnableActiveAlert API
-func CreateEnableActiveAlertRequest() (request *EnableActiveAlertRequest) {
-	request = &EnableActiveAlertRequest{
+// CreateDeleteMetricRulesRequest creates a request to invoke DeleteMetricRules API
+func CreateDeleteMetricRulesRequest() (request *DeleteMetricRulesRequest) {
+	request = &DeleteMetricRulesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "EnableActiveAlert", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMetricRules", "cms", "openAPI")
 	return
 }
 
-// CreateEnableActiveAlertResponse creates a response to parse from EnableActiveAlert response
-func CreateEnableActiveAlertResponse() (response *EnableActiveAlertResponse) {
-	response = &EnableActiveAlertResponse{
+// CreateDeleteMetricRulesResponse creates a response to parse from DeleteMetricRules response
+func CreateDeleteMetricRulesResponse() (response *DeleteMetricRulesResponse) {
+	response = &DeleteMetricRulesResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 107 - 0
services/cms/delete_monitor_group.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DeleteMonitorGroup invokes the cms.DeleteMonitorGroup API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroup.html
+func (client *Client) DeleteMonitorGroup(request *DeleteMonitorGroupRequest) (response *DeleteMonitorGroupResponse, err error) {
+	response = CreateDeleteMonitorGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMonitorGroupWithChan invokes the cms.DeleteMonitorGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupWithChan(request *DeleteMonitorGroupRequest) (<-chan *DeleteMonitorGroupResponse, <-chan error) {
+	responseChan := make(chan *DeleteMonitorGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMonitorGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMonitorGroupWithCallback invokes the cms.DeleteMonitorGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupWithCallback(request *DeleteMonitorGroupRequest, callback func(response *DeleteMonitorGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMonitorGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMonitorGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMonitorGroupRequest is the request struct for api DeleteMonitorGroup
+type DeleteMonitorGroupRequest struct {
+	*requests.RpcRequest
+	GroupId requests.Integer `position:"Query" name:"GroupId"`
+}
+
+// DeleteMonitorGroupResponse is the response struct for api DeleteMonitorGroup
+type DeleteMonitorGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Group     Group  `json:"Group" xml:"Group"`
+}
+
+// CreateDeleteMonitorGroupRequest creates a request to invoke DeleteMonitorGroup API
+func CreateDeleteMonitorGroupRequest() (request *DeleteMonitorGroupRequest) {
+	request = &DeleteMonitorGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMonitorGroup", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMonitorGroupResponse creates a response to parse from DeleteMonitorGroup response
+func CreateDeleteMonitorGroupResponse() (response *DeleteMonitorGroupResponse) {
+	response = &DeleteMonitorGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/delete_monitor_group_dynamic_rule.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DeleteMonitorGroupDynamicRule invokes the cms.DeleteMonitorGroupDynamicRule API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupdynamicrule.html
+func (client *Client) DeleteMonitorGroupDynamicRule(request *DeleteMonitorGroupDynamicRuleRequest) (response *DeleteMonitorGroupDynamicRuleResponse, err error) {
+	response = CreateDeleteMonitorGroupDynamicRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMonitorGroupDynamicRuleWithChan invokes the cms.DeleteMonitorGroupDynamicRule API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupdynamicrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupDynamicRuleWithChan(request *DeleteMonitorGroupDynamicRuleRequest) (<-chan *DeleteMonitorGroupDynamicRuleResponse, <-chan error) {
+	responseChan := make(chan *DeleteMonitorGroupDynamicRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMonitorGroupDynamicRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMonitorGroupDynamicRuleWithCallback invokes the cms.DeleteMonitorGroupDynamicRule API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupdynamicrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupDynamicRuleWithCallback(request *DeleteMonitorGroupDynamicRuleRequest, callback func(response *DeleteMonitorGroupDynamicRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMonitorGroupDynamicRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMonitorGroupDynamicRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMonitorGroupDynamicRuleRequest is the request struct for api DeleteMonitorGroupDynamicRule
+type DeleteMonitorGroupDynamicRuleRequest struct {
+	*requests.RpcRequest
+	GroupId  requests.Integer `position:"Query" name:"GroupId"`
+	Category string           `position:"Query" name:"Category"`
+}
+
+// DeleteMonitorGroupDynamicRuleResponse is the response struct for api DeleteMonitorGroupDynamicRule
+type DeleteMonitorGroupDynamicRuleResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+}
+
+// CreateDeleteMonitorGroupDynamicRuleRequest creates a request to invoke DeleteMonitorGroupDynamicRule API
+func CreateDeleteMonitorGroupDynamicRuleRequest() (request *DeleteMonitorGroupDynamicRuleRequest) {
+	request = &DeleteMonitorGroupDynamicRuleRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMonitorGroupDynamicRule", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMonitorGroupDynamicRuleResponse creates a response to parse from DeleteMonitorGroupDynamicRule response
+func CreateDeleteMonitorGroupDynamicRuleResponse() (response *DeleteMonitorGroupDynamicRuleResponse) {
+	response = &DeleteMonitorGroupDynamicRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cms/delete_monitor_group_instances.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DeleteMonitorGroupInstances invokes the cms.DeleteMonitorGroupInstances API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupinstances.html
+func (client *Client) DeleteMonitorGroupInstances(request *DeleteMonitorGroupInstancesRequest) (response *DeleteMonitorGroupInstancesResponse, err error) {
+	response = CreateDeleteMonitorGroupInstancesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMonitorGroupInstancesWithChan invokes the cms.DeleteMonitorGroupInstances API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupInstancesWithChan(request *DeleteMonitorGroupInstancesRequest) (<-chan *DeleteMonitorGroupInstancesResponse, <-chan error) {
+	responseChan := make(chan *DeleteMonitorGroupInstancesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMonitorGroupInstances(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMonitorGroupInstancesWithCallback invokes the cms.DeleteMonitorGroupInstances API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupInstancesWithCallback(request *DeleteMonitorGroupInstancesRequest, callback func(response *DeleteMonitorGroupInstancesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMonitorGroupInstancesResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMonitorGroupInstances(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMonitorGroupInstancesRequest is the request struct for api DeleteMonitorGroupInstances
+type DeleteMonitorGroupInstancesRequest struct {
+	*requests.RpcRequest
+	InstanceIdList string           `position:"Query" name:"InstanceIdList"`
+	GroupId        requests.Integer `position:"Query" name:"GroupId"`
+	Category       string           `position:"Query" name:"Category"`
+}
+
+// DeleteMonitorGroupInstancesResponse is the response struct for api DeleteMonitorGroupInstances
+type DeleteMonitorGroupInstancesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+}
+
+// CreateDeleteMonitorGroupInstancesRequest creates a request to invoke DeleteMonitorGroupInstances API
+func CreateDeleteMonitorGroupInstancesRequest() (request *DeleteMonitorGroupInstancesRequest) {
+	request = &DeleteMonitorGroupInstancesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMonitorGroupInstances", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMonitorGroupInstancesResponse creates a response to parse from DeleteMonitorGroupInstances response
+func CreateDeleteMonitorGroupInstancesResponse() (response *DeleteMonitorGroupInstancesResponse) {
+	response = &DeleteMonitorGroupInstancesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cms/delete_monitor_group_notify_policy.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DeleteMonitorGroupNotifyPolicy invokes the cms.DeleteMonitorGroupNotifyPolicy API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupnotifypolicy.html
+func (client *Client) DeleteMonitorGroupNotifyPolicy(request *DeleteMonitorGroupNotifyPolicyRequest) (response *DeleteMonitorGroupNotifyPolicyResponse, err error) {
+	response = CreateDeleteMonitorGroupNotifyPolicyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMonitorGroupNotifyPolicyWithChan invokes the cms.DeleteMonitorGroupNotifyPolicy API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupnotifypolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupNotifyPolicyWithChan(request *DeleteMonitorGroupNotifyPolicyRequest) (<-chan *DeleteMonitorGroupNotifyPolicyResponse, <-chan error) {
+	responseChan := make(chan *DeleteMonitorGroupNotifyPolicyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMonitorGroupNotifyPolicy(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMonitorGroupNotifyPolicyWithCallback invokes the cms.DeleteMonitorGroupNotifyPolicy API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitorgroupnotifypolicy.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitorGroupNotifyPolicyWithCallback(request *DeleteMonitorGroupNotifyPolicyRequest, callback func(response *DeleteMonitorGroupNotifyPolicyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMonitorGroupNotifyPolicyResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMonitorGroupNotifyPolicy(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMonitorGroupNotifyPolicyRequest is the request struct for api DeleteMonitorGroupNotifyPolicy
+type DeleteMonitorGroupNotifyPolicyRequest struct {
+	*requests.RpcRequest
+	PolicyType string `position:"Query" name:"PolicyType"`
+	GroupId    string `position:"Query" name:"GroupId"`
+}
+
+// DeleteMonitorGroupNotifyPolicyResponse is the response struct for api DeleteMonitorGroupNotifyPolicy
+type DeleteMonitorGroupNotifyPolicyResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   string `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    int    `json:"Result" xml:"Result"`
+}
+
+// CreateDeleteMonitorGroupNotifyPolicyRequest creates a request to invoke DeleteMonitorGroupNotifyPolicy API
+func CreateDeleteMonitorGroupNotifyPolicyRequest() (request *DeleteMonitorGroupNotifyPolicyRequest) {
+	request = &DeleteMonitorGroupNotifyPolicyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMonitorGroupNotifyPolicy", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMonitorGroupNotifyPolicyResponse creates a response to parse from DeleteMonitorGroupNotifyPolicy response
+func CreateDeleteMonitorGroupNotifyPolicyResponse() (response *DeleteMonitorGroupNotifyPolicyResponse) {
+	response = &DeleteMonitorGroupNotifyPolicyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cms/delete_monitoring_agent_process.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DeleteMonitoringAgentProcess invokes the cms.DeleteMonitoringAgentProcess API synchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitoringagentprocess.html
+func (client *Client) DeleteMonitoringAgentProcess(request *DeleteMonitoringAgentProcessRequest) (response *DeleteMonitoringAgentProcessResponse, err error) {
+	response = CreateDeleteMonitoringAgentProcessResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteMonitoringAgentProcessWithChan invokes the cms.DeleteMonitoringAgentProcess API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitoringagentprocess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitoringAgentProcessWithChan(request *DeleteMonitoringAgentProcessRequest) (<-chan *DeleteMonitoringAgentProcessResponse, <-chan error) {
+	responseChan := make(chan *DeleteMonitoringAgentProcessResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteMonitoringAgentProcess(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteMonitoringAgentProcessWithCallback invokes the cms.DeleteMonitoringAgentProcess API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletemonitoringagentprocess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteMonitoringAgentProcessWithCallback(request *DeleteMonitoringAgentProcessRequest, callback func(response *DeleteMonitoringAgentProcessResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteMonitoringAgentProcessResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteMonitoringAgentProcess(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteMonitoringAgentProcessRequest is the request struct for api DeleteMonitoringAgentProcess
+type DeleteMonitoringAgentProcessRequest struct {
+	*requests.RpcRequest
+	InstanceId  string `position:"Query" name:"InstanceId"`
+	ProcessId   string `position:"Query" name:"ProcessId"`
+	ProcessName string `position:"Query" name:"ProcessName"`
+}
+
+// DeleteMonitoringAgentProcessResponse is the response struct for api DeleteMonitoringAgentProcess
+type DeleteMonitoringAgentProcessResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteMonitoringAgentProcessRequest creates a request to invoke DeleteMonitoringAgentProcess API
+func CreateDeleteMonitoringAgentProcessRequest() (request *DeleteMonitoringAgentProcessRequest) {
+	request = &DeleteMonitoringAgentProcessRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteMonitoringAgentProcess", "cms", "openAPI")
+	return
+}
+
+// CreateDeleteMonitoringAgentProcessResponse creates a response to parse from DeleteMonitoringAgentProcess response
+func CreateDeleteMonitoringAgentProcessResponse() (response *DeleteMonitoringAgentProcessResponse) {
+	response = &DeleteMonitoringAgentProcessResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/cms/delete_monitoring_template.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"
-)
-
-// DeleteMonitoringTemplate invokes the cms.DeleteMonitoringTemplate API synchronously
-// api document: https://help.aliyun.com/api/cms/deletemonitoringtemplate.html
-func (client *Client) DeleteMonitoringTemplate(request *DeleteMonitoringTemplateRequest) (response *DeleteMonitoringTemplateResponse, err error) {
-	response = CreateDeleteMonitoringTemplateResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteMonitoringTemplateWithChan invokes the cms.DeleteMonitoringTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletemonitoringtemplate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteMonitoringTemplateWithChan(request *DeleteMonitoringTemplateRequest) (<-chan *DeleteMonitoringTemplateResponse, <-chan error) {
-	responseChan := make(chan *DeleteMonitoringTemplateResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteMonitoringTemplate(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteMonitoringTemplateWithCallback invokes the cms.DeleteMonitoringTemplate API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletemonitoringtemplate.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteMonitoringTemplateWithCallback(request *DeleteMonitoringTemplateRequest, callback func(response *DeleteMonitoringTemplateResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteMonitoringTemplateResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteMonitoringTemplate(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteMonitoringTemplateRequest is the request struct for api DeleteMonitoringTemplate
-type DeleteMonitoringTemplateRequest struct {
-	*requests.RpcRequest
-	Id string `position:"Query" name:"Id"`
-}
-
-// DeleteMonitoringTemplateResponse is the response struct for api DeleteMonitoringTemplate
-type DeleteMonitoringTemplateResponse struct {
-	*responses.BaseResponse
-	RequestId    string                             `json:"RequestId" xml:"RequestId"`
-	Success      bool                               `json:"Success" xml:"Success"`
-	ErrorCode    int                                `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string                             `json:"ErrorMessage" xml:"ErrorMessage"`
-	Resource     ResourceInDeleteMonitoringTemplate `json:"Resource" xml:"Resource"`
-}
-
-// CreateDeleteMonitoringTemplateRequest creates a request to invoke DeleteMonitoringTemplate API
-func CreateDeleteMonitoringTemplateRequest() (request *DeleteMonitoringTemplateRequest) {
-	request = &DeleteMonitoringTemplateRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteMonitoringTemplate", "cms", "openAPI")
-	return
-}
-
-// CreateDeleteMonitoringTemplateResponse creates a response to parse from DeleteMonitoringTemplate response
-func CreateDeleteMonitoringTemplateResponse() (response *DeleteMonitoringTemplateResponse) {
-	response = &DeleteMonitoringTemplateResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/cms/delete_my_group_instances.go

@@ -1,109 +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"
-)
-
-// DeleteMyGroupInstances invokes the cms.DeleteMyGroupInstances API synchronously
-// api document: https://help.aliyun.com/api/cms/deletemygroupinstances.html
-func (client *Client) DeleteMyGroupInstances(request *DeleteMyGroupInstancesRequest) (response *DeleteMyGroupInstancesResponse, err error) {
-	response = CreateDeleteMyGroupInstancesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteMyGroupInstancesWithChan invokes the cms.DeleteMyGroupInstances API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletemygroupinstances.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteMyGroupInstancesWithChan(request *DeleteMyGroupInstancesRequest) (<-chan *DeleteMyGroupInstancesResponse, <-chan error) {
-	responseChan := make(chan *DeleteMyGroupInstancesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteMyGroupInstances(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteMyGroupInstancesWithCallback invokes the cms.DeleteMyGroupInstances API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletemygroupinstances.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteMyGroupInstancesWithCallback(request *DeleteMyGroupInstancesRequest, callback func(response *DeleteMyGroupInstancesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteMyGroupInstancesResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteMyGroupInstances(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteMyGroupInstancesRequest is the request struct for api DeleteMyGroupInstances
-type DeleteMyGroupInstancesRequest struct {
-	*requests.RpcRequest
-	InstanceIds    string           `position:"Query" name:"InstanceIds"`
-	InstanceIdList string           `position:"Query" name:"InstanceIdList"`
-	GroupId        requests.Integer `position:"Query" name:"GroupId"`
-	Category       string           `position:"Query" name:"Category"`
-}
-
-// DeleteMyGroupInstancesResponse is the response struct for api DeleteMyGroupInstances
-type DeleteMyGroupInstancesResponse struct {
-	*responses.BaseResponse
-	RequestId    string `json:"RequestId" xml:"RequestId"`
-	Success      bool   `json:"Success" xml:"Success"`
-	ErrorCode    int    `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-}
-
-// CreateDeleteMyGroupInstancesRequest creates a request to invoke DeleteMyGroupInstances API
-func CreateDeleteMyGroupInstancesRequest() (request *DeleteMyGroupInstancesRequest) {
-	request = &DeleteMyGroupInstancesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteMyGroupInstances", "cms", "openAPI")
-	return
-}
-
-// CreateDeleteMyGroupInstancesResponse creates a response to parse from DeleteMyGroupInstances response
-func CreateDeleteMyGroupInstancesResponse() (response *DeleteMyGroupInstancesResponse) {
-	response = &DeleteMyGroupInstancesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/cms/delete_my_groups.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"
-)
-
-// DeleteMyGroups invokes the cms.DeleteMyGroups API synchronously
-// api document: https://help.aliyun.com/api/cms/deletemygroups.html
-func (client *Client) DeleteMyGroups(request *DeleteMyGroupsRequest) (response *DeleteMyGroupsResponse, err error) {
-	response = CreateDeleteMyGroupsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteMyGroupsWithChan invokes the cms.DeleteMyGroups API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletemygroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteMyGroupsWithChan(request *DeleteMyGroupsRequest) (<-chan *DeleteMyGroupsResponse, <-chan error) {
-	responseChan := make(chan *DeleteMyGroupsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteMyGroups(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteMyGroupsWithCallback invokes the cms.DeleteMyGroups API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletemygroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteMyGroupsWithCallback(request *DeleteMyGroupsRequest, callback func(response *DeleteMyGroupsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteMyGroupsResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteMyGroups(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteMyGroupsRequest is the request struct for api DeleteMyGroups
-type DeleteMyGroupsRequest struct {
-	*requests.RpcRequest
-	GroupId requests.Integer `position:"Query" name:"GroupId"`
-}
-
-// DeleteMyGroupsResponse is the response struct for api DeleteMyGroups
-type DeleteMyGroupsResponse struct {
-	*responses.BaseResponse
-	RequestId    string                `json:"RequestId" xml:"RequestId"`
-	Success      bool                  `json:"Success" xml:"Success"`
-	ErrorCode    int                   `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage string                `json:"ErrorMessage" xml:"ErrorMessage"`
-	Group        GroupInDeleteMyGroups `json:"Group" xml:"Group"`
-}
-
-// CreateDeleteMyGroupsRequest creates a request to invoke DeleteMyGroups API
-func CreateDeleteMyGroupsRequest() (request *DeleteMyGroupsRequest) {
-	request = &DeleteMyGroupsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteMyGroups", "cms", "openAPI")
-	return
-}
-
-// CreateDeleteMyGroupsResponse creates a response to parse from DeleteMyGroups response
-func CreateDeleteMyGroupsResponse() (response *DeleteMyGroupsResponse) {
-	response = &DeleteMyGroupsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/cms/delete_notify_policy.go

@@ -1,111 +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"
-)
-
-// DeleteNotifyPolicy invokes the cms.DeleteNotifyPolicy API synchronously
-// api document: https://help.aliyun.com/api/cms/deletenotifypolicy.html
-func (client *Client) DeleteNotifyPolicy(request *DeleteNotifyPolicyRequest) (response *DeleteNotifyPolicyResponse, err error) {
-	response = CreateDeleteNotifyPolicyResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteNotifyPolicyWithChan invokes the cms.DeleteNotifyPolicy API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletenotifypolicy.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteNotifyPolicyWithChan(request *DeleteNotifyPolicyRequest) (<-chan *DeleteNotifyPolicyResponse, <-chan error) {
-	responseChan := make(chan *DeleteNotifyPolicyResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteNotifyPolicy(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteNotifyPolicyWithCallback invokes the cms.DeleteNotifyPolicy API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletenotifypolicy.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteNotifyPolicyWithCallback(request *DeleteNotifyPolicyRequest, callback func(response *DeleteNotifyPolicyResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteNotifyPolicyResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteNotifyPolicy(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteNotifyPolicyRequest is the request struct for api DeleteNotifyPolicy
-type DeleteNotifyPolicyRequest struct {
-	*requests.RpcRequest
-	PolicyType string `position:"Query" name:"PolicyType"`
-	AlertName  string `position:"Query" name:"AlertName"`
-	GroupId    string `position:"Query" name:"GroupId"`
-	Id         string `position:"Query" name:"Id"`
-	Dimensions string `position:"Query" name:"Dimensions"`
-}
-
-// DeleteNotifyPolicyResponse is the response struct for api DeleteNotifyPolicy
-type DeleteNotifyPolicyResponse struct {
-	*responses.BaseResponse
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   string `json:"Success" xml:"Success"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Result    int    `json:"Result" xml:"Result"`
-}
-
-// CreateDeleteNotifyPolicyRequest creates a request to invoke DeleteNotifyPolicy API
-func CreateDeleteNotifyPolicyRequest() (request *DeleteNotifyPolicyRequest) {
-	request = &DeleteNotifyPolicyRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteNotifyPolicy", "cms", "openAPI")
-	return
-}
-
-// CreateDeleteNotifyPolicyResponse creates a response to parse from DeleteNotifyPolicy response
-func CreateDeleteNotifyPolicyResponse() (response *DeleteNotifyPolicyResponse) {
-	response = &DeleteNotifyPolicyResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 26 - 26
services/cms/delete_tasks.go → services/cms/delete_site_monitors.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DeleteTasks invokes the cms.DeleteTasks API synchronously
-// api document: https://help.aliyun.com/api/cms/deletetasks.html
-func (client *Client) DeleteTasks(request *DeleteTasksRequest) (response *DeleteTasksResponse, err error) {
-	response = CreateDeleteTasksResponse()
+// DeleteSiteMonitors invokes the cms.DeleteSiteMonitors API synchronously
+// api document: https://help.aliyun.com/api/cms/deletesitemonitors.html
+func (client *Client) DeleteSiteMonitors(request *DeleteSiteMonitorsRequest) (response *DeleteSiteMonitorsResponse, err error) {
+	response = CreateDeleteSiteMonitorsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DeleteTasksWithChan invokes the cms.DeleteTasks API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletetasks.html
+// DeleteSiteMonitorsWithChan invokes the cms.DeleteSiteMonitors API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletesitemonitors.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTasksWithChan(request *DeleteTasksRequest) (<-chan *DeleteTasksResponse, <-chan error) {
-	responseChan := make(chan *DeleteTasksResponse, 1)
+func (client *Client) DeleteSiteMonitorsWithChan(request *DeleteSiteMonitorsRequest) (<-chan *DeleteSiteMonitorsResponse, <-chan error) {
+	responseChan := make(chan *DeleteSiteMonitorsResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DeleteTasks(request)
+		response, err := client.DeleteSiteMonitors(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DeleteTasksWithChan(request *DeleteTasksRequest) (<-chan *
 	return responseChan, errChan
 }
 
-// DeleteTasksWithCallback invokes the cms.DeleteTasks API asynchronously
-// api document: https://help.aliyun.com/api/cms/deletetasks.html
+// DeleteSiteMonitorsWithCallback invokes the cms.DeleteSiteMonitors API asynchronously
+// api document: https://help.aliyun.com/api/cms/deletesitemonitors.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTasksWithCallback(request *DeleteTasksRequest, callback func(response *DeleteTasksResponse, err error)) <-chan int {
+func (client *Client) DeleteSiteMonitorsWithCallback(request *DeleteSiteMonitorsRequest, callback func(response *DeleteSiteMonitorsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DeleteTasksResponse
+		var response *DeleteSiteMonitorsResponse
 		var err error
 		defer close(result)
-		response, err = client.DeleteTasks(request)
+		response, err = client.DeleteSiteMonitors(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,15 +73,15 @@ func (client *Client) DeleteTasksWithCallback(request *DeleteTasksRequest, callb
 	return result
 }
 
-// DeleteTasksRequest is the request struct for api DeleteTasks
-type DeleteTasksRequest struct {
+// DeleteSiteMonitorsRequest is the request struct for api DeleteSiteMonitors
+type DeleteSiteMonitorsRequest struct {
 	*requests.RpcRequest
-	IsDeleteAlarms requests.Integer `position:"Query" name:"IsDeleteAlarms"`
+	IsDeleteAlarms requests.Boolean `position:"Query" name:"IsDeleteAlarms"`
 	TaskIds        string           `position:"Query" name:"TaskIds"`
 }
 
-// DeleteTasksResponse is the response struct for api DeleteTasks
-type DeleteTasksResponse struct {
+// DeleteSiteMonitorsResponse is the response struct for api DeleteSiteMonitors
+type DeleteSiteMonitorsResponse struct {
 	*responses.BaseResponse
 	Code      string `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
@@ -90,18 +90,18 @@ type DeleteTasksResponse struct {
 	Data      string `json:"Data" xml:"Data"`
 }
 
-// CreateDeleteTasksRequest creates a request to invoke DeleteTasks API
-func CreateDeleteTasksRequest() (request *DeleteTasksRequest) {
-	request = &DeleteTasksRequest{
+// CreateDeleteSiteMonitorsRequest creates a request to invoke DeleteSiteMonitors API
+func CreateDeleteSiteMonitorsRequest() (request *DeleteSiteMonitorsRequest) {
+	request = &DeleteSiteMonitorsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteTasks", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DeleteSiteMonitors", "cms", "openAPI")
 	return
 }
 
-// CreateDeleteTasksResponse creates a response to parse from DeleteTasks response
-func CreateDeleteTasksResponse() (response *DeleteTasksResponse) {
-	response = &DeleteTasksResponse{
+// CreateDeleteSiteMonitorsResponse creates a response to parse from DeleteSiteMonitors response
+func CreateDeleteSiteMonitorsResponse() (response *DeleteSiteMonitorsResponse) {
+	response = &DeleteSiteMonitorsResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 107 - 0
services/cms/describe_active_metric_rule_list.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeActiveMetricRuleList invokes the cms.DescribeActiveMetricRuleList API synchronously
+// api document: https://help.aliyun.com/api/cms/describeactivemetricrulelist.html
+func (client *Client) DescribeActiveMetricRuleList(request *DescribeActiveMetricRuleListRequest) (response *DescribeActiveMetricRuleListResponse, err error) {
+	response = CreateDescribeActiveMetricRuleListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeActiveMetricRuleListWithChan invokes the cms.DescribeActiveMetricRuleList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeactivemetricrulelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveMetricRuleListWithChan(request *DescribeActiveMetricRuleListRequest) (<-chan *DescribeActiveMetricRuleListResponse, <-chan error) {
+	responseChan := make(chan *DescribeActiveMetricRuleListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeActiveMetricRuleList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeActiveMetricRuleListWithCallback invokes the cms.DescribeActiveMetricRuleList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeactivemetricrulelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeActiveMetricRuleListWithCallback(request *DescribeActiveMetricRuleListRequest, callback func(response *DescribeActiveMetricRuleListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeActiveMetricRuleListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeActiveMetricRuleList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeActiveMetricRuleListRequest is the request struct for api DescribeActiveMetricRuleList
+type DescribeActiveMetricRuleListRequest struct {
+	*requests.RpcRequest
+	Product string `position:"Query" name:"Product"`
+}
+
+// DescribeActiveMetricRuleListResponse is the response struct for api DescribeActiveMetricRuleList
+type DescribeActiveMetricRuleListResponse struct {
+	*responses.BaseResponse
+	Success    bool       `json:"Success" xml:"Success"`
+	Code       string     `json:"Code" xml:"Code"`
+	Message    string     `json:"Message" xml:"Message"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	Datapoints Datapoints `json:"Datapoints" xml:"Datapoints"`
+}
+
+// CreateDescribeActiveMetricRuleListRequest creates a request to invoke DescribeActiveMetricRuleList API
+func CreateDescribeActiveMetricRuleListRequest() (request *DescribeActiveMetricRuleListRequest) {
+	request = &DescribeActiveMetricRuleListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeActiveMetricRuleList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeActiveMetricRuleListResponse creates a response to parse from DescribeActiveMetricRuleList response
+func CreateDescribeActiveMetricRuleListResponse() (response *DescribeActiveMetricRuleListResponse) {
+	response = &DescribeActiveMetricRuleListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 120
services/cms/describe_alarm_history.go

@@ -1,120 +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"
-)
-
-// DescribeAlarmHistory invokes the cms.DescribeAlarmHistory API synchronously
-// api document: https://help.aliyun.com/api/cms/describealarmhistory.html
-func (client *Client) DescribeAlarmHistory(request *DescribeAlarmHistoryRequest) (response *DescribeAlarmHistoryResponse, err error) {
-	response = CreateDescribeAlarmHistoryResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeAlarmHistoryWithChan invokes the cms.DescribeAlarmHistory API asynchronously
-// api document: https://help.aliyun.com/api/cms/describealarmhistory.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAlarmHistoryWithChan(request *DescribeAlarmHistoryRequest) (<-chan *DescribeAlarmHistoryResponse, <-chan error) {
-	responseChan := make(chan *DescribeAlarmHistoryResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeAlarmHistory(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeAlarmHistoryWithCallback invokes the cms.DescribeAlarmHistory API asynchronously
-// api document: https://help.aliyun.com/api/cms/describealarmhistory.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAlarmHistoryWithCallback(request *DescribeAlarmHistoryRequest, callback func(response *DescribeAlarmHistoryResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeAlarmHistoryResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeAlarmHistory(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeAlarmHistoryRequest is the request struct for api DescribeAlarmHistory
-type DescribeAlarmHistoryRequest struct {
-	*requests.RpcRequest
-	AlertName  string           `position:"Query" name:"AlertName"`
-	GroupId    string           `position:"Query" name:"GroupId"`
-	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"`
-	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
-type DescribeAlarmHistoryResponse struct {
-	*responses.BaseResponse
-	Success          bool                                   `json:"Success" xml:"Success"`
-	Code             string                                 `json:"Code" xml:"Code"`
-	Message          string                                 `json:"Message" xml:"Message"`
-	Total            string                                 `json:"Total" xml:"Total"`
-	RequestId        string                                 `json:"RequestId" xml:"RequestId"`
-	AlarmHistoryList AlarmHistoryListInDescribeAlarmHistory `json:"AlarmHistoryList" xml:"AlarmHistoryList"`
-}
-
-// CreateDescribeAlarmHistoryRequest creates a request to invoke DescribeAlarmHistory API
-func CreateDescribeAlarmHistoryRequest() (request *DescribeAlarmHistoryRequest) {
-	request = &DescribeAlarmHistoryRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeAlarmHistory", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeAlarmHistoryResponse creates a response to parse from DescribeAlarmHistory response
-func CreateDescribeAlarmHistoryResponse() (response *DescribeAlarmHistoryResponse) {
-	response = &DescribeAlarmHistoryResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 119
services/cms/describe_alarms.go

@@ -1,119 +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"
-)
-
-// DescribeAlarms invokes the cms.DescribeAlarms API synchronously
-// api document: https://help.aliyun.com/api/cms/describealarms.html
-func (client *Client) DescribeAlarms(request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error) {
-	response = CreateDescribeAlarmsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeAlarmsWithChan invokes the cms.DescribeAlarms API asynchronously
-// api document: https://help.aliyun.com/api/cms/describealarms.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAlarmsWithChan(request *DescribeAlarmsRequest) (<-chan *DescribeAlarmsResponse, <-chan error) {
-	responseChan := make(chan *DescribeAlarmsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeAlarms(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeAlarmsWithCallback invokes the cms.DescribeAlarms API asynchronously
-// api document: https://help.aliyun.com/api/cms/describealarms.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAlarmsWithCallback(request *DescribeAlarmsRequest, callback func(response *DescribeAlarmsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeAlarmsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeAlarms(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeAlarmsRequest is the request struct for api DescribeAlarms
-type DescribeAlarmsRequest struct {
-	*requests.RpcRequest
-	EnableState requests.Boolean `position:"Query" name:"EnableState"`
-	Names       string           `position:"Query" name:"Names"`
-	DisplayName string           `position:"Query" name:"DisplayName"`
-	GroupId     string           `position:"Query" name:"GroupId"`
-	Namespace   string           `position:"Query" name:"Namespace"`
-	PageSize    string           `position:"Query" name:"PageSize"`
-	AlertState  string           `position:"Query" name:"AlertState"`
-	NameKeyword string           `position:"Query" name:"NameKeyword"`
-	GroupBy     string           `position:"Query" name:"GroupBy"`
-	Page        string           `position:"Query" name:"Page"`
-	MetricName  string           `position:"Query" name:"MetricName"`
-}
-
-// DescribeAlarmsResponse is the response struct for api DescribeAlarms
-type DescribeAlarmsResponse struct {
-	*responses.BaseResponse
-	RequestId  string                     `json:"RequestId" xml:"RequestId"`
-	TraceId    string                     `json:"TraceId" xml:"TraceId"`
-	Success    bool                       `json:"Success" xml:"Success"`
-	Code       int                        `json:"Code" xml:"Code"`
-	Message    string                     `json:"Message" xml:"Message"`
-	Total      string                     `json:"Total" xml:"Total"`
-	Datapoints DatapointsInDescribeAlarms `json:"Datapoints" xml:"Datapoints"`
-}
-
-// CreateDescribeAlarmsRequest creates a request to invoke DescribeAlarms API
-func CreateDescribeAlarmsRequest() (request *DescribeAlarmsRequest) {
-	request = &DescribeAlarmsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeAlarms", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeAlarmsResponse creates a response to parse from DescribeAlarms response
-func CreateDescribeAlarmsResponse() (response *DescribeAlarmsResponse) {
-	response = &DescribeAlarmsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 117
services/cms/describe_alarms_for_resources.go

@@ -1,117 +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"
-)
-
-// DescribeAlarmsForResources invokes the cms.DescribeAlarmsForResources API synchronously
-// api document: https://help.aliyun.com/api/cms/describealarmsforresources.html
-func (client *Client) DescribeAlarmsForResources(request *DescribeAlarmsForResourcesRequest) (response *DescribeAlarmsForResourcesResponse, err error) {
-	response = CreateDescribeAlarmsForResourcesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeAlarmsForResourcesWithChan invokes the cms.DescribeAlarmsForResources API asynchronously
-// api document: https://help.aliyun.com/api/cms/describealarmsforresources.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAlarmsForResourcesWithChan(request *DescribeAlarmsForResourcesRequest) (<-chan *DescribeAlarmsForResourcesResponse, <-chan error) {
-	responseChan := make(chan *DescribeAlarmsForResourcesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeAlarmsForResources(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeAlarmsForResourcesWithCallback invokes the cms.DescribeAlarmsForResources API asynchronously
-// api document: https://help.aliyun.com/api/cms/describealarmsforresources.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeAlarmsForResourcesWithCallback(request *DescribeAlarmsForResourcesRequest, callback func(response *DescribeAlarmsForResourcesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeAlarmsForResourcesResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeAlarmsForResources(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeAlarmsForResourcesRequest is the request struct for api DescribeAlarmsForResources
-type DescribeAlarmsForResourcesRequest struct {
-	*requests.RpcRequest
-	EnableState requests.Boolean `position:"Query" name:"EnableState"`
-	GroupId     string           `position:"Query" name:"GroupId"`
-	Namespace   string           `position:"Query" name:"Namespace"`
-	PageSize    string           `position:"Query" name:"PageSize"`
-	AlertState  string           `position:"Query" name:"AlertState"`
-	Page        string           `position:"Query" name:"Page"`
-	MetricName  string           `position:"Query" name:"MetricName"`
-	Dimensions  string           `position:"Query" name:"Dimensions"`
-}
-
-// DescribeAlarmsForResourcesResponse is the response struct for api DescribeAlarmsForResources
-type DescribeAlarmsForResourcesResponse struct {
-	*responses.BaseResponse
-	RequestId  string                                 `json:"RequestId" xml:"RequestId"`
-	TraceId    string                                 `json:"TraceId" xml:"TraceId"`
-	Success    bool                                   `json:"Success" xml:"Success"`
-	Code       int                                    `json:"Code" xml:"Code"`
-	Message    string                                 `json:"Message" xml:"Message"`
-	Total      string                                 `json:"Total" xml:"Total"`
-	Dimensions string                                 `json:"Dimensions" xml:"Dimensions"`
-	Datapoints DatapointsInDescribeAlarmsForResources `json:"Datapoints" xml:"Datapoints"`
-}
-
-// CreateDescribeAlarmsForResourcesRequest creates a request to invoke DescribeAlarmsForResources API
-func CreateDescribeAlarmsForResourcesRequest() (request *DescribeAlarmsForResourcesRequest) {
-	request = &DescribeAlarmsForResourcesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeAlarmsForResources", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeAlarmsForResourcesResponse creates a response to parse from DescribeAlarmsForResources response
-func CreateDescribeAlarmsForResourcesResponse() (response *DescribeAlarmsForResourcesResponse) {
-	response = &DescribeAlarmsForResourcesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 119 - 0
services/cms/describe_alert_history_list.go

@@ -0,0 +1,119 @@
+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"
+)
+
+// DescribeAlertHistoryList invokes the cms.DescribeAlertHistoryList API synchronously
+// api document: https://help.aliyun.com/api/cms/describealerthistorylist.html
+func (client *Client) DescribeAlertHistoryList(request *DescribeAlertHistoryListRequest) (response *DescribeAlertHistoryListResponse, err error) {
+	response = CreateDescribeAlertHistoryListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAlertHistoryListWithChan invokes the cms.DescribeAlertHistoryList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describealerthistorylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAlertHistoryListWithChan(request *DescribeAlertHistoryListRequest) (<-chan *DescribeAlertHistoryListResponse, <-chan error) {
+	responseChan := make(chan *DescribeAlertHistoryListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAlertHistoryList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAlertHistoryListWithCallback invokes the cms.DescribeAlertHistoryList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describealerthistorylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAlertHistoryListWithCallback(request *DescribeAlertHistoryListRequest, callback func(response *DescribeAlertHistoryListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAlertHistoryListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAlertHistoryList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAlertHistoryListRequest is the request struct for api DescribeAlertHistoryList
+type DescribeAlertHistoryListRequest struct {
+	*requests.RpcRequest
+	GroupId     string           `position:"Query" name:"GroupId"`
+	AlertStatus string           `position:"Query" name:"AlertStatus"`
+	Namespace   string           `position:"Query" name:"Namespace"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	RuleName    string           `position:"Query" name:"RuleName"`
+	State       string           `position:"Query" name:"State"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	Page        requests.Integer `position:"Query" name:"Page"`
+	RuleId      string           `position:"Query" name:"RuleId"`
+	MetricName  string           `position:"Query" name:"MetricName"`
+	Ascending   requests.Boolean `position:"Query" name:"Ascending"`
+}
+
+// DescribeAlertHistoryListResponse is the response struct for api DescribeAlertHistoryList
+type DescribeAlertHistoryListResponse struct {
+	*responses.BaseResponse
+	Success          bool             `json:"Success" xml:"Success"`
+	Code             string           `json:"Code" xml:"Code"`
+	Message          string           `json:"Message" xml:"Message"`
+	Total            string           `json:"Total" xml:"Total"`
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	AlarmHistoryList AlarmHistoryList `json:"AlarmHistoryList" xml:"AlarmHistoryList"`
+}
+
+// CreateDescribeAlertHistoryListRequest creates a request to invoke DescribeAlertHistoryList API
+func CreateDescribeAlertHistoryListRequest() (request *DescribeAlertHistoryListRequest) {
+	request = &DescribeAlertHistoryListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeAlertHistoryList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeAlertHistoryListResponse creates a response to parse from DescribeAlertHistoryList response
+func CreateDescribeAlertHistoryListResponse() (response *DescribeAlertHistoryListResponse) {
+	response = &DescribeAlertHistoryListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/cms/describe_alerting_metric_rule_resources.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// DescribeAlertingMetricRuleResources invokes the cms.DescribeAlertingMetricRuleResources API synchronously
+// api document: https://help.aliyun.com/api/cms/describealertingmetricruleresources.html
+func (client *Client) DescribeAlertingMetricRuleResources(request *DescribeAlertingMetricRuleResourcesRequest) (response *DescribeAlertingMetricRuleResourcesResponse, err error) {
+	response = CreateDescribeAlertingMetricRuleResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAlertingMetricRuleResourcesWithChan invokes the cms.DescribeAlertingMetricRuleResources API asynchronously
+// api document: https://help.aliyun.com/api/cms/describealertingmetricruleresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAlertingMetricRuleResourcesWithChan(request *DescribeAlertingMetricRuleResourcesRequest) (<-chan *DescribeAlertingMetricRuleResourcesResponse, <-chan error) {
+	responseChan := make(chan *DescribeAlertingMetricRuleResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAlertingMetricRuleResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAlertingMetricRuleResourcesWithCallback invokes the cms.DescribeAlertingMetricRuleResources API asynchronously
+// api document: https://help.aliyun.com/api/cms/describealertingmetricruleresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAlertingMetricRuleResourcesWithCallback(request *DescribeAlertingMetricRuleResourcesRequest, callback func(response *DescribeAlertingMetricRuleResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAlertingMetricRuleResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAlertingMetricRuleResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAlertingMetricRuleResourcesRequest is the request struct for api DescribeAlertingMetricRuleResources
+type DescribeAlertingMetricRuleResourcesRequest struct {
+	*requests.RpcRequest
+	GroupId string `position:"Query" name:"GroupId"`
+	RuleId  string `position:"Query" name:"RuleId"`
+}
+
+// DescribeAlertingMetricRuleResourcesResponse is the response struct for api DescribeAlertingMetricRuleResources
+type DescribeAlertingMetricRuleResourcesResponse struct {
+	*responses.BaseResponse
+	RequestId string                                         `json:"RequestId" xml:"RequestId"`
+	Success   bool                                           `json:"Success" xml:"Success"`
+	Code      int                                            `json:"Code" xml:"Code"`
+	Message   string                                         `json:"Message" xml:"Message"`
+	Total     int                                            `json:"Total" xml:"Total"`
+	Resources ResourcesInDescribeAlertingMetricRuleResources `json:"Resources" xml:"Resources"`
+}
+
+// CreateDescribeAlertingMetricRuleResourcesRequest creates a request to invoke DescribeAlertingMetricRuleResources API
+func CreateDescribeAlertingMetricRuleResourcesRequest() (request *DescribeAlertingMetricRuleResourcesRequest) {
+	request = &DescribeAlertingMetricRuleResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeAlertingMetricRuleResources", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeAlertingMetricRuleResourcesResponse creates a response to parse from DescribeAlertingMetricRuleResources response
+func CreateDescribeAlertingMetricRuleResourcesResponse() (response *DescribeAlertingMetricRuleResourcesResponse) {
+	response = &DescribeAlertingMetricRuleResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/cms/describe_contact.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"
-)
-
-// DescribeContact invokes the cms.DescribeContact API synchronously
-// api document: https://help.aliyun.com/api/cms/describecontact.html
-func (client *Client) DescribeContact(request *DescribeContactRequest) (response *DescribeContactResponse, err error) {
-	response = CreateDescribeContactResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeContactWithChan invokes the cms.DescribeContact API asynchronously
-// api document: https://help.aliyun.com/api/cms/describecontact.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeContactWithChan(request *DescribeContactRequest) (<-chan *DescribeContactResponse, <-chan error) {
-	responseChan := make(chan *DescribeContactResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeContact(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeContactWithCallback invokes the cms.DescribeContact API asynchronously
-// api document: https://help.aliyun.com/api/cms/describecontact.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeContactWithCallback(request *DescribeContactRequest, callback func(response *DescribeContactResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeContactResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeContact(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeContactRequest is the request struct for api DescribeContact
-type DescribeContactRequest struct {
-	*requests.RpcRequest
-	ContactName string `position:"Query" name:"ContactName"`
-}
-
-// DescribeContactResponse is the response struct for api DescribeContact
-type DescribeContactResponse struct {
-	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	Success    bool       `json:"Success" xml:"Success"`
-	Code       int        `json:"Code" xml:"Code"`
-	Message    string     `json:"Message" xml:"Message"`
-	Datapoints Datapoints `json:"Datapoints" xml:"Datapoints"`
-}
-
-// CreateDescribeContactRequest creates a request to invoke DescribeContact API
-func CreateDescribeContactRequest() (request *DescribeContactRequest) {
-	request = &DescribeContactRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeContact", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeContactResponse creates a response to parse from DescribeContact response
-func CreateDescribeContactResponse() (response *DescribeContactResponse) {
-	response = &DescribeContactResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 109 - 0
services/cms/describe_contact_group_list.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// DescribeContactGroupList invokes the cms.DescribeContactGroupList API synchronously
+// api document: https://help.aliyun.com/api/cms/describecontactgrouplist.html
+func (client *Client) DescribeContactGroupList(request *DescribeContactGroupListRequest) (response *DescribeContactGroupListResponse, err error) {
+	response = CreateDescribeContactGroupListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeContactGroupListWithChan invokes the cms.DescribeContactGroupList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecontactgrouplist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeContactGroupListWithChan(request *DescribeContactGroupListRequest) (<-chan *DescribeContactGroupListResponse, <-chan error) {
+	responseChan := make(chan *DescribeContactGroupListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeContactGroupList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeContactGroupListWithCallback invokes the cms.DescribeContactGroupList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecontactgrouplist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeContactGroupListWithCallback(request *DescribeContactGroupListRequest, callback func(response *DescribeContactGroupListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeContactGroupListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeContactGroupList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeContactGroupListRequest is the request struct for api DescribeContactGroupList
+type DescribeContactGroupListRequest struct {
+	*requests.RpcRequest
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeContactGroupListResponse is the response struct for api DescribeContactGroupList
+type DescribeContactGroupListResponse struct {
+	*responses.BaseResponse
+	Success       bool                                    `json:"Success" xml:"Success"`
+	Code          string                                  `json:"Code" xml:"Code"`
+	Message       string                                  `json:"Message" xml:"Message"`
+	Total         int                                     `json:"Total" xml:"Total"`
+	RequestId     string                                  `json:"RequestId" xml:"RequestId"`
+	ContactGroups ContactGroupsInDescribeContactGroupList `json:"ContactGroups" xml:"ContactGroups"`
+}
+
+// CreateDescribeContactGroupListRequest creates a request to invoke DescribeContactGroupList API
+func CreateDescribeContactGroupListRequest() (request *DescribeContactGroupListRequest) {
+	request = &DescribeContactGroupListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeContactGroupList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeContactGroupListResponse creates a response to parse from DescribeContactGroupList response
+func CreateDescribeContactGroupListResponse() (response *DescribeContactGroupListResponse) {
+	response = &DescribeContactGroupListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/cms/describe_contact_list.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// DescribeContactList invokes the cms.DescribeContactList API synchronously
+// api document: https://help.aliyun.com/api/cms/describecontactlist.html
+func (client *Client) DescribeContactList(request *DescribeContactListRequest) (response *DescribeContactListResponse, err error) {
+	response = CreateDescribeContactListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeContactListWithChan invokes the cms.DescribeContactList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecontactlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeContactListWithChan(request *DescribeContactListRequest) (<-chan *DescribeContactListResponse, <-chan error) {
+	responseChan := make(chan *DescribeContactListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeContactList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeContactListWithCallback invokes the cms.DescribeContactList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecontactlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeContactListWithCallback(request *DescribeContactListRequest, callback func(response *DescribeContactListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeContactListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeContactList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeContactListRequest is the request struct for api DescribeContactList
+type DescribeContactListRequest struct {
+	*requests.RpcRequest
+	ContactName string           `position:"Query" name:"ContactName"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// DescribeContactListResponse is the response struct for api DescribeContactList
+type DescribeContactListResponse struct {
+	*responses.BaseResponse
+	Success   bool                          `json:"Success" xml:"Success"`
+	Code      string                        `json:"Code" xml:"Code"`
+	Message   string                        `json:"Message" xml:"Message"`
+	Total     int                           `json:"Total" xml:"Total"`
+	RequestId string                        `json:"RequestId" xml:"RequestId"`
+	Contacts  ContactsInDescribeContactList `json:"Contacts" xml:"Contacts"`
+}
+
+// CreateDescribeContactListRequest creates a request to invoke DescribeContactList API
+func CreateDescribeContactListRequest() (request *DescribeContactListRequest) {
+	request = &DescribeContactListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeContactList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeContactListResponse creates a response to parse from DescribeContactList response
+func CreateDescribeContactListResponse() (response *DescribeContactListResponse) {
+	response = &DescribeContactListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/describe_contact_list_by_contact_group.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeContactListByContactGroup invokes the cms.DescribeContactListByContactGroup API synchronously
+// api document: https://help.aliyun.com/api/cms/describecontactlistbycontactgroup.html
+func (client *Client) DescribeContactListByContactGroup(request *DescribeContactListByContactGroupRequest) (response *DescribeContactListByContactGroupResponse, err error) {
+	response = CreateDescribeContactListByContactGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeContactListByContactGroupWithChan invokes the cms.DescribeContactListByContactGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecontactlistbycontactgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeContactListByContactGroupWithChan(request *DescribeContactListByContactGroupRequest) (<-chan *DescribeContactListByContactGroupResponse, <-chan error) {
+	responseChan := make(chan *DescribeContactListByContactGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeContactListByContactGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeContactListByContactGroupWithCallback invokes the cms.DescribeContactListByContactGroup API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecontactlistbycontactgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeContactListByContactGroupWithCallback(request *DescribeContactListByContactGroupRequest, callback func(response *DescribeContactListByContactGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeContactListByContactGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeContactListByContactGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeContactListByContactGroupRequest is the request struct for api DescribeContactListByContactGroup
+type DescribeContactListByContactGroupRequest struct {
+	*requests.RpcRequest
+	ContactGroupName string `position:"Query" name:"ContactGroupName"`
+}
+
+// DescribeContactListByContactGroupResponse is the response struct for api DescribeContactListByContactGroup
+type DescribeContactListByContactGroupResponse struct {
+	*responses.BaseResponse
+	Success   bool                                        `json:"Success" xml:"Success"`
+	Code      string                                      `json:"Code" xml:"Code"`
+	Message   string                                      `json:"Message" xml:"Message"`
+	RequestId string                                      `json:"RequestId" xml:"RequestId"`
+	Contacts  ContactsInDescribeContactListByContactGroup `json:"Contacts" xml:"Contacts"`
+}
+
+// CreateDescribeContactListByContactGroupRequest creates a request to invoke DescribeContactListByContactGroup API
+func CreateDescribeContactListByContactGroupRequest() (request *DescribeContactListByContactGroupRequest) {
+	request = &DescribeContactListByContactGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeContactListByContactGroup", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeContactListByContactGroupResponse creates a response to parse from DescribeContactListByContactGroup response
+func CreateDescribeContactListByContactGroupResponse() (response *DescribeContactListByContactGroupResponse) {
+	response = &DescribeContactListByContactGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/cms/describe_custom_event_attribute.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// DescribeCustomEventAttribute invokes the cms.DescribeCustomEventAttribute API synchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventattribute.html
+func (client *Client) DescribeCustomEventAttribute(request *DescribeCustomEventAttributeRequest) (response *DescribeCustomEventAttributeResponse, err error) {
+	response = CreateDescribeCustomEventAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCustomEventAttributeWithChan invokes the cms.DescribeCustomEventAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomEventAttributeWithChan(request *DescribeCustomEventAttributeRequest) (<-chan *DescribeCustomEventAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeCustomEventAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCustomEventAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCustomEventAttributeWithCallback invokes the cms.DescribeCustomEventAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomEventAttributeWithCallback(request *DescribeCustomEventAttributeRequest, callback func(response *DescribeCustomEventAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCustomEventAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCustomEventAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCustomEventAttributeRequest is the request struct for api DescribeCustomEventAttribute
+type DescribeCustomEventAttributeRequest struct {
+	*requests.RpcRequest
+	EventId        string           `position:"Query" name:"EventId"`
+	Level          string           `position:"Query" name:"Level"`
+	GroupId        string           `position:"Query" name:"GroupId"`
+	Name           string           `position:"Query" name:"Name"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeCustomEventAttributeResponse is the response struct for api DescribeCustomEventAttribute
+type DescribeCustomEventAttributeResponse struct {
+	*responses.BaseResponse
+	Code         string       `json:"Code" xml:"Code"`
+	Message      string       `json:"Message" xml:"Message"`
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	Success      string       `json:"Success" xml:"Success"`
+	CustomEvents CustomEvents `json:"CustomEvents" xml:"CustomEvents"`
+}
+
+// CreateDescribeCustomEventAttributeRequest creates a request to invoke DescribeCustomEventAttribute API
+func CreateDescribeCustomEventAttributeRequest() (request *DescribeCustomEventAttributeRequest) {
+	request = &DescribeCustomEventAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeCustomEventAttribute", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeCustomEventAttributeResponse creates a response to parse from DescribeCustomEventAttribute response
+func CreateDescribeCustomEventAttributeResponse() (response *DescribeCustomEventAttributeResponse) {
+	response = &DescribeCustomEventAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/cms/describe_custom_event_count.go

@@ -0,0 +1,113 @@
+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"
+)
+
+// DescribeCustomEventCount invokes the cms.DescribeCustomEventCount API synchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventcount.html
+func (client *Client) DescribeCustomEventCount(request *DescribeCustomEventCountRequest) (response *DescribeCustomEventCountResponse, err error) {
+	response = CreateDescribeCustomEventCountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCustomEventCountWithChan invokes the cms.DescribeCustomEventCount API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventcount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomEventCountWithChan(request *DescribeCustomEventCountRequest) (<-chan *DescribeCustomEventCountResponse, <-chan error) {
+	responseChan := make(chan *DescribeCustomEventCountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCustomEventCount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCustomEventCountWithCallback invokes the cms.DescribeCustomEventCount API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventcount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomEventCountWithCallback(request *DescribeCustomEventCountRequest, callback func(response *DescribeCustomEventCountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCustomEventCountResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCustomEventCount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCustomEventCountRequest is the request struct for api DescribeCustomEventCount
+type DescribeCustomEventCountRequest struct {
+	*requests.RpcRequest
+	EventId        string `position:"Query" name:"EventId"`
+	Level          string `position:"Query" name:"Level"`
+	GroupId        string `position:"Query" name:"GroupId"`
+	Name           string `position:"Query" name:"Name"`
+	EndTime        string `position:"Query" name:"EndTime"`
+	StartTime      string `position:"Query" name:"StartTime"`
+	SearchKeywords string `position:"Query" name:"SearchKeywords"`
+}
+
+// DescribeCustomEventCountResponse is the response struct for api DescribeCustomEventCount
+type DescribeCustomEventCountResponse 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"`
+	CustomEventCounts CustomEventCounts `json:"CustomEventCounts" xml:"CustomEventCounts"`
+}
+
+// CreateDescribeCustomEventCountRequest creates a request to invoke DescribeCustomEventCount API
+func CreateDescribeCustomEventCountRequest() (request *DescribeCustomEventCountRequest) {
+	request = &DescribeCustomEventCountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeCustomEventCount", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeCustomEventCountResponse creates a response to parse from DescribeCustomEventCount response
+func CreateDescribeCustomEventCountResponse() (response *DescribeCustomEventCountResponse) {
+	response = &DescribeCustomEventCountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/cms/describe_custom_event_histogram.go

@@ -0,0 +1,113 @@
+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"
+)
+
+// DescribeCustomEventHistogram invokes the cms.DescribeCustomEventHistogram API synchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventhistogram.html
+func (client *Client) DescribeCustomEventHistogram(request *DescribeCustomEventHistogramRequest) (response *DescribeCustomEventHistogramResponse, err error) {
+	response = CreateDescribeCustomEventHistogramResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCustomEventHistogramWithChan invokes the cms.DescribeCustomEventHistogram API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventhistogram.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomEventHistogramWithChan(request *DescribeCustomEventHistogramRequest) (<-chan *DescribeCustomEventHistogramResponse, <-chan error) {
+	responseChan := make(chan *DescribeCustomEventHistogramResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCustomEventHistogram(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCustomEventHistogramWithCallback invokes the cms.DescribeCustomEventHistogram API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustomeventhistogram.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomEventHistogramWithCallback(request *DescribeCustomEventHistogramRequest, callback func(response *DescribeCustomEventHistogramResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCustomEventHistogramResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCustomEventHistogram(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCustomEventHistogramRequest is the request struct for api DescribeCustomEventHistogram
+type DescribeCustomEventHistogramRequest struct {
+	*requests.RpcRequest
+	EventId        string `position:"Query" name:"EventId"`
+	Level          string `position:"Query" name:"Level"`
+	GroupId        string `position:"Query" name:"GroupId"`
+	Name           string `position:"Query" name:"Name"`
+	EndTime        string `position:"Query" name:"EndTime"`
+	StartTime      string `position:"Query" name:"StartTime"`
+	SearchKeywords string `position:"Query" name:"SearchKeywords"`
+}
+
+// DescribeCustomEventHistogramResponse is the response struct for api DescribeCustomEventHistogram
+type DescribeCustomEventHistogramResponse struct {
+	*responses.BaseResponse
+	Code            string          `json:"Code" xml:"Code"`
+	Message         string          `json:"Message" xml:"Message"`
+	RequestId       string          `json:"RequestId" xml:"RequestId"`
+	Success         string          `json:"Success" xml:"Success"`
+	EventHistograms EventHistograms `json:"EventHistograms" xml:"EventHistograms"`
+}
+
+// CreateDescribeCustomEventHistogramRequest creates a request to invoke DescribeCustomEventHistogram API
+func CreateDescribeCustomEventHistogramRequest() (request *DescribeCustomEventHistogramRequest) {
+	request = &DescribeCustomEventHistogramRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeCustomEventHistogram", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeCustomEventHistogramResponse creates a response to parse from DescribeCustomEventHistogram response
+func CreateDescribeCustomEventHistogramResponse() (response *DescribeCustomEventHistogramResponse) {
+	response = &DescribeCustomEventHistogramResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/cms/describe_custom_metric_list.go

@@ -0,0 +1,111 @@
+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"
+)
+
+// DescribeCustomMetricList invokes the cms.DescribeCustomMetricList API synchronously
+// api document: https://help.aliyun.com/api/cms/describecustommetriclist.html
+func (client *Client) DescribeCustomMetricList(request *DescribeCustomMetricListRequest) (response *DescribeCustomMetricListResponse, err error) {
+	response = CreateDescribeCustomMetricListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCustomMetricListWithChan invokes the cms.DescribeCustomMetricList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustommetriclist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomMetricListWithChan(request *DescribeCustomMetricListRequest) (<-chan *DescribeCustomMetricListResponse, <-chan error) {
+	responseChan := make(chan *DescribeCustomMetricListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCustomMetricList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCustomMetricListWithCallback invokes the cms.DescribeCustomMetricList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describecustommetriclist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCustomMetricListWithCallback(request *DescribeCustomMetricListRequest, callback func(response *DescribeCustomMetricListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCustomMetricListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCustomMetricList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCustomMetricListRequest is the request struct for api DescribeCustomMetricList
+type DescribeCustomMetricListRequest struct {
+	*requests.RpcRequest
+	GroupId    string `position:"Query" name:"GroupId"`
+	PageSize   string `position:"Query" name:"PageSize"`
+	MetricName string `position:"Query" name:"MetricName"`
+	Dimension  string `position:"Query" name:"Dimension"`
+	PageNumber string `position:"Query" name:"PageNumber"`
+	Md5        string `position:"Query" name:"Md5"`
+}
+
+// DescribeCustomMetricListResponse is the response struct for api DescribeCustomMetricList
+type DescribeCustomMetricListResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeCustomMetricListRequest creates a request to invoke DescribeCustomMetricList API
+func CreateDescribeCustomMetricListRequest() (request *DescribeCustomMetricListRequest) {
+	request = &DescribeCustomMetricListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeCustomMetricList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeCustomMetricListResponse creates a response to parse from DescribeCustomMetricList response
+func CreateDescribeCustomMetricListResponse() (response *DescribeCustomMetricListResponse) {
+	response = &DescribeCustomMetricListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/cms/describe_event_rule.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"
-)
-
-// DescribeEventRule invokes the cms.DescribeEventRule API synchronously
-// api document: https://help.aliyun.com/api/cms/describeeventrule.html
-func (client *Client) DescribeEventRule(request *DescribeEventRuleRequest) (response *DescribeEventRuleResponse, err error) {
-	response = CreateDescribeEventRuleResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeEventRuleWithChan invokes the cms.DescribeEventRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/describeeventrule.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeEventRuleWithChan(request *DescribeEventRuleRequest) (<-chan *DescribeEventRuleResponse, <-chan error) {
-	responseChan := make(chan *DescribeEventRuleResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeEventRule(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeEventRuleWithCallback invokes the cms.DescribeEventRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/describeeventrule.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeEventRuleWithCallback(request *DescribeEventRuleRequest, callback func(response *DescribeEventRuleResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeEventRuleResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeEventRule(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeEventRuleRequest is the request struct for api DescribeEventRule
-type DescribeEventRuleRequest struct {
-	*requests.RpcRequest
-	RuleName string `position:"Query" name:"RuleName"`
-}
-
-// DescribeEventRuleResponse is the response struct for api DescribeEventRule
-type DescribeEventRuleResponse struct {
-	*responses.BaseResponse
-	Success   bool                      `json:"Success" xml:"Success"`
-	Code      string                    `json:"Code" xml:"Code"`
-	Message   string                    `json:"Message" xml:"Message"`
-	RequestId string                    `json:"RequestId" xml:"RequestId"`
-	Result    ResultInDescribeEventRule `json:"Result" xml:"Result"`
-}
-
-// CreateDescribeEventRuleRequest creates a request to invoke DescribeEventRule API
-func CreateDescribeEventRuleRequest() (request *DescribeEventRuleRequest) {
-	request = &DescribeEventRuleRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeEventRule", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeEventRuleResponse creates a response to parse from DescribeEventRule response
-func CreateDescribeEventRuleResponse() (response *DescribeEventRuleResponse) {
-	response = &DescribeEventRuleResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 107 - 0
services/cms/describe_event_rule_attribute.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeEventRuleAttribute invokes the cms.DescribeEventRuleAttribute API synchronously
+// api document: https://help.aliyun.com/api/cms/describeeventruleattribute.html
+func (client *Client) DescribeEventRuleAttribute(request *DescribeEventRuleAttributeRequest) (response *DescribeEventRuleAttributeResponse, err error) {
+	response = CreateDescribeEventRuleAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEventRuleAttributeWithChan invokes the cms.DescribeEventRuleAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeeventruleattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventRuleAttributeWithChan(request *DescribeEventRuleAttributeRequest) (<-chan *DescribeEventRuleAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeEventRuleAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEventRuleAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEventRuleAttributeWithCallback invokes the cms.DescribeEventRuleAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeeventruleattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventRuleAttributeWithCallback(request *DescribeEventRuleAttributeRequest, callback func(response *DescribeEventRuleAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEventRuleAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEventRuleAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEventRuleAttributeRequest is the request struct for api DescribeEventRuleAttribute
+type DescribeEventRuleAttributeRequest struct {
+	*requests.RpcRequest
+	RuleName string `position:"Query" name:"RuleName"`
+}
+
+// DescribeEventRuleAttributeResponse is the response struct for api DescribeEventRuleAttribute
+type DescribeEventRuleAttributeResponse struct {
+	*responses.BaseResponse
+	Success   bool                               `json:"Success" xml:"Success"`
+	Code      string                             `json:"Code" xml:"Code"`
+	Message   string                             `json:"Message" xml:"Message"`
+	RequestId string                             `json:"RequestId" xml:"RequestId"`
+	Result    ResultInDescribeEventRuleAttribute `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeEventRuleAttributeRequest creates a request to invoke DescribeEventRuleAttribute API
+func CreateDescribeEventRuleAttributeRequest() (request *DescribeEventRuleAttributeRequest) {
+	request = &DescribeEventRuleAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeEventRuleAttribute", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeEventRuleAttributeResponse creates a response to parse from DescribeEventRuleAttribute response
+func CreateDescribeEventRuleAttributeResponse() (response *DescribeEventRuleAttributeResponse) {
+	response = &DescribeEventRuleAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/cms/describe_event_rule_list.go

@@ -0,0 +1,111 @@
+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"
+)
+
+// DescribeEventRuleList invokes the cms.DescribeEventRuleList API synchronously
+// api document: https://help.aliyun.com/api/cms/describeeventrulelist.html
+func (client *Client) DescribeEventRuleList(request *DescribeEventRuleListRequest) (response *DescribeEventRuleListResponse, err error) {
+	response = CreateDescribeEventRuleListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEventRuleListWithChan invokes the cms.DescribeEventRuleList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeeventrulelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventRuleListWithChan(request *DescribeEventRuleListRequest) (<-chan *DescribeEventRuleListResponse, <-chan error) {
+	responseChan := make(chan *DescribeEventRuleListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEventRuleList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEventRuleListWithCallback invokes the cms.DescribeEventRuleList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeeventrulelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventRuleListWithCallback(request *DescribeEventRuleListRequest, callback func(response *DescribeEventRuleListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEventRuleListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEventRuleList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEventRuleListRequest is the request struct for api DescribeEventRuleList
+type DescribeEventRuleListRequest struct {
+	*requests.RpcRequest
+	GroupId    string `position:"Query" name:"GroupId"`
+	PageSize   string `position:"Query" name:"PageSize"`
+	NamePrefix string `position:"Query" name:"NamePrefix"`
+	PageNumber string `position:"Query" name:"PageNumber"`
+}
+
+// DescribeEventRuleListResponse is the response struct for api DescribeEventRuleList
+type DescribeEventRuleListResponse struct {
+	*responses.BaseResponse
+	Success    bool       `json:"Success" xml:"Success"`
+	Code       string     `json:"Code" xml:"Code"`
+	Message    string     `json:"Message" xml:"Message"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	Total      int        `json:"Total" xml:"Total"`
+	EventRules EventRules `json:"EventRules" xml:"EventRules"`
+}
+
+// CreateDescribeEventRuleListRequest creates a request to invoke DescribeEventRuleList API
+func CreateDescribeEventRuleListRequest() (request *DescribeEventRuleListRequest) {
+	request = &DescribeEventRuleListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeEventRuleList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeEventRuleListResponse creates a response to parse from DescribeEventRuleList response
+func CreateDescribeEventRuleListResponse() (response *DescribeEventRuleListResponse) {
+	response = &DescribeEventRuleListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/cms/describe_event_rule_target_list.go

@@ -0,0 +1,110 @@
+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"
+)
+
+// DescribeEventRuleTargetList invokes the cms.DescribeEventRuleTargetList API synchronously
+// api document: https://help.aliyun.com/api/cms/describeeventruletargetlist.html
+func (client *Client) DescribeEventRuleTargetList(request *DescribeEventRuleTargetListRequest) (response *DescribeEventRuleTargetListResponse, err error) {
+	response = CreateDescribeEventRuleTargetListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEventRuleTargetListWithChan invokes the cms.DescribeEventRuleTargetList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeeventruletargetlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventRuleTargetListWithChan(request *DescribeEventRuleTargetListRequest) (<-chan *DescribeEventRuleTargetListResponse, <-chan error) {
+	responseChan := make(chan *DescribeEventRuleTargetListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEventRuleTargetList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEventRuleTargetListWithCallback invokes the cms.DescribeEventRuleTargetList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeeventruletargetlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventRuleTargetListWithCallback(request *DescribeEventRuleTargetListRequest, callback func(response *DescribeEventRuleTargetListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEventRuleTargetListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEventRuleTargetList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEventRuleTargetListRequest is the request struct for api DescribeEventRuleTargetList
+type DescribeEventRuleTargetListRequest struct {
+	*requests.RpcRequest
+	RuleName string `position:"Query" name:"RuleName"`
+}
+
+// DescribeEventRuleTargetListResponse is the response struct for api DescribeEventRuleTargetList
+type DescribeEventRuleTargetListResponse struct {
+	*responses.BaseResponse
+	Code              string            `json:"Code" xml:"Code"`
+	Message           string            `json:"Message" xml:"Message"`
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	ContactParameters ContactParameters `json:"ContactParameters" xml:"ContactParameters"`
+	FcParameters      FcParameters      `json:"FcParameters" xml:"FcParameters"`
+	MnsParameters     MnsParameters     `json:"MnsParameters" xml:"MnsParameters"`
+	WebhookParameters WebhookParameters `json:"WebhookParameters" xml:"WebhookParameters"`
+	SlsParameters     SlsParameters     `json:"SlsParameters" xml:"SlsParameters"`
+}
+
+// CreateDescribeEventRuleTargetListRequest creates a request to invoke DescribeEventRuleTargetList API
+func CreateDescribeEventRuleTargetListRequest() (request *DescribeEventRuleTargetListRequest) {
+	request = &DescribeEventRuleTargetListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeEventRuleTargetList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeEventRuleTargetListResponse creates a response to parse from DescribeEventRuleTargetList response
+func CreateDescribeEventRuleTargetListResponse() (response *DescribeEventRuleTargetListResponse) {
+	response = &DescribeEventRuleTargetListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/cms/describe_host_availability_list.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// DescribeHostAvailabilityList invokes the cms.DescribeHostAvailabilityList API synchronously
+// api document: https://help.aliyun.com/api/cms/describehostavailabilitylist.html
+func (client *Client) DescribeHostAvailabilityList(request *DescribeHostAvailabilityListRequest) (response *DescribeHostAvailabilityListResponse, err error) {
+	response = CreateDescribeHostAvailabilityListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeHostAvailabilityListWithChan invokes the cms.DescribeHostAvailabilityList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describehostavailabilitylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeHostAvailabilityListWithChan(request *DescribeHostAvailabilityListRequest) (<-chan *DescribeHostAvailabilityListResponse, <-chan error) {
+	responseChan := make(chan *DescribeHostAvailabilityListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeHostAvailabilityList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeHostAvailabilityListWithCallback invokes the cms.DescribeHostAvailabilityList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describehostavailabilitylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeHostAvailabilityListWithCallback(request *DescribeHostAvailabilityListRequest, callback func(response *DescribeHostAvailabilityListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeHostAvailabilityListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeHostAvailabilityList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeHostAvailabilityListRequest is the request struct for api DescribeHostAvailabilityList
+type DescribeHostAvailabilityListRequest struct {
+	*requests.RpcRequest
+	GroupId    requests.Integer `position:"Query" name:"GroupId"`
+	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"`
+}
+
+// DescribeHostAvailabilityListResponse is the response struct for api DescribeHostAvailabilityList
+type DescribeHostAvailabilityListResponse struct {
+	*responses.BaseResponse
+	Code      string   `json:"Code" xml:"Code"`
+	Message   string   `json:"Message" xml:"Message"`
+	Success   bool     `json:"Success" xml:"Success"`
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Total     int      `json:"Total" xml:"Total"`
+	TaskList  TaskList `json:"TaskList" xml:"TaskList"`
+}
+
+// CreateDescribeHostAvailabilityListRequest creates a request to invoke DescribeHostAvailabilityList API
+func CreateDescribeHostAvailabilityListRequest() (request *DescribeHostAvailabilityListRequest) {
+	request = &DescribeHostAvailabilityListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeHostAvailabilityList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeHostAvailabilityListResponse creates a response to parse from DescribeHostAvailabilityList response
+func CreateDescribeHostAvailabilityListResponse() (response *DescribeHostAvailabilityListResponse) {
+	response = &DescribeHostAvailabilityListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 108
services/cms/describe_isp_area_city.go

@@ -1,108 +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"
-)
-
-// DescribeISPAreaCity invokes the cms.DescribeISPAreaCity API synchronously
-// api document: https://help.aliyun.com/api/cms/describeispareacity.html
-func (client *Client) DescribeISPAreaCity(request *DescribeISPAreaCityRequest) (response *DescribeISPAreaCityResponse, err error) {
-	response = CreateDescribeISPAreaCityResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeISPAreaCityWithChan invokes the cms.DescribeISPAreaCity API asynchronously
-// api document: https://help.aliyun.com/api/cms/describeispareacity.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeISPAreaCityWithChan(request *DescribeISPAreaCityRequest) (<-chan *DescribeISPAreaCityResponse, <-chan error) {
-	responseChan := make(chan *DescribeISPAreaCityResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeISPAreaCity(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeISPAreaCityWithCallback invokes the cms.DescribeISPAreaCity API asynchronously
-// api document: https://help.aliyun.com/api/cms/describeispareacity.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeISPAreaCityWithCallback(request *DescribeISPAreaCityRequest, callback func(response *DescribeISPAreaCityResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeISPAreaCityResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeISPAreaCity(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// 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
-type DescribeISPAreaCityResponse struct {
-	*responses.BaseResponse
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   string `json:"Success" xml:"Success"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeISPAreaCityRequest creates a request to invoke DescribeISPAreaCity API
-func CreateDescribeISPAreaCityRequest() (request *DescribeISPAreaCityRequest) {
-	request = &DescribeISPAreaCityRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeISPAreaCity", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeISPAreaCityResponse creates a response to parse from DescribeISPAreaCity response
-func CreateDescribeISPAreaCityResponse() (response *DescribeISPAreaCityResponse) {
-	response = &DescribeISPAreaCityResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 114 - 0
services/cms/describe_metric_data.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// DescribeMetricData invokes the cms.DescribeMetricData API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetricdata.html
+func (client *Client) DescribeMetricData(request *DescribeMetricDataRequest) (response *DescribeMetricDataResponse, err error) {
+	response = CreateDescribeMetricDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricDataWithChan invokes the cms.DescribeMetricData API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricDataWithChan(request *DescribeMetricDataRequest) (<-chan *DescribeMetricDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricDataWithCallback invokes the cms.DescribeMetricData API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricdata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricDataWithCallback(request *DescribeMetricDataRequest, callback func(response *DescribeMetricDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricDataRequest is the request struct for api DescribeMetricData
+type DescribeMetricDataRequest struct {
+	*requests.RpcRequest
+	Period     string `position:"Query" name:"Period"`
+	Namespace  string `position:"Query" name:"Namespace"`
+	Length     string `position:"Query" name:"Length"`
+	EndTime    string `position:"Query" name:"EndTime"`
+	Express    string `position:"Query" name:"Express"`
+	StartTime  string `position:"Query" name:"StartTime"`
+	MetricName string `position:"Query" name:"MetricName"`
+	Dimensions string `position:"Query" name:"Dimensions"`
+}
+
+// DescribeMetricDataResponse is the response struct for api DescribeMetricData
+type DescribeMetricDataResponse struct {
+	*responses.BaseResponse
+	Code       string `json:"Code" xml:"Code"`
+	Message    string `json:"Message" xml:"Message"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	Datapoints string `json:"Datapoints" xml:"Datapoints"`
+	Period     string `json:"Period" xml:"Period"`
+}
+
+// CreateDescribeMetricDataRequest creates a request to invoke DescribeMetricData API
+func CreateDescribeMetricDataRequest() (request *DescribeMetricDataRequest) {
+	request = &DescribeMetricDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricData", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricDataResponse creates a response to parse from DescribeMetricData response
+func CreateDescribeMetricDataResponse() (response *DescribeMetricDataResponse) {
+	response = &DescribeMetricDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/cms/describe_metric_last.go

@@ -0,0 +1,117 @@
+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"
+)
+
+// DescribeMetricLast invokes the cms.DescribeMetricLast API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetriclast.html
+func (client *Client) DescribeMetricLast(request *DescribeMetricLastRequest) (response *DescribeMetricLastResponse, err error) {
+	response = CreateDescribeMetricLastResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricLastWithChan invokes the cms.DescribeMetricLast API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetriclast.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricLastWithChan(request *DescribeMetricLastRequest) (<-chan *DescribeMetricLastResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricLastResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricLast(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricLastWithCallback invokes the cms.DescribeMetricLast API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetriclast.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricLastWithCallback(request *DescribeMetricLastRequest, callback func(response *DescribeMetricLastResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricLastResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricLast(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricLastRequest is the request struct for api DescribeMetricLast
+type DescribeMetricLastRequest struct {
+	*requests.RpcRequest
+	Period     string `position:"Query" name:"Period"`
+	NextToken  string `position:"Query" name:"NextToken"`
+	Namespace  string `position:"Query" name:"Namespace"`
+	Length     string `position:"Query" name:"Length"`
+	EndTime    string `position:"Query" name:"EndTime"`
+	Express    string `position:"Query" name:"Express"`
+	StartTime  string `position:"Query" name:"StartTime"`
+	MetricName string `position:"Query" name:"MetricName"`
+	Dimensions string `position:"Query" name:"Dimensions"`
+}
+
+// DescribeMetricLastResponse is the response struct for api DescribeMetricLast
+type DescribeMetricLastResponse struct {
+	*responses.BaseResponse
+	Code       string `json:"Code" xml:"Code"`
+	Message    string `json:"Message" xml:"Message"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	NextToken  string `json:"NextToken" xml:"NextToken"`
+	Datapoints string `json:"Datapoints" xml:"Datapoints"`
+	Period     string `json:"Period" xml:"Period"`
+	Success    string `json:"Success" xml:"Success"`
+}
+
+// CreateDescribeMetricLastRequest creates a request to invoke DescribeMetricLast API
+func CreateDescribeMetricLastRequest() (request *DescribeMetricLastRequest) {
+	request = &DescribeMetricLastRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricLast", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricLastResponse creates a response to parse from DescribeMetricLast response
+func CreateDescribeMetricLastResponse() (response *DescribeMetricLastResponse) {
+	response = &DescribeMetricLastResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/cms/describe_metric_list.go

@@ -0,0 +1,117 @@
+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"
+)
+
+// DescribeMetricList invokes the cms.DescribeMetricList API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetriclist.html
+func (client *Client) DescribeMetricList(request *DescribeMetricListRequest) (response *DescribeMetricListResponse, err error) {
+	response = CreateDescribeMetricListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricListWithChan invokes the cms.DescribeMetricList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetriclist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricListWithChan(request *DescribeMetricListRequest) (<-chan *DescribeMetricListResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricListWithCallback invokes the cms.DescribeMetricList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetriclist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricListWithCallback(request *DescribeMetricListRequest, callback func(response *DescribeMetricListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricListRequest is the request struct for api DescribeMetricList
+type DescribeMetricListRequest struct {
+	*requests.RpcRequest
+	Period     string `position:"Query" name:"Period"`
+	NextToken  string `position:"Query" name:"NextToken"`
+	Namespace  string `position:"Query" name:"Namespace"`
+	Length     string `position:"Query" name:"Length"`
+	EndTime    string `position:"Query" name:"EndTime"`
+	Express    string `position:"Query" name:"Express"`
+	StartTime  string `position:"Query" name:"StartTime"`
+	MetricName string `position:"Query" name:"MetricName"`
+	Dimensions string `position:"Query" name:"Dimensions"`
+}
+
+// DescribeMetricListResponse is the response struct for api DescribeMetricList
+type DescribeMetricListResponse struct {
+	*responses.BaseResponse
+	Code       string `json:"Code" xml:"Code"`
+	Message    string `json:"Message" xml:"Message"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	NextToken  string `json:"NextToken" xml:"NextToken"`
+	Datapoints string `json:"Datapoints" xml:"Datapoints"`
+	Period     string `json:"Period" xml:"Period"`
+	Success    string `json:"Success" xml:"Success"`
+}
+
+// CreateDescribeMetricListRequest creates a request to invoke DescribeMetricList API
+func CreateDescribeMetricListRequest() (request *DescribeMetricListRequest) {
+	request = &DescribeMetricListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricListResponse creates a response to parse from DescribeMetricList response
+func CreateDescribeMetricListResponse() (response *DescribeMetricListResponse) {
+	response = &DescribeMetricListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/cms/describe_metric_meta_list.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// DescribeMetricMetaList invokes the cms.DescribeMetricMetaList API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetricmetalist.html
+func (client *Client) DescribeMetricMetaList(request *DescribeMetricMetaListRequest) (response *DescribeMetricMetaListResponse, err error) {
+	response = CreateDescribeMetricMetaListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricMetaListWithChan invokes the cms.DescribeMetricMetaList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricmetalist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricMetaListWithChan(request *DescribeMetricMetaListRequest) (<-chan *DescribeMetricMetaListResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricMetaListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricMetaList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricMetaListWithCallback invokes the cms.DescribeMetricMetaList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricmetalist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricMetaListWithCallback(request *DescribeMetricMetaListRequest, callback func(response *DescribeMetricMetaListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricMetaListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricMetaList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricMetaListRequest is the request struct for api DescribeMetricMetaList
+type DescribeMetricMetaListRequest struct {
+	*requests.RpcRequest
+	Namespace  string           `position:"Query" name:"Namespace"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	MetricName string           `position:"Query" name:"MetricName"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	Labels     string           `position:"Query" name:"Labels"`
+}
+
+// DescribeMetricMetaListResponse is the response struct for api DescribeMetricMetaList
+type DescribeMetricMetaListResponse struct {
+	*responses.BaseResponse
+	RequestId  string                            `json:"RequestId" xml:"RequestId"`
+	Success    bool                              `json:"Success" xml:"Success"`
+	Code       string                            `json:"Code" xml:"Code"`
+	Message    string                            `json:"Message" xml:"Message"`
+	TotalCount string                            `json:"TotalCount" xml:"TotalCount"`
+	Resources  ResourcesInDescribeMetricMetaList `json:"Resources" xml:"Resources"`
+}
+
+// CreateDescribeMetricMetaListRequest creates a request to invoke DescribeMetricMetaList API
+func CreateDescribeMetricMetaListRequest() (request *DescribeMetricMetaListRequest) {
+	request = &DescribeMetricMetaListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricMetaList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricMetaListResponse creates a response to parse from DescribeMetricMetaList response
+func CreateDescribeMetricMetaListResponse() (response *DescribeMetricMetaListResponse) {
+	response = &DescribeMetricMetaListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cms/describe_metric_rule_count.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DescribeMetricRuleCount invokes the cms.DescribeMetricRuleCount API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetricrulecount.html
+func (client *Client) DescribeMetricRuleCount(request *DescribeMetricRuleCountRequest) (response *DescribeMetricRuleCountResponse, err error) {
+	response = CreateDescribeMetricRuleCountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricRuleCountWithChan invokes the cms.DescribeMetricRuleCount API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricrulecount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleCountWithChan(request *DescribeMetricRuleCountRequest) (<-chan *DescribeMetricRuleCountResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricRuleCountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricRuleCount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricRuleCountWithCallback invokes the cms.DescribeMetricRuleCount API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricrulecount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleCountWithCallback(request *DescribeMetricRuleCountRequest, callback func(response *DescribeMetricRuleCountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricRuleCountResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricRuleCount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricRuleCountRequest is the request struct for api DescribeMetricRuleCount
+type DescribeMetricRuleCountRequest struct {
+	*requests.RpcRequest
+	Namespace  string `position:"Query" name:"Namespace"`
+	MetricName string `position:"Query" name:"MetricName"`
+}
+
+// DescribeMetricRuleCountResponse is the response struct for api DescribeMetricRuleCount
+type DescribeMetricRuleCountResponse struct {
+	*responses.BaseResponse
+	Success         bool            `json:"Success" xml:"Success"`
+	Code            string          `json:"Code" xml:"Code"`
+	Message         string          `json:"Message" xml:"Message"`
+	RequestId       string          `json:"RequestId" xml:"RequestId"`
+	MetricRuleCount MetricRuleCount `json:"MetricRuleCount" xml:"MetricRuleCount"`
+}
+
+// CreateDescribeMetricRuleCountRequest creates a request to invoke DescribeMetricRuleCount API
+func CreateDescribeMetricRuleCountRequest() (request *DescribeMetricRuleCountRequest) {
+	request = &DescribeMetricRuleCountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricRuleCount", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricRuleCountResponse creates a response to parse from DescribeMetricRuleCount response
+func CreateDescribeMetricRuleCountResponse() (response *DescribeMetricRuleCountResponse) {
+	response = &DescribeMetricRuleCountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/cms/describe_metric_rule_list.go

@@ -0,0 +1,117 @@
+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"
+)
+
+// DescribeMetricRuleList invokes the cms.DescribeMetricRuleList API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetricrulelist.html
+func (client *Client) DescribeMetricRuleList(request *DescribeMetricRuleListRequest) (response *DescribeMetricRuleListResponse, err error) {
+	response = CreateDescribeMetricRuleListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricRuleListWithChan invokes the cms.DescribeMetricRuleList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricrulelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleListWithChan(request *DescribeMetricRuleListRequest) (<-chan *DescribeMetricRuleListResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricRuleListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricRuleList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricRuleListWithCallback invokes the cms.DescribeMetricRuleList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricrulelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleListWithCallback(request *DescribeMetricRuleListRequest, callback func(response *DescribeMetricRuleListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricRuleListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricRuleList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricRuleListRequest is the request struct for api DescribeMetricRuleList
+type DescribeMetricRuleListRequest struct {
+	*requests.RpcRequest
+	EnableState requests.Boolean `position:"Query" name:"EnableState"`
+	RuleIds     string           `position:"Query" name:"RuleIds"`
+	GroupId     string           `position:"Query" name:"GroupId"`
+	Namespace   string           `position:"Query" name:"Namespace"`
+	PageSize    string           `position:"Query" name:"PageSize"`
+	AlertState  string           `position:"Query" name:"AlertState"`
+	RuleName    string           `position:"Query" name:"RuleName"`
+	Page        string           `position:"Query" name:"Page"`
+	MetricName  string           `position:"Query" name:"MetricName"`
+	Dimensions  string           `position:"Query" name:"Dimensions"`
+}
+
+// DescribeMetricRuleListResponse is the response struct for api DescribeMetricRuleList
+type DescribeMetricRuleListResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Total     string `json:"Total" xml:"Total"`
+	Alarms    Alarms `json:"Alarms" xml:"Alarms"`
+}
+
+// CreateDescribeMetricRuleListRequest creates a request to invoke DescribeMetricRuleList API
+func CreateDescribeMetricRuleListRequest() (request *DescribeMetricRuleListRequest) {
+	request = &DescribeMetricRuleListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricRuleList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricRuleListResponse creates a response to parse from DescribeMetricRuleList response
+func CreateDescribeMetricRuleListResponse() (response *DescribeMetricRuleListResponse) {
+	response = &DescribeMetricRuleListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cms/describe_metric_rule_template_attribute.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DescribeMetricRuleTemplateAttribute invokes the cms.DescribeMetricRuleTemplateAttribute API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetricruletemplateattribute.html
+func (client *Client) DescribeMetricRuleTemplateAttribute(request *DescribeMetricRuleTemplateAttributeRequest) (response *DescribeMetricRuleTemplateAttributeResponse, err error) {
+	response = CreateDescribeMetricRuleTemplateAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricRuleTemplateAttributeWithChan invokes the cms.DescribeMetricRuleTemplateAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricruletemplateattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleTemplateAttributeWithChan(request *DescribeMetricRuleTemplateAttributeRequest) (<-chan *DescribeMetricRuleTemplateAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricRuleTemplateAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricRuleTemplateAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricRuleTemplateAttributeWithCallback invokes the cms.DescribeMetricRuleTemplateAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricruletemplateattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleTemplateAttributeWithCallback(request *DescribeMetricRuleTemplateAttributeRequest, callback func(response *DescribeMetricRuleTemplateAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricRuleTemplateAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricRuleTemplateAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricRuleTemplateAttributeRequest is the request struct for api DescribeMetricRuleTemplateAttribute
+type DescribeMetricRuleTemplateAttributeRequest struct {
+	*requests.RpcRequest
+	Name       string `position:"Query" name:"Name"`
+	TemplateId string `position:"Query" name:"TemplateId"`
+}
+
+// DescribeMetricRuleTemplateAttributeResponse is the response struct for api DescribeMetricRuleTemplateAttribute
+type DescribeMetricRuleTemplateAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Success   bool     `json:"Success" xml:"Success"`
+	Code      int      `json:"Code" xml:"Code"`
+	Message   string   `json:"Message" xml:"Message"`
+	Resource  Resource `json:"Resource" xml:"Resource"`
+}
+
+// CreateDescribeMetricRuleTemplateAttributeRequest creates a request to invoke DescribeMetricRuleTemplateAttribute API
+func CreateDescribeMetricRuleTemplateAttributeRequest() (request *DescribeMetricRuleTemplateAttributeRequest) {
+	request = &DescribeMetricRuleTemplateAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricRuleTemplateAttribute", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricRuleTemplateAttributeResponse creates a response to parse from DescribeMetricRuleTemplateAttribute response
+func CreateDescribeMetricRuleTemplateAttributeResponse() (response *DescribeMetricRuleTemplateAttributeResponse) {
+	response = &DescribeMetricRuleTemplateAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/cms/describe_metric_rule_template_list.go

@@ -0,0 +1,113 @@
+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"
+)
+
+// DescribeMetricRuleTemplateList invokes the cms.DescribeMetricRuleTemplateList API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetricruletemplatelist.html
+func (client *Client) DescribeMetricRuleTemplateList(request *DescribeMetricRuleTemplateListRequest) (response *DescribeMetricRuleTemplateListResponse, err error) {
+	response = CreateDescribeMetricRuleTemplateListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricRuleTemplateListWithChan invokes the cms.DescribeMetricRuleTemplateList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricruletemplatelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleTemplateListWithChan(request *DescribeMetricRuleTemplateListRequest) (<-chan *DescribeMetricRuleTemplateListResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricRuleTemplateListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricRuleTemplateList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricRuleTemplateListWithCallback invokes the cms.DescribeMetricRuleTemplateList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetricruletemplatelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricRuleTemplateListWithCallback(request *DescribeMetricRuleTemplateListRequest, callback func(response *DescribeMetricRuleTemplateListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricRuleTemplateListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricRuleTemplateList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricRuleTemplateListRequest is the request struct for api DescribeMetricRuleTemplateList
+type DescribeMetricRuleTemplateListRequest struct {
+	*requests.RpcRequest
+	Name       string           `position:"Query" name:"Name"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	History    requests.Boolean `position:"Query" name:"History"`
+	Keyword    string           `position:"Query" name:"Keyword"`
+	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeMetricRuleTemplateListResponse is the response struct for api DescribeMetricRuleTemplateList
+type DescribeMetricRuleTemplateListResponse struct {
+	*responses.BaseResponse
+	RequestId string    `json:"RequestId" xml:"RequestId"`
+	Success   bool      `json:"Success" xml:"Success"`
+	Code      int       `json:"Code" xml:"Code"`
+	Message   string    `json:"Message" xml:"Message"`
+	Total     int       `json:"Total" xml:"Total"`
+	Templates Templates `json:"Templates" xml:"Templates"`
+}
+
+// CreateDescribeMetricRuleTemplateListRequest creates a request to invoke DescribeMetricRuleTemplateList API
+func CreateDescribeMetricRuleTemplateListRequest() (request *DescribeMetricRuleTemplateListRequest) {
+	request = &DescribeMetricRuleTemplateListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricRuleTemplateList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricRuleTemplateListResponse creates a response to parse from DescribeMetricRuleTemplateList response
+func CreateDescribeMetricRuleTemplateListResponse() (response *DescribeMetricRuleTemplateListResponse) {
+	response = &DescribeMetricRuleTemplateListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/cms/describe_metric_top.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// DescribeMetricTop invokes the cms.DescribeMetricTop API synchronously
+// api document: https://help.aliyun.com/api/cms/describemetrictop.html
+func (client *Client) DescribeMetricTop(request *DescribeMetricTopRequest) (response *DescribeMetricTopResponse, err error) {
+	response = CreateDescribeMetricTopResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMetricTopWithChan invokes the cms.DescribeMetricTop API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetrictop.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricTopWithChan(request *DescribeMetricTopRequest) (<-chan *DescribeMetricTopResponse, <-chan error) {
+	responseChan := make(chan *DescribeMetricTopResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMetricTop(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMetricTopWithCallback invokes the cms.DescribeMetricTop API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemetrictop.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMetricTopWithCallback(request *DescribeMetricTopRequest, callback func(response *DescribeMetricTopResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMetricTopResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMetricTop(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMetricTopRequest is the request struct for api DescribeMetricTop
+type DescribeMetricTopRequest struct {
+	*requests.RpcRequest
+	Period     string `position:"Query" name:"Period"`
+	Namespace  string `position:"Query" name:"Namespace"`
+	Length     string `position:"Query" name:"Length"`
+	EndTime    string `position:"Query" name:"EndTime"`
+	Orderby    string `position:"Query" name:"Orderby"`
+	Express    string `position:"Query" name:"Express"`
+	StartTime  string `position:"Query" name:"StartTime"`
+	MetricName string `position:"Query" name:"MetricName"`
+	Dimensions string `position:"Query" name:"Dimensions"`
+	OrderDesc  string `position:"Query" name:"OrderDesc"`
+}
+
+// DescribeMetricTopResponse is the response struct for api DescribeMetricTop
+type DescribeMetricTopResponse struct {
+	*responses.BaseResponse
+	Code       string `json:"Code" xml:"Code"`
+	Message    string `json:"Message" xml:"Message"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	Datapoints string `json:"Datapoints" xml:"Datapoints"`
+	Period     string `json:"Period" xml:"Period"`
+}
+
+// CreateDescribeMetricTopRequest creates a request to invoke DescribeMetricTop API
+func CreateDescribeMetricTopRequest() (request *DescribeMetricTopRequest) {
+	request = &DescribeMetricTopRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMetricTop", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMetricTopResponse creates a response to parse from DescribeMetricTop response
+func CreateDescribeMetricTopResponse() (response *DescribeMetricTopResponse) {
+	response = &DescribeMetricTopResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/describe_monitor_group_categories.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeMonitorGroupCategories invokes the cms.DescribeMonitorGroupCategories API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupcategories.html
+func (client *Client) DescribeMonitorGroupCategories(request *DescribeMonitorGroupCategoriesRequest) (response *DescribeMonitorGroupCategoriesResponse, err error) {
+	response = CreateDescribeMonitorGroupCategoriesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitorGroupCategoriesWithChan invokes the cms.DescribeMonitorGroupCategories API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupcategories.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupCategoriesWithChan(request *DescribeMonitorGroupCategoriesRequest) (<-chan *DescribeMonitorGroupCategoriesResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitorGroupCategoriesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitorGroupCategories(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitorGroupCategoriesWithCallback invokes the cms.DescribeMonitorGroupCategories API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupcategories.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupCategoriesWithCallback(request *DescribeMonitorGroupCategoriesRequest, callback func(response *DescribeMonitorGroupCategoriesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitorGroupCategoriesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitorGroupCategories(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitorGroupCategoriesRequest is the request struct for api DescribeMonitorGroupCategories
+type DescribeMonitorGroupCategoriesRequest struct {
+	*requests.RpcRequest
+	GroupId requests.Integer `position:"Query" name:"GroupId"`
+}
+
+// DescribeMonitorGroupCategoriesResponse is the response struct for api DescribeMonitorGroupCategories
+type DescribeMonitorGroupCategoriesResponse struct {
+	*responses.BaseResponse
+	RequestId              string                 `json:"RequestId" xml:"RequestId"`
+	Success                bool                   `json:"Success" xml:"Success"`
+	Code                   int                    `json:"Code" xml:"Code"`
+	Message                string                 `json:"Message" xml:"Message"`
+	MonitorGroupCategories MonitorGroupCategories `json:"MonitorGroupCategories" xml:"MonitorGroupCategories"`
+}
+
+// CreateDescribeMonitorGroupCategoriesRequest creates a request to invoke DescribeMonitorGroupCategories API
+func CreateDescribeMonitorGroupCategoriesRequest() (request *DescribeMonitorGroupCategoriesRequest) {
+	request = &DescribeMonitorGroupCategoriesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitorGroupCategories", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitorGroupCategoriesResponse creates a response to parse from DescribeMonitorGroupCategories response
+func CreateDescribeMonitorGroupCategoriesResponse() (response *DescribeMonitorGroupCategoriesResponse) {
+	response = &DescribeMonitorGroupCategoriesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/cms/describe_monitor_group_dynamic_rules.go

@@ -0,0 +1,110 @@
+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"
+)
+
+// DescribeMonitorGroupDynamicRules invokes the cms.DescribeMonitorGroupDynamicRules API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupdynamicrules.html
+func (client *Client) DescribeMonitorGroupDynamicRules(request *DescribeMonitorGroupDynamicRulesRequest) (response *DescribeMonitorGroupDynamicRulesResponse, err error) {
+	response = CreateDescribeMonitorGroupDynamicRulesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitorGroupDynamicRulesWithChan invokes the cms.DescribeMonitorGroupDynamicRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupdynamicrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupDynamicRulesWithChan(request *DescribeMonitorGroupDynamicRulesRequest) (<-chan *DescribeMonitorGroupDynamicRulesResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitorGroupDynamicRulesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitorGroupDynamicRules(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitorGroupDynamicRulesWithCallback invokes the cms.DescribeMonitorGroupDynamicRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupdynamicrules.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupDynamicRulesWithCallback(request *DescribeMonitorGroupDynamicRulesRequest, callback func(response *DescribeMonitorGroupDynamicRulesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitorGroupDynamicRulesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitorGroupDynamicRules(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitorGroupDynamicRulesRequest is the request struct for api DescribeMonitorGroupDynamicRules
+type DescribeMonitorGroupDynamicRulesRequest struct {
+	*requests.RpcRequest
+	GroupId requests.Integer `position:"Query" name:"GroupId"`
+}
+
+// DescribeMonitorGroupDynamicRulesResponse is the response struct for api DescribeMonitorGroupDynamicRules
+type DescribeMonitorGroupDynamicRulesResponse struct {
+	*responses.BaseResponse
+	RequestId  string                                     `json:"RequestId" xml:"RequestId"`
+	Success    bool                                       `json:"Success" xml:"Success"`
+	Code       int                                        `json:"Code" xml:"Code"`
+	Message    string                                     `json:"Message" xml:"Message"`
+	PageNumber int                                        `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int                                        `json:"PageSize" xml:"PageSize"`
+	Total      int                                        `json:"Total" xml:"Total"`
+	Resource   ResourceInDescribeMonitorGroupDynamicRules `json:"Resource" xml:"Resource"`
+}
+
+// CreateDescribeMonitorGroupDynamicRulesRequest creates a request to invoke DescribeMonitorGroupDynamicRules API
+func CreateDescribeMonitorGroupDynamicRulesRequest() (request *DescribeMonitorGroupDynamicRulesRequest) {
+	request = &DescribeMonitorGroupDynamicRulesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitorGroupDynamicRules", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitorGroupDynamicRulesResponse creates a response to parse from DescribeMonitorGroupDynamicRules response
+func CreateDescribeMonitorGroupDynamicRulesResponse() (response *DescribeMonitorGroupDynamicRulesResponse) {
+	response = &DescribeMonitorGroupDynamicRulesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/cms/describe_monitor_group_instance_attribute.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// DescribeMonitorGroupInstanceAttribute invokes the cms.DescribeMonitorGroupInstanceAttribute API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupinstanceattribute.html
+func (client *Client) DescribeMonitorGroupInstanceAttribute(request *DescribeMonitorGroupInstanceAttributeRequest) (response *DescribeMonitorGroupInstanceAttributeResponse, err error) {
+	response = CreateDescribeMonitorGroupInstanceAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitorGroupInstanceAttributeWithChan invokes the cms.DescribeMonitorGroupInstanceAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupinstanceattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupInstanceAttributeWithChan(request *DescribeMonitorGroupInstanceAttributeRequest) (<-chan *DescribeMonitorGroupInstanceAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitorGroupInstanceAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitorGroupInstanceAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitorGroupInstanceAttributeWithCallback invokes the cms.DescribeMonitorGroupInstanceAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupinstanceattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupInstanceAttributeWithCallback(request *DescribeMonitorGroupInstanceAttributeRequest, callback func(response *DescribeMonitorGroupInstanceAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitorGroupInstanceAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitorGroupInstanceAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitorGroupInstanceAttributeRequest is the request struct for api DescribeMonitorGroupInstanceAttribute
+type DescribeMonitorGroupInstanceAttributeRequest struct {
+	*requests.RpcRequest
+	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"`
+}
+
+// DescribeMonitorGroupInstanceAttributeResponse is the response struct for api DescribeMonitorGroupInstanceAttribute
+type DescribeMonitorGroupInstanceAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId  string                                           `json:"RequestId" xml:"RequestId"`
+	Success    bool                                             `json:"Success" xml:"Success"`
+	Code       int                                              `json:"Code" xml:"Code"`
+	Message    string                                           `json:"Message" xml:"Message"`
+	PageNumber int                                              `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int                                              `json:"PageSize" xml:"PageSize"`
+	Total      int                                              `json:"Total" xml:"Total"`
+	Resources  ResourcesInDescribeMonitorGroupInstanceAttribute `json:"Resources" xml:"Resources"`
+}
+
+// CreateDescribeMonitorGroupInstanceAttributeRequest creates a request to invoke DescribeMonitorGroupInstanceAttribute API
+func CreateDescribeMonitorGroupInstanceAttributeRequest() (request *DescribeMonitorGroupInstanceAttributeRequest) {
+	request = &DescribeMonitorGroupInstanceAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitorGroupInstanceAttribute", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitorGroupInstanceAttributeResponse creates a response to parse from DescribeMonitorGroupInstanceAttribute response
+func CreateDescribeMonitorGroupInstanceAttributeResponse() (response *DescribeMonitorGroupInstanceAttributeResponse) {
+	response = &DescribeMonitorGroupInstanceAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/cms/describe_monitor_group_instances.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// DescribeMonitorGroupInstances invokes the cms.DescribeMonitorGroupInstances API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupinstances.html
+func (client *Client) DescribeMonitorGroupInstances(request *DescribeMonitorGroupInstancesRequest) (response *DescribeMonitorGroupInstancesResponse, err error) {
+	response = CreateDescribeMonitorGroupInstancesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitorGroupInstancesWithChan invokes the cms.DescribeMonitorGroupInstances API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupInstancesWithChan(request *DescribeMonitorGroupInstancesRequest) (<-chan *DescribeMonitorGroupInstancesResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitorGroupInstancesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitorGroupInstances(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitorGroupInstancesWithCallback invokes the cms.DescribeMonitorGroupInstances API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupInstancesWithCallback(request *DescribeMonitorGroupInstancesRequest, callback func(response *DescribeMonitorGroupInstancesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitorGroupInstancesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitorGroupInstances(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitorGroupInstancesRequest is the request struct for api DescribeMonitorGroupInstances
+type DescribeMonitorGroupInstancesRequest struct {
+	*requests.RpcRequest
+	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"`
+}
+
+// DescribeMonitorGroupInstancesResponse is the response struct for api DescribeMonitorGroupInstances
+type DescribeMonitorGroupInstancesResponse struct {
+	*responses.BaseResponse
+	RequestId  string                                   `json:"RequestId" xml:"RequestId"`
+	Success    bool                                     `json:"Success" xml:"Success"`
+	Code       int                                      `json:"Code" xml:"Code"`
+	Message    string                                   `json:"Message" xml:"Message"`
+	PageNumber int                                      `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int                                      `json:"PageSize" xml:"PageSize"`
+	Total      int                                      `json:"Total" xml:"Total"`
+	Resources  ResourcesInDescribeMonitorGroupInstances `json:"Resources" xml:"Resources"`
+}
+
+// CreateDescribeMonitorGroupInstancesRequest creates a request to invoke DescribeMonitorGroupInstances API
+func CreateDescribeMonitorGroupInstancesRequest() (request *DescribeMonitorGroupInstancesRequest) {
+	request = &DescribeMonitorGroupInstancesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitorGroupInstances", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitorGroupInstancesResponse creates a response to parse from DescribeMonitorGroupInstances response
+func CreateDescribeMonitorGroupInstancesResponse() (response *DescribeMonitorGroupInstancesResponse) {
+	response = &DescribeMonitorGroupInstancesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/cms/describe_monitor_group_notify_policy_list.go

@@ -0,0 +1,111 @@
+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"
+)
+
+// DescribeMonitorGroupNotifyPolicyList invokes the cms.DescribeMonitorGroupNotifyPolicyList API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupnotifypolicylist.html
+func (client *Client) DescribeMonitorGroupNotifyPolicyList(request *DescribeMonitorGroupNotifyPolicyListRequest) (response *DescribeMonitorGroupNotifyPolicyListResponse, err error) {
+	response = CreateDescribeMonitorGroupNotifyPolicyListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitorGroupNotifyPolicyListWithChan invokes the cms.DescribeMonitorGroupNotifyPolicyList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupnotifypolicylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupNotifyPolicyListWithChan(request *DescribeMonitorGroupNotifyPolicyListRequest) (<-chan *DescribeMonitorGroupNotifyPolicyListResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitorGroupNotifyPolicyListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitorGroupNotifyPolicyList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitorGroupNotifyPolicyListWithCallback invokes the cms.DescribeMonitorGroupNotifyPolicyList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroupnotifypolicylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupNotifyPolicyListWithCallback(request *DescribeMonitorGroupNotifyPolicyListRequest, callback func(response *DescribeMonitorGroupNotifyPolicyListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitorGroupNotifyPolicyListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitorGroupNotifyPolicyList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitorGroupNotifyPolicyListRequest is the request struct for api DescribeMonitorGroupNotifyPolicyList
+type DescribeMonitorGroupNotifyPolicyListRequest struct {
+	*requests.RpcRequest
+	PolicyType string           `position:"Query" name:"PolicyType"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeMonitorGroupNotifyPolicyListResponse is the response struct for api DescribeMonitorGroupNotifyPolicyList
+type DescribeMonitorGroupNotifyPolicyListResponse struct {
+	*responses.BaseResponse
+	Code             string           `json:"Code" xml:"Code"`
+	Message          string           `json:"Message" xml:"Message"`
+	Success          string           `json:"Success" xml:"Success"`
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	Total            int              `json:"Total" xml:"Total"`
+	NotifyPolicyList NotifyPolicyList `json:"NotifyPolicyList" xml:"NotifyPolicyList"`
+}
+
+// CreateDescribeMonitorGroupNotifyPolicyListRequest creates a request to invoke DescribeMonitorGroupNotifyPolicyList API
+func CreateDescribeMonitorGroupNotifyPolicyListRequest() (request *DescribeMonitorGroupNotifyPolicyListRequest) {
+	request = &DescribeMonitorGroupNotifyPolicyListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitorGroupNotifyPolicyList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitorGroupNotifyPolicyListResponse creates a response to parse from DescribeMonitorGroupNotifyPolicyList response
+func CreateDescribeMonitorGroupNotifyPolicyListResponse() (response *DescribeMonitorGroupNotifyPolicyListResponse) {
+	response = &DescribeMonitorGroupNotifyPolicyListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/cms/describe_monitor_groups.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// DescribeMonitorGroups invokes the cms.DescribeMonitorGroups API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroups.html
+func (client *Client) DescribeMonitorGroups(request *DescribeMonitorGroupsRequest) (response *DescribeMonitorGroupsResponse, err error) {
+	response = CreateDescribeMonitorGroupsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitorGroupsWithChan invokes the cms.DescribeMonitorGroups API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupsWithChan(request *DescribeMonitorGroupsRequest) (<-chan *DescribeMonitorGroupsResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitorGroupsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitorGroups(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitorGroupsWithCallback invokes the cms.DescribeMonitorGroups API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitorgroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitorGroupsWithCallback(request *DescribeMonitorGroupsRequest, callback func(response *DescribeMonitorGroupsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitorGroupsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitorGroups(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitorGroupsRequest is the request struct for api DescribeMonitorGroups
+type DescribeMonitorGroupsRequest struct {
+	*requests.RpcRequest
+	SelectContactGroups requests.Boolean `position:"Query" name:"SelectContactGroups"`
+	InstanceId          string           `position:"Query" name:"InstanceId"`
+	PageSize            requests.Integer `position:"Query" name:"PageSize"`
+	Keyword             string           `position:"Query" name:"Keyword"`
+	GroupName           string           `position:"Query" name:"GroupName"`
+	PageNumber          requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeMonitorGroupsResponse is the response struct for api DescribeMonitorGroups
+type DescribeMonitorGroupsResponse struct {
+	*responses.BaseResponse
+	RequestId  string                           `json:"RequestId" xml:"RequestId"`
+	Success    bool                             `json:"Success" xml:"Success"`
+	Code       int                              `json:"Code" xml:"Code"`
+	Message    string                           `json:"Message" xml:"Message"`
+	PageNumber int                              `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int                              `json:"PageSize" xml:"PageSize"`
+	Total      int                              `json:"Total" xml:"Total"`
+	Resources  ResourcesInDescribeMonitorGroups `json:"Resources" xml:"Resources"`
+}
+
+// CreateDescribeMonitorGroupsRequest creates a request to invoke DescribeMonitorGroups API
+func CreateDescribeMonitorGroupsRequest() (request *DescribeMonitorGroupsRequest) {
+	request = &DescribeMonitorGroupsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitorGroups", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitorGroupsResponse creates a response to parse from DescribeMonitorGroups response
+func CreateDescribeMonitorGroupsResponse() (response *DescribeMonitorGroupsResponse) {
+	response = &DescribeMonitorGroupsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/describe_monitoring_agent_access_key.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeMonitoringAgentAccessKey invokes the cms.DescribeMonitoringAgentAccessKey API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentaccesskey.html
+func (client *Client) DescribeMonitoringAgentAccessKey(request *DescribeMonitoringAgentAccessKeyRequest) (response *DescribeMonitoringAgentAccessKeyResponse, err error) {
+	response = CreateDescribeMonitoringAgentAccessKeyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitoringAgentAccessKeyWithChan invokes the cms.DescribeMonitoringAgentAccessKey API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentaccesskey.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentAccessKeyWithChan(request *DescribeMonitoringAgentAccessKeyRequest) (<-chan *DescribeMonitoringAgentAccessKeyResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitoringAgentAccessKeyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitoringAgentAccessKey(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitoringAgentAccessKeyWithCallback invokes the cms.DescribeMonitoringAgentAccessKey API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentaccesskey.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentAccessKeyWithCallback(request *DescribeMonitoringAgentAccessKeyRequest, callback func(response *DescribeMonitoringAgentAccessKeyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitoringAgentAccessKeyResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitoringAgentAccessKey(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitoringAgentAccessKeyRequest is the request struct for api DescribeMonitoringAgentAccessKey
+type DescribeMonitoringAgentAccessKeyRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeMonitoringAgentAccessKeyResponse is the response struct for api DescribeMonitoringAgentAccessKey
+type DescribeMonitoringAgentAccessKeyResponse struct {
+	*responses.BaseResponse
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	AccessKey string `json:"AccessKey" xml:"AccessKey"`
+	SecretKey string `json:"SecretKey" xml:"SecretKey"`
+}
+
+// CreateDescribeMonitoringAgentAccessKeyRequest creates a request to invoke DescribeMonitoringAgentAccessKey API
+func CreateDescribeMonitoringAgentAccessKeyRequest() (request *DescribeMonitoringAgentAccessKeyRequest) {
+	request = &DescribeMonitoringAgentAccessKeyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitoringAgentAccessKey", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitoringAgentAccessKeyResponse creates a response to parse from DescribeMonitoringAgentAccessKey response
+func CreateDescribeMonitoringAgentAccessKeyResponse() (response *DescribeMonitoringAgentAccessKeyResponse) {
+	response = &DescribeMonitoringAgentAccessKeyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/cms/describe_monitoring_agent_config.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DescribeMonitoringAgentConfig invokes the cms.DescribeMonitoringAgentConfig API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentconfig.html
+func (client *Client) DescribeMonitoringAgentConfig(request *DescribeMonitoringAgentConfigRequest) (response *DescribeMonitoringAgentConfigResponse, err error) {
+	response = CreateDescribeMonitoringAgentConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitoringAgentConfigWithChan invokes the cms.DescribeMonitoringAgentConfig API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentConfigWithChan(request *DescribeMonitoringAgentConfigRequest) (<-chan *DescribeMonitoringAgentConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitoringAgentConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitoringAgentConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitoringAgentConfigWithCallback invokes the cms.DescribeMonitoringAgentConfig API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentConfigWithCallback(request *DescribeMonitoringAgentConfigRequest, callback func(response *DescribeMonitoringAgentConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitoringAgentConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitoringAgentConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitoringAgentConfigRequest is the request struct for api DescribeMonitoringAgentConfig
+type DescribeMonitoringAgentConfigRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeMonitoringAgentConfigResponse is the response struct for api DescribeMonitoringAgentConfig
+type DescribeMonitoringAgentConfigResponse struct {
+	*responses.BaseResponse
+	Code                     string `json:"Code" xml:"Code"`
+	Message                  string `json:"Message" xml:"Message"`
+	Success                  bool   `json:"Success" xml:"Success"`
+	RequestId                string `json:"RequestId" xml:"RequestId"`
+	AutoInstall              bool   `json:"AutoInstall" xml:"AutoInstall"`
+	EnableInstallAgentNewECS bool   `json:"EnableInstallAgentNewECS" xml:"EnableInstallAgentNewECS"`
+	EnableActiveAlert        string `json:"EnableActiveAlert" xml:"EnableActiveAlert"`
+}
+
+// CreateDescribeMonitoringAgentConfigRequest creates a request to invoke DescribeMonitoringAgentConfig API
+func CreateDescribeMonitoringAgentConfigRequest() (request *DescribeMonitoringAgentConfigRequest) {
+	request = &DescribeMonitoringAgentConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitoringAgentConfig", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitoringAgentConfigResponse creates a response to parse from DescribeMonitoringAgentConfig response
+func CreateDescribeMonitoringAgentConfigResponse() (response *DescribeMonitoringAgentConfigResponse) {
+	response = &DescribeMonitoringAgentConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/cms/describe_monitoring_agent_hosts.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// DescribeMonitoringAgentHosts invokes the cms.DescribeMonitoringAgentHosts API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagenthosts.html
+func (client *Client) DescribeMonitoringAgentHosts(request *DescribeMonitoringAgentHostsRequest) (response *DescribeMonitoringAgentHostsResponse, err error) {
+	response = CreateDescribeMonitoringAgentHostsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitoringAgentHostsWithChan invokes the cms.DescribeMonitoringAgentHosts API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagenthosts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentHostsWithChan(request *DescribeMonitoringAgentHostsRequest) (<-chan *DescribeMonitoringAgentHostsResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitoringAgentHostsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitoringAgentHosts(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitoringAgentHostsWithCallback invokes the cms.DescribeMonitoringAgentHosts API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagenthosts.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentHostsWithCallback(request *DescribeMonitoringAgentHostsRequest, callback func(response *DescribeMonitoringAgentHostsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitoringAgentHostsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitoringAgentHosts(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitoringAgentHostsRequest is the request struct for api DescribeMonitoringAgentHosts
+type DescribeMonitoringAgentHostsRequest struct {
+	*requests.RpcRequest
+	HostName         string           `position:"Query" name:"HostName"`
+	InstanceIds      string           `position:"Query" name:"InstanceIds"`
+	InstanceRegionId string           `position:"Query" name:"InstanceRegionId"`
+	PageSize         requests.Integer `position:"Query" name:"PageSize"`
+	KeyWord          string           `position:"Query" name:"KeyWord"`
+	SerialNumbers    string           `position:"Query" name:"SerialNumbers"`
+	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
+}
+
+// DescribeMonitoringAgentHostsResponse is the response struct for api DescribeMonitoringAgentHosts
+type DescribeMonitoringAgentHostsResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	PageTotal int    `json:"PageTotal" xml:"PageTotal"`
+	Total     int    `json:"Total" xml:"Total"`
+	Hosts     Hosts  `json:"Hosts" xml:"Hosts"`
+}
+
+// CreateDescribeMonitoringAgentHostsRequest creates a request to invoke DescribeMonitoringAgentHosts API
+func CreateDescribeMonitoringAgentHostsRequest() (request *DescribeMonitoringAgentHostsRequest) {
+	request = &DescribeMonitoringAgentHostsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitoringAgentHosts", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitoringAgentHostsResponse creates a response to parse from DescribeMonitoringAgentHosts response
+func CreateDescribeMonitoringAgentHostsResponse() (response *DescribeMonitoringAgentHostsResponse) {
+	response = &DescribeMonitoringAgentHostsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/describe_monitoring_agent_processes.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeMonitoringAgentProcesses invokes the cms.DescribeMonitoringAgentProcesses API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentprocesses.html
+func (client *Client) DescribeMonitoringAgentProcesses(request *DescribeMonitoringAgentProcessesRequest) (response *DescribeMonitoringAgentProcessesResponse, err error) {
+	response = CreateDescribeMonitoringAgentProcessesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitoringAgentProcessesWithChan invokes the cms.DescribeMonitoringAgentProcesses API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentprocesses.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentProcessesWithChan(request *DescribeMonitoringAgentProcessesRequest) (<-chan *DescribeMonitoringAgentProcessesResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitoringAgentProcessesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitoringAgentProcesses(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitoringAgentProcessesWithCallback invokes the cms.DescribeMonitoringAgentProcesses API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentprocesses.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentProcessesWithCallback(request *DescribeMonitoringAgentProcessesRequest, callback func(response *DescribeMonitoringAgentProcessesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitoringAgentProcessesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitoringAgentProcesses(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitoringAgentProcessesRequest is the request struct for api DescribeMonitoringAgentProcesses
+type DescribeMonitoringAgentProcessesRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+}
+
+// DescribeMonitoringAgentProcessesResponse is the response struct for api DescribeMonitoringAgentProcesses
+type DescribeMonitoringAgentProcessesResponse struct {
+	*responses.BaseResponse
+	Code          string        `json:"Code" xml:"Code"`
+	Message       string        `json:"Message" xml:"Message"`
+	Success       bool          `json:"Success" xml:"Success"`
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	NodeProcesses NodeProcesses `json:"NodeProcesses" xml:"NodeProcesses"`
+}
+
+// CreateDescribeMonitoringAgentProcessesRequest creates a request to invoke DescribeMonitoringAgentProcesses API
+func CreateDescribeMonitoringAgentProcessesRequest() (request *DescribeMonitoringAgentProcessesRequest) {
+	request = &DescribeMonitoringAgentProcessesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitoringAgentProcesses", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitoringAgentProcessesResponse creates a response to parse from DescribeMonitoringAgentProcesses response
+func CreateDescribeMonitoringAgentProcessesResponse() (response *DescribeMonitoringAgentProcessesResponse) {
+	response = &DescribeMonitoringAgentProcessesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/describe_monitoring_agent_statuses.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeMonitoringAgentStatuses invokes the cms.DescribeMonitoringAgentStatuses API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentstatuses.html
+func (client *Client) DescribeMonitoringAgentStatuses(request *DescribeMonitoringAgentStatusesRequest) (response *DescribeMonitoringAgentStatusesResponse, err error) {
+	response = CreateDescribeMonitoringAgentStatusesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitoringAgentStatusesWithChan invokes the cms.DescribeMonitoringAgentStatuses API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentstatuses.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentStatusesWithChan(request *DescribeMonitoringAgentStatusesRequest) (<-chan *DescribeMonitoringAgentStatusesResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitoringAgentStatusesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitoringAgentStatuses(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitoringAgentStatusesWithCallback invokes the cms.DescribeMonitoringAgentStatuses API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringagentstatuses.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringAgentStatusesWithCallback(request *DescribeMonitoringAgentStatusesRequest, callback func(response *DescribeMonitoringAgentStatusesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitoringAgentStatusesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitoringAgentStatuses(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitoringAgentStatusesRequest is the request struct for api DescribeMonitoringAgentStatuses
+type DescribeMonitoringAgentStatusesRequest struct {
+	*requests.RpcRequest
+	InstanceIds string `position:"Query" name:"InstanceIds"`
+}
+
+// DescribeMonitoringAgentStatusesResponse is the response struct for api DescribeMonitoringAgentStatuses
+type DescribeMonitoringAgentStatusesResponse struct {
+	*responses.BaseResponse
+	Code           string         `json:"Code" xml:"Code"`
+	Message        string         `json:"Message" xml:"Message"`
+	Success        bool           `json:"Success" xml:"Success"`
+	RequestId      string         `json:"RequestId" xml:"RequestId"`
+	NodeStatusList NodeStatusList `json:"NodeStatusList" xml:"NodeStatusList"`
+}
+
+// CreateDescribeMonitoringAgentStatusesRequest creates a request to invoke DescribeMonitoringAgentStatuses API
+func CreateDescribeMonitoringAgentStatusesRequest() (request *DescribeMonitoringAgentStatusesRequest) {
+	request = &DescribeMonitoringAgentStatusesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitoringAgentStatuses", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitoringAgentStatusesResponse creates a response to parse from DescribeMonitoringAgentStatuses response
+func CreateDescribeMonitoringAgentStatusesResponse() (response *DescribeMonitoringAgentStatusesResponse) {
+	response = &DescribeMonitoringAgentStatusesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/cms/describe_monitoring_config.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeMonitoringConfig invokes the cms.DescribeMonitoringConfig API synchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringconfig.html
+func (client *Client) DescribeMonitoringConfig(request *DescribeMonitoringConfigRequest) (response *DescribeMonitoringConfigResponse, err error) {
+	response = CreateDescribeMonitoringConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeMonitoringConfigWithChan invokes the cms.DescribeMonitoringConfig API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringConfigWithChan(request *DescribeMonitoringConfigRequest) (<-chan *DescribeMonitoringConfigResponse, <-chan error) {
+	responseChan := make(chan *DescribeMonitoringConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeMonitoringConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeMonitoringConfigWithCallback invokes the cms.DescribeMonitoringConfig API asynchronously
+// api document: https://help.aliyun.com/api/cms/describemonitoringconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeMonitoringConfigWithCallback(request *DescribeMonitoringConfigRequest, callback func(response *DescribeMonitoringConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeMonitoringConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeMonitoringConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeMonitoringConfigRequest is the request struct for api DescribeMonitoringConfig
+type DescribeMonitoringConfigRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeMonitoringConfigResponse is the response struct for api DescribeMonitoringConfig
+type DescribeMonitoringConfigResponse struct {
+	*responses.BaseResponse
+	Code                     string `json:"Code" xml:"Code"`
+	Message                  string `json:"Message" xml:"Message"`
+	Success                  bool   `json:"Success" xml:"Success"`
+	RequestId                string `json:"RequestId" xml:"RequestId"`
+	AutoInstall              bool   `json:"AutoInstall" xml:"AutoInstall"`
+	EnableInstallAgentNewECS bool   `json:"EnableInstallAgentNewECS" xml:"EnableInstallAgentNewECS"`
+}
+
+// CreateDescribeMonitoringConfigRequest creates a request to invoke DescribeMonitoringConfig API
+func CreateDescribeMonitoringConfigRequest() (request *DescribeMonitoringConfigRequest) {
+	request = &DescribeMonitoringConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeMonitoringConfig", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeMonitoringConfigResponse creates a response to parse from DescribeMonitoringConfig response
+func CreateDescribeMonitoringConfigResponse() (response *DescribeMonitoringConfigResponse) {
+	response = &DescribeMonitoringConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/cms/describe_products_of_active_metric_rule.go

@@ -0,0 +1,106 @@
+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"
+)
+
+// DescribeProductsOfActiveMetricRule invokes the cms.DescribeProductsOfActiveMetricRule API synchronously
+// api document: https://help.aliyun.com/api/cms/describeproductsofactivemetricrule.html
+func (client *Client) DescribeProductsOfActiveMetricRule(request *DescribeProductsOfActiveMetricRuleRequest) (response *DescribeProductsOfActiveMetricRuleResponse, err error) {
+	response = CreateDescribeProductsOfActiveMetricRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeProductsOfActiveMetricRuleWithChan invokes the cms.DescribeProductsOfActiveMetricRule API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeproductsofactivemetricrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeProductsOfActiveMetricRuleWithChan(request *DescribeProductsOfActiveMetricRuleRequest) (<-chan *DescribeProductsOfActiveMetricRuleResponse, <-chan error) {
+	responseChan := make(chan *DescribeProductsOfActiveMetricRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeProductsOfActiveMetricRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeProductsOfActiveMetricRuleWithCallback invokes the cms.DescribeProductsOfActiveMetricRule API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeproductsofactivemetricrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeProductsOfActiveMetricRuleWithCallback(request *DescribeProductsOfActiveMetricRuleRequest, callback func(response *DescribeProductsOfActiveMetricRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeProductsOfActiveMetricRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeProductsOfActiveMetricRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeProductsOfActiveMetricRuleRequest is the request struct for api DescribeProductsOfActiveMetricRule
+type DescribeProductsOfActiveMetricRuleRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeProductsOfActiveMetricRuleResponse is the response struct for api DescribeProductsOfActiveMetricRule
+type DescribeProductsOfActiveMetricRuleResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	Success    bool   `json:"Success" xml:"Success"`
+	Code       int    `json:"Code" xml:"Code"`
+	Message    string `json:"Message" xml:"Message"`
+	Datapoints string `json:"Datapoints" xml:"Datapoints"`
+}
+
+// CreateDescribeProductsOfActiveMetricRuleRequest creates a request to invoke DescribeProductsOfActiveMetricRule API
+func CreateDescribeProductsOfActiveMetricRuleRequest() (request *DescribeProductsOfActiveMetricRuleRequest) {
+	request = &DescribeProductsOfActiveMetricRuleRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeProductsOfActiveMetricRule", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeProductsOfActiveMetricRuleResponse creates a response to parse from DescribeProductsOfActiveMetricRule response
+func CreateDescribeProductsOfActiveMetricRuleResponse() (response *DescribeProductsOfActiveMetricRuleResponse) {
+	response = &DescribeProductsOfActiveMetricRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/cms/describe_project_meta.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// DescribeProjectMeta invokes the cms.DescribeProjectMeta API synchronously
+// api document: https://help.aliyun.com/api/cms/describeprojectmeta.html
+func (client *Client) DescribeProjectMeta(request *DescribeProjectMetaRequest) (response *DescribeProjectMetaResponse, err error) {
+	response = CreateDescribeProjectMetaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeProjectMetaWithChan invokes the cms.DescribeProjectMeta API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeprojectmeta.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeProjectMetaWithChan(request *DescribeProjectMetaRequest) (<-chan *DescribeProjectMetaResponse, <-chan error) {
+	responseChan := make(chan *DescribeProjectMetaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeProjectMeta(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeProjectMetaWithCallback invokes the cms.DescribeProjectMeta API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeprojectmeta.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeProjectMetaWithCallback(request *DescribeProjectMetaRequest, callback func(response *DescribeProjectMetaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeProjectMetaResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeProjectMeta(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeProjectMetaRequest is the request struct for api DescribeProjectMeta
+type DescribeProjectMetaRequest struct {
+	*requests.RpcRequest
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	Labels     string           `position:"Query" name:"Labels"`
+}
+
+// DescribeProjectMetaResponse is the response struct for api DescribeProjectMeta
+type DescribeProjectMetaResponse struct {
+	*responses.BaseResponse
+	RequestId  string                         `json:"RequestId" xml:"RequestId"`
+	Success    bool                           `json:"Success" xml:"Success"`
+	Code       string                         `json:"Code" xml:"Code"`
+	Message    string                         `json:"Message" xml:"Message"`
+	Total      string                         `json:"Total" xml:"Total"`
+	PageNumber string                         `json:"PageNumber" xml:"PageNumber"`
+	PageSize   string                         `json:"PageSize" xml:"PageSize"`
+	Resources  ResourcesInDescribeProjectMeta `json:"Resources" xml:"Resources"`
+}
+
+// CreateDescribeProjectMetaRequest creates a request to invoke DescribeProjectMeta API
+func CreateDescribeProjectMetaRequest() (request *DescribeProjectMetaRequest) {
+	request = &DescribeProjectMetaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeProjectMeta", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeProjectMetaResponse creates a response to parse from DescribeProjectMeta response
+func CreateDescribeProjectMetaResponse() (response *DescribeProjectMetaResponse) {
+	response = &DescribeProjectMetaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/cms/describe_site_monitor_attribute.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// DescribeSiteMonitorAttribute invokes the cms.DescribeSiteMonitorAttribute API synchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorattribute.html
+func (client *Client) DescribeSiteMonitorAttribute(request *DescribeSiteMonitorAttributeRequest) (response *DescribeSiteMonitorAttributeResponse, err error) {
+	response = CreateDescribeSiteMonitorAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSiteMonitorAttributeWithChan invokes the cms.DescribeSiteMonitorAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorAttributeWithChan(request *DescribeSiteMonitorAttributeRequest) (<-chan *DescribeSiteMonitorAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeSiteMonitorAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSiteMonitorAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSiteMonitorAttributeWithCallback invokes the cms.DescribeSiteMonitorAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorAttributeWithCallback(request *DescribeSiteMonitorAttributeRequest, callback func(response *DescribeSiteMonitorAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSiteMonitorAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSiteMonitorAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSiteMonitorAttributeRequest is the request struct for api DescribeSiteMonitorAttribute
+type DescribeSiteMonitorAttributeRequest struct {
+	*requests.RpcRequest
+	IncludeAlert requests.Boolean `position:"Query" name:"IncludeAlert"`
+	TaskId       string           `position:"Query" name:"TaskId"`
+}
+
+// DescribeSiteMonitorAttributeResponse is the response struct for api DescribeSiteMonitorAttribute
+type DescribeSiteMonitorAttributeResponse struct {
+	*responses.BaseResponse
+	Code         string       `json:"Code" xml:"Code"`
+	Message      string       `json:"Message" xml:"Message"`
+	Success      bool         `json:"Success" xml:"Success"`
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	SiteMonitors SiteMonitors `json:"SiteMonitors" xml:"SiteMonitors"`
+	MetricRules  MetricRules  `json:"MetricRules" xml:"MetricRules"`
+}
+
+// CreateDescribeSiteMonitorAttributeRequest creates a request to invoke DescribeSiteMonitorAttribute API
+func CreateDescribeSiteMonitorAttributeRequest() (request *DescribeSiteMonitorAttributeRequest) {
+	request = &DescribeSiteMonitorAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSiteMonitorAttribute", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSiteMonitorAttributeResponse creates a response to parse from DescribeSiteMonitorAttribute response
+func CreateDescribeSiteMonitorAttributeResponse() (response *DescribeSiteMonitorAttributeResponse) {
+	response = &DescribeSiteMonitorAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 27 - 28
services/cms/query_task_monitor_data.go → services/cms/describe_site_monitor_data.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// QueryTaskMonitorData invokes the cms.QueryTaskMonitorData API synchronously
-// api document: https://help.aliyun.com/api/cms/querytaskmonitordata.html
-func (client *Client) QueryTaskMonitorData(request *QueryTaskMonitorDataRequest) (response *QueryTaskMonitorDataResponse, err error) {
-	response = CreateQueryTaskMonitorDataResponse()
+// DescribeSiteMonitorData invokes the cms.DescribeSiteMonitorData API synchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitordata.html
+func (client *Client) DescribeSiteMonitorData(request *DescribeSiteMonitorDataRequest) (response *DescribeSiteMonitorDataResponse, err error) {
+	response = CreateDescribeSiteMonitorDataResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// QueryTaskMonitorDataWithChan invokes the cms.QueryTaskMonitorData API asynchronously
-// api document: https://help.aliyun.com/api/cms/querytaskmonitordata.html
+// DescribeSiteMonitorDataWithChan invokes the cms.DescribeSiteMonitorData API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitordata.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryTaskMonitorDataWithChan(request *QueryTaskMonitorDataRequest) (<-chan *QueryTaskMonitorDataResponse, <-chan error) {
-	responseChan := make(chan *QueryTaskMonitorDataResponse, 1)
+func (client *Client) DescribeSiteMonitorDataWithChan(request *DescribeSiteMonitorDataRequest) (<-chan *DescribeSiteMonitorDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeSiteMonitorDataResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.QueryTaskMonitorData(request)
+		response, err := client.DescribeSiteMonitorData(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) QueryTaskMonitorDataWithChan(request *QueryTaskMonitorData
 	return responseChan, errChan
 }
 
-// QueryTaskMonitorDataWithCallback invokes the cms.QueryTaskMonitorData API asynchronously
-// api document: https://help.aliyun.com/api/cms/querytaskmonitordata.html
+// DescribeSiteMonitorDataWithCallback invokes the cms.DescribeSiteMonitorData API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitordata.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) QueryTaskMonitorDataWithCallback(request *QueryTaskMonitorDataRequest, callback func(response *QueryTaskMonitorDataResponse, err error)) <-chan int {
+func (client *Client) DescribeSiteMonitorDataWithCallback(request *DescribeSiteMonitorDataRequest, callback func(response *DescribeSiteMonitorDataResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *QueryTaskMonitorDataResponse
+		var response *DescribeSiteMonitorDataResponse
 		var err error
 		defer close(result)
-		response, err = client.QueryTaskMonitorData(request)
+		response, err = client.DescribeSiteMonitorData(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,11 +73,11 @@ func (client *Client) QueryTaskMonitorDataWithCallback(request *QueryTaskMonitor
 	return result
 }
 
-// QueryTaskMonitorDataRequest is the request struct for api QueryTaskMonitorData
-type QueryTaskMonitorDataRequest struct {
+// DescribeSiteMonitorDataRequest is the request struct for api DescribeSiteMonitorData
+type DescribeSiteMonitorDataRequest struct {
 	*requests.RpcRequest
-	Cursor     string           `position:"Query" name:"Cursor"`
 	Period     string           `position:"Query" name:"Period"`
+	NextToken  string           `position:"Query" name:"NextToken"`
 	Length     requests.Integer `position:"Query" name:"Length"`
 	EndTime    string           `position:"Query" name:"EndTime"`
 	StartTime  string           `position:"Query" name:"StartTime"`
@@ -86,30 +86,29 @@ type QueryTaskMonitorDataRequest struct {
 	TaskId     string           `position:"Query" name:"TaskId"`
 }
 
-// QueryTaskMonitorDataResponse is the response struct for api QueryTaskMonitorData
-type QueryTaskMonitorDataResponse struct {
+// DescribeSiteMonitorDataResponse is the response struct for api DescribeSiteMonitorData
+type DescribeSiteMonitorDataResponse struct {
 	*responses.BaseResponse
 	Code      string `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	TraceId   string `json:"TraceId" xml:"TraceId"`
 	Data      string `json:"Data" xml:"Data"`
-	Cursor    string `json:"Cursor" xml:"Cursor"`
+	NextToken string `json:"NextToken" xml:"NextToken"`
 }
 
-// CreateQueryTaskMonitorDataRequest creates a request to invoke QueryTaskMonitorData API
-func CreateQueryTaskMonitorDataRequest() (request *QueryTaskMonitorDataRequest) {
-	request = &QueryTaskMonitorDataRequest{
+// CreateDescribeSiteMonitorDataRequest creates a request to invoke DescribeSiteMonitorData API
+func CreateDescribeSiteMonitorDataRequest() (request *DescribeSiteMonitorDataRequest) {
+	request = &DescribeSiteMonitorDataRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "QueryTaskMonitorData", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSiteMonitorData", "cms", "openAPI")
 	return
 }
 
-// CreateQueryTaskMonitorDataResponse creates a response to parse from QueryTaskMonitorData response
-func CreateQueryTaskMonitorDataResponse() (response *QueryTaskMonitorDataResponse) {
-	response = &QueryTaskMonitorDataResponse{
+// CreateDescribeSiteMonitorDataResponse creates a response to parse from DescribeSiteMonitorData response
+func CreateDescribeSiteMonitorDataResponse() (response *DescribeSiteMonitorDataResponse) {
+	response = &DescribeSiteMonitorDataResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 108 - 0
services/cms/describe_site_monitor_isp_city_list.go

@@ -0,0 +1,108 @@
+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"
+)
+
+// DescribeSiteMonitorISPCityList invokes the cms.DescribeSiteMonitorISPCityList API synchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorispcitylist.html
+func (client *Client) DescribeSiteMonitorISPCityList(request *DescribeSiteMonitorISPCityListRequest) (response *DescribeSiteMonitorISPCityListResponse, err error) {
+	response = CreateDescribeSiteMonitorISPCityListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSiteMonitorISPCityListWithChan invokes the cms.DescribeSiteMonitorISPCityList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorispcitylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorISPCityListWithChan(request *DescribeSiteMonitorISPCityListRequest) (<-chan *DescribeSiteMonitorISPCityListResponse, <-chan error) {
+	responseChan := make(chan *DescribeSiteMonitorISPCityListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSiteMonitorISPCityList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSiteMonitorISPCityListWithCallback invokes the cms.DescribeSiteMonitorISPCityList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorispcitylist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorISPCityListWithCallback(request *DescribeSiteMonitorISPCityListRequest, callback func(response *DescribeSiteMonitorISPCityListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSiteMonitorISPCityListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSiteMonitorISPCityList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSiteMonitorISPCityListRequest is the request struct for api DescribeSiteMonitorISPCityList
+type DescribeSiteMonitorISPCityListRequest struct {
+	*requests.RpcRequest
+	City string `position:"Query" name:"City"`
+	Isp  string `position:"Query" name:"Isp"`
+}
+
+// DescribeSiteMonitorISPCityListResponse is the response struct for api DescribeSiteMonitorISPCityList
+type DescribeSiteMonitorISPCityListResponse struct {
+	*responses.BaseResponse
+	Code        string      `json:"Code" xml:"Code"`
+	Message     string      `json:"Message" xml:"Message"`
+	Success     string      `json:"Success" xml:"Success"`
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	IspCityList IspCityList `json:"IspCityList" xml:"IspCityList"`
+}
+
+// CreateDescribeSiteMonitorISPCityListRequest creates a request to invoke DescribeSiteMonitorISPCityList API
+func CreateDescribeSiteMonitorISPCityListRequest() (request *DescribeSiteMonitorISPCityListRequest) {
+	request = &DescribeSiteMonitorISPCityListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSiteMonitorISPCityList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSiteMonitorISPCityListResponse creates a response to parse from DescribeSiteMonitorISPCityList response
+func CreateDescribeSiteMonitorISPCityListResponse() (response *DescribeSiteMonitorISPCityListResponse) {
+	response = &DescribeSiteMonitorISPCityListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 114 - 0
services/cms/describe_site_monitor_list.go

@@ -0,0 +1,114 @@
+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"
+)
+
+// DescribeSiteMonitorList invokes the cms.DescribeSiteMonitorList API synchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorlist.html
+func (client *Client) DescribeSiteMonitorList(request *DescribeSiteMonitorListRequest) (response *DescribeSiteMonitorListResponse, err error) {
+	response = CreateDescribeSiteMonitorListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSiteMonitorListWithChan invokes the cms.DescribeSiteMonitorList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorListWithChan(request *DescribeSiteMonitorListRequest) (<-chan *DescribeSiteMonitorListResponse, <-chan error) {
+	responseChan := make(chan *DescribeSiteMonitorListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSiteMonitorList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSiteMonitorListWithCallback invokes the cms.DescribeSiteMonitorList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorListWithCallback(request *DescribeSiteMonitorListRequest, callback func(response *DescribeSiteMonitorListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSiteMonitorListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSiteMonitorList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSiteMonitorListRequest is the request struct for api DescribeSiteMonitorList
+type DescribeSiteMonitorListRequest struct {
+	*requests.RpcRequest
+	TaskType string           `position:"Query" name:"TaskType"`
+	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"`
+}
+
+// DescribeSiteMonitorListResponse is the response struct for api DescribeSiteMonitorList
+type DescribeSiteMonitorListResponse struct {
+	*responses.BaseResponse
+	Code         string                                `json:"Code" xml:"Code"`
+	Message      string                                `json:"Message" xml:"Message"`
+	Success      string                                `json:"Success" xml:"Success"`
+	RequestId    string                                `json:"RequestId" xml:"RequestId"`
+	PageNumber   int                                   `json:"PageNumber" xml:"PageNumber"`
+	PageSize     int                                   `json:"PageSize" xml:"PageSize"`
+	TotalCount   int                                   `json:"TotalCount" xml:"TotalCount"`
+	SiteMonitors SiteMonitorsInDescribeSiteMonitorList `json:"SiteMonitors" xml:"SiteMonitors"`
+}
+
+// CreateDescribeSiteMonitorListRequest creates a request to invoke DescribeSiteMonitorList API
+func CreateDescribeSiteMonitorListRequest() (request *DescribeSiteMonitorListRequest) {
+	request = &DescribeSiteMonitorListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSiteMonitorList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSiteMonitorListResponse creates a response to parse from DescribeSiteMonitorList response
+func CreateDescribeSiteMonitorListResponse() (response *DescribeSiteMonitorListResponse) {
+	response = &DescribeSiteMonitorListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/cms/describe_site_monitor_quota.go

@@ -0,0 +1,106 @@
+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"
+)
+
+// DescribeSiteMonitorQuota invokes the cms.DescribeSiteMonitorQuota API synchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorquota.html
+func (client *Client) DescribeSiteMonitorQuota(request *DescribeSiteMonitorQuotaRequest) (response *DescribeSiteMonitorQuotaResponse, err error) {
+	response = CreateDescribeSiteMonitorQuotaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSiteMonitorQuotaWithChan invokes the cms.DescribeSiteMonitorQuota API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorQuotaWithChan(request *DescribeSiteMonitorQuotaRequest) (<-chan *DescribeSiteMonitorQuotaResponse, <-chan error) {
+	responseChan := make(chan *DescribeSiteMonitorQuotaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSiteMonitorQuota(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSiteMonitorQuotaWithCallback invokes the cms.DescribeSiteMonitorQuota API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorQuotaWithCallback(request *DescribeSiteMonitorQuotaRequest, callback func(response *DescribeSiteMonitorQuotaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSiteMonitorQuotaResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSiteMonitorQuota(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSiteMonitorQuotaRequest is the request struct for api DescribeSiteMonitorQuota
+type DescribeSiteMonitorQuotaRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeSiteMonitorQuotaResponse is the response struct for api DescribeSiteMonitorQuota
+type DescribeSiteMonitorQuotaResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   string `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateDescribeSiteMonitorQuotaRequest creates a request to invoke DescribeSiteMonitorQuota API
+func CreateDescribeSiteMonitorQuotaRequest() (request *DescribeSiteMonitorQuotaRequest) {
+	request = &DescribeSiteMonitorQuotaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSiteMonitorQuota", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSiteMonitorQuotaResponse creates a response to parse from DescribeSiteMonitorQuota response
+func CreateDescribeSiteMonitorQuotaResponse() (response *DescribeSiteMonitorQuotaResponse) {
+	response = &DescribeSiteMonitorQuotaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/cms/describe_site_monitor_statistics.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// DescribeSiteMonitorStatistics invokes the cms.DescribeSiteMonitorStatistics API synchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorstatistics.html
+func (client *Client) DescribeSiteMonitorStatistics(request *DescribeSiteMonitorStatisticsRequest) (response *DescribeSiteMonitorStatisticsResponse, err error) {
+	response = CreateDescribeSiteMonitorStatisticsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSiteMonitorStatisticsWithChan invokes the cms.DescribeSiteMonitorStatistics API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorStatisticsWithChan(request *DescribeSiteMonitorStatisticsRequest) (<-chan *DescribeSiteMonitorStatisticsResponse, <-chan error) {
+	responseChan := make(chan *DescribeSiteMonitorStatisticsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSiteMonitorStatistics(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSiteMonitorStatisticsWithCallback invokes the cms.DescribeSiteMonitorStatistics API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesitemonitorstatistics.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSiteMonitorStatisticsWithCallback(request *DescribeSiteMonitorStatisticsRequest, callback func(response *DescribeSiteMonitorStatisticsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSiteMonitorStatisticsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSiteMonitorStatistics(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSiteMonitorStatisticsRequest is the request struct for api DescribeSiteMonitorStatistics
+type DescribeSiteMonitorStatisticsRequest struct {
+	*requests.RpcRequest
+	TimeRange  string `position:"Query" name:"TimeRange"`
+	MetricName string `position:"Query" name:"MetricName"`
+	TaskId     string `position:"Query" name:"TaskId"`
+}
+
+// DescribeSiteMonitorStatisticsResponse is the response struct for api DescribeSiteMonitorStatistics
+type DescribeSiteMonitorStatisticsResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   string `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      int    `json:"Data" xml:"Data"`
+}
+
+// CreateDescribeSiteMonitorStatisticsRequest creates a request to invoke DescribeSiteMonitorStatistics API
+func CreateDescribeSiteMonitorStatisticsRequest() (request *DescribeSiteMonitorStatisticsRequest) {
+	request = &DescribeSiteMonitorStatisticsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSiteMonitorStatistics", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSiteMonitorStatisticsResponse creates a response to parse from DescribeSiteMonitorStatistics response
+func CreateDescribeSiteMonitorStatisticsResponse() (response *DescribeSiteMonitorStatisticsResponse) {
+	response = &DescribeSiteMonitorStatisticsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/cms/describe_system_event_attribute.go

@@ -0,0 +1,117 @@
+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"
+)
+
+// DescribeSystemEventAttribute invokes the cms.DescribeSystemEventAttribute API synchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventattribute.html
+func (client *Client) DescribeSystemEventAttribute(request *DescribeSystemEventAttributeRequest) (response *DescribeSystemEventAttributeResponse, err error) {
+	response = CreateDescribeSystemEventAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSystemEventAttributeWithChan invokes the cms.DescribeSystemEventAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventAttributeWithChan(request *DescribeSystemEventAttributeRequest) (<-chan *DescribeSystemEventAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeSystemEventAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSystemEventAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSystemEventAttributeWithCallback invokes the cms.DescribeSystemEventAttribute API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventAttributeWithCallback(request *DescribeSystemEventAttributeRequest, callback func(response *DescribeSystemEventAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSystemEventAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSystemEventAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSystemEventAttributeRequest is the request struct for api DescribeSystemEventAttribute
+type DescribeSystemEventAttributeRequest struct {
+	*requests.RpcRequest
+	Product        string           `position:"Query" name:"Product"`
+	Level          string           `position:"Query" name:"Level"`
+	GroupId        string           `position:"Query" name:"GroupId"`
+	Name           string           `position:"Query" name:"Name"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	EventType      string           `position:"Query" name:"EventType"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	Status         string           `position:"Query" name:"Status"`
+}
+
+// DescribeSystemEventAttributeResponse is the response struct for api DescribeSystemEventAttribute
+type DescribeSystemEventAttributeResponse struct {
+	*responses.BaseResponse
+	Code         string       `json:"Code" xml:"Code"`
+	Message      string       `json:"Message" xml:"Message"`
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	Success      string       `json:"Success" xml:"Success"`
+	SystemEvents SystemEvents `json:"SystemEvents" xml:"SystemEvents"`
+}
+
+// CreateDescribeSystemEventAttributeRequest creates a request to invoke DescribeSystemEventAttribute API
+func CreateDescribeSystemEventAttributeRequest() (request *DescribeSystemEventAttributeRequest) {
+	request = &DescribeSystemEventAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSystemEventAttribute", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSystemEventAttributeResponse creates a response to parse from DescribeSystemEventAttribute response
+func CreateDescribeSystemEventAttributeResponse() (response *DescribeSystemEventAttributeResponse) {
+	response = &DescribeSystemEventAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/cms/describe_system_event_count.go

@@ -0,0 +1,115 @@
+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"
+)
+
+// DescribeSystemEventCount invokes the cms.DescribeSystemEventCount API synchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventcount.html
+func (client *Client) DescribeSystemEventCount(request *DescribeSystemEventCountRequest) (response *DescribeSystemEventCountResponse, err error) {
+	response = CreateDescribeSystemEventCountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSystemEventCountWithChan invokes the cms.DescribeSystemEventCount API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventcount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventCountWithChan(request *DescribeSystemEventCountRequest) (<-chan *DescribeSystemEventCountResponse, <-chan error) {
+	responseChan := make(chan *DescribeSystemEventCountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSystemEventCount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSystemEventCountWithCallback invokes the cms.DescribeSystemEventCount API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventcount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventCountWithCallback(request *DescribeSystemEventCountRequest, callback func(response *DescribeSystemEventCountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSystemEventCountResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSystemEventCount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSystemEventCountRequest is the request struct for api DescribeSystemEventCount
+type DescribeSystemEventCountRequest struct {
+	*requests.RpcRequest
+	Product        string `position:"Query" name:"Product"`
+	Level          string `position:"Query" name:"Level"`
+	GroupId        string `position:"Query" name:"GroupId"`
+	Name           string `position:"Query" name:"Name"`
+	EndTime        string `position:"Query" name:"EndTime"`
+	EventType      string `position:"Query" name:"EventType"`
+	StartTime      string `position:"Query" name:"StartTime"`
+	SearchKeywords string `position:"Query" name:"SearchKeywords"`
+	Status         string `position:"Query" name:"Status"`
+}
+
+// DescribeSystemEventCountResponse is the response struct for api DescribeSystemEventCount
+type DescribeSystemEventCountResponse struct {
+	*responses.BaseResponse
+	Code              string            `json:"Code" xml:"Code"`
+	Message           string            `json:"Message" xml:"Message"`
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	Success           string            `json:"Success" xml:"Success"`
+	SystemEventCounts SystemEventCounts `json:"SystemEventCounts" xml:"SystemEventCounts"`
+}
+
+// CreateDescribeSystemEventCountRequest creates a request to invoke DescribeSystemEventCount API
+func CreateDescribeSystemEventCountRequest() (request *DescribeSystemEventCountRequest) {
+	request = &DescribeSystemEventCountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSystemEventCount", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSystemEventCountResponse creates a response to parse from DescribeSystemEventCount response
+func CreateDescribeSystemEventCountResponse() (response *DescribeSystemEventCountResponse) {
+	response = &DescribeSystemEventCountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 117 - 0
services/cms/describe_system_event_histogram.go

@@ -0,0 +1,117 @@
+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"
+)
+
+// DescribeSystemEventHistogram invokes the cms.DescribeSystemEventHistogram API synchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventhistogram.html
+func (client *Client) DescribeSystemEventHistogram(request *DescribeSystemEventHistogramRequest) (response *DescribeSystemEventHistogramResponse, err error) {
+	response = CreateDescribeSystemEventHistogramResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSystemEventHistogramWithChan invokes the cms.DescribeSystemEventHistogram API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventhistogram.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventHistogramWithChan(request *DescribeSystemEventHistogramRequest) (<-chan *DescribeSystemEventHistogramResponse, <-chan error) {
+	responseChan := make(chan *DescribeSystemEventHistogramResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSystemEventHistogram(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSystemEventHistogramWithCallback invokes the cms.DescribeSystemEventHistogram API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventhistogram.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventHistogramWithCallback(request *DescribeSystemEventHistogramRequest, callback func(response *DescribeSystemEventHistogramResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSystemEventHistogramResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSystemEventHistogram(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSystemEventHistogramRequest is the request struct for api DescribeSystemEventHistogram
+type DescribeSystemEventHistogramRequest struct {
+	*requests.RpcRequest
+	Product        string           `position:"Query" name:"Product"`
+	Level          string           `position:"Query" name:"Level"`
+	GroupId        string           `position:"Query" name:"GroupId"`
+	Name           string           `position:"Query" name:"Name"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+	EndTime        string           `position:"Query" name:"EndTime"`
+	EventType      string           `position:"Query" name:"EventType"`
+	StartTime      string           `position:"Query" name:"StartTime"`
+	SearchKeywords string           `position:"Query" name:"SearchKeywords"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	Status         string           `position:"Query" name:"Status"`
+}
+
+// DescribeSystemEventHistogramResponse is the response struct for api DescribeSystemEventHistogram
+type DescribeSystemEventHistogramResponse struct {
+	*responses.BaseResponse
+	Code                  string                `json:"Code" xml:"Code"`
+	Message               string                `json:"Message" xml:"Message"`
+	RequestId             string                `json:"RequestId" xml:"RequestId"`
+	Success               string                `json:"Success" xml:"Success"`
+	SystemEventHistograms SystemEventHistograms `json:"SystemEventHistograms" xml:"SystemEventHistograms"`
+}
+
+// CreateDescribeSystemEventHistogramRequest creates a request to invoke DescribeSystemEventHistogram API
+func CreateDescribeSystemEventHistogramRequest() (request *DescribeSystemEventHistogramRequest) {
+	request = &DescribeSystemEventHistogramRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSystemEventHistogram", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSystemEventHistogramResponse creates a response to parse from DescribeSystemEventHistogram response
+func CreateDescribeSystemEventHistogramResponse() (response *DescribeSystemEventHistogramResponse) {
+	response = &DescribeSystemEventHistogramResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/cms/describe_system_event_meta_list.go

@@ -0,0 +1,106 @@
+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"
+)
+
+// DescribeSystemEventMetaList invokes the cms.DescribeSystemEventMetaList API synchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventmetalist.html
+func (client *Client) DescribeSystemEventMetaList(request *DescribeSystemEventMetaListRequest) (response *DescribeSystemEventMetaListResponse, err error) {
+	response = CreateDescribeSystemEventMetaListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSystemEventMetaListWithChan invokes the cms.DescribeSystemEventMetaList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventmetalist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventMetaListWithChan(request *DescribeSystemEventMetaListRequest) (<-chan *DescribeSystemEventMetaListResponse, <-chan error) {
+	responseChan := make(chan *DescribeSystemEventMetaListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSystemEventMetaList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSystemEventMetaListWithCallback invokes the cms.DescribeSystemEventMetaList API asynchronously
+// api document: https://help.aliyun.com/api/cms/describesystemeventmetalist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSystemEventMetaListWithCallback(request *DescribeSystemEventMetaListRequest, callback func(response *DescribeSystemEventMetaListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSystemEventMetaListResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSystemEventMetaList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSystemEventMetaListRequest is the request struct for api DescribeSystemEventMetaList
+type DescribeSystemEventMetaListRequest struct {
+	*requests.RpcRequest
+}
+
+// DescribeSystemEventMetaListResponse is the response struct for api DescribeSystemEventMetaList
+type DescribeSystemEventMetaListResponse struct {
+	*responses.BaseResponse
+	RequestId string                            `json:"RequestId" xml:"RequestId"`
+	Success   bool                              `json:"Success" xml:"Success"`
+	Code      int                               `json:"Code" xml:"Code"`
+	Message   string                            `json:"Message" xml:"Message"`
+	Data      DataInDescribeSystemEventMetaList `json:"Data" xml:"Data"`
+}
+
+// CreateDescribeSystemEventMetaListRequest creates a request to invoke DescribeSystemEventMetaList API
+func CreateDescribeSystemEventMetaListRequest() (request *DescribeSystemEventMetaListRequest) {
+	request = &DescribeSystemEventMetaListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeSystemEventMetaList", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeSystemEventMetaListResponse creates a response to parse from DescribeSystemEventMetaList response
+func CreateDescribeSystemEventMetaListResponse() (response *DescribeSystemEventMetaListResponse) {
+	response = &DescribeSystemEventMetaListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/cms/describe_task_detail.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"
-)
-
-// DescribeTaskDetail invokes the cms.DescribeTaskDetail API synchronously
-// api document: https://help.aliyun.com/api/cms/describetaskdetail.html
-func (client *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (response *DescribeTaskDetailResponse, err error) {
-	response = CreateDescribeTaskDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeTaskDetailWithChan invokes the cms.DescribeTaskDetail API asynchronously
-// api document: https://help.aliyun.com/api/cms/describetaskdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTaskDetailWithChan(request *DescribeTaskDetailRequest) (<-chan *DescribeTaskDetailResponse, <-chan error) {
-	responseChan := make(chan *DescribeTaskDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeTaskDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeTaskDetailWithCallback invokes the cms.DescribeTaskDetail API asynchronously
-// api document: https://help.aliyun.com/api/cms/describetaskdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTaskDetailWithCallback(request *DescribeTaskDetailRequest, callback func(response *DescribeTaskDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeTaskDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeTaskDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeTaskDetailRequest is the request struct for api DescribeTaskDetail
-type DescribeTaskDetailRequest struct {
-	*requests.RpcRequest
-	TaskId string `position:"Query" name:"TaskId"`
-}
-
-// DescribeTaskDetailResponse is the response struct for api DescribeTaskDetail
-type DescribeTaskDetailResponse struct {
-	*responses.BaseResponse
-	Code      string `json:"Code" xml:"Code"`
-	Message   string `json:"Message" xml:"Message"`
-	Success   string `json:"Success" xml:"Success"`
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateDescribeTaskDetailRequest creates a request to invoke DescribeTaskDetail API
-func CreateDescribeTaskDetailRequest() (request *DescribeTaskDetailRequest) {
-	request = &DescribeTaskDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeTaskDetail", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeTaskDetailResponse creates a response to parse from DescribeTaskDetail response
-func CreateDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse) {
-	response = &DescribeTaskDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/cms/describe_tasks.go

@@ -1,114 +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"
-)
-
-// DescribeTasks invokes the cms.DescribeTasks API synchronously
-// api document: https://help.aliyun.com/api/cms/describetasks.html
-func (client *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error) {
-	response = CreateDescribeTasksResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeTasksWithChan invokes the cms.DescribeTasks API asynchronously
-// api document: https://help.aliyun.com/api/cms/describetasks.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTasksWithChan(request *DescribeTasksRequest) (<-chan *DescribeTasksResponse, <-chan error) {
-	responseChan := make(chan *DescribeTasksResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeTasks(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeTasksWithCallback invokes the cms.DescribeTasks API asynchronously
-// api document: https://help.aliyun.com/api/cms/describetasks.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTasksWithCallback(request *DescribeTasksRequest, callback func(response *DescribeTasksResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeTasksResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeTasks(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeTasksRequest is the request struct for api DescribeTasks
-type DescribeTasksRequest struct {
-	*requests.RpcRequest
-	TaskType string           `position:"Query" name:"TaskType"`
-	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
-type DescribeTasksResponse struct {
-	*responses.BaseResponse
-	Code       string `json:"Code" xml:"Code"`
-	Message    string `json:"Message" xml:"Message"`
-	Success    string `json:"Success" xml:"Success"`
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	Data       string `json:"Data" xml:"Data"`
-	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int    `json:"PageSize" xml:"PageSize"`
-	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
-}
-
-// CreateDescribeTasksRequest creates a request to invoke DescribeTasks API
-func CreateDescribeTasksRequest() (request *DescribeTasksRequest) {
-	request = &DescribeTasksRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DescribeTasks", "cms", "openAPI")
-	return
-}
-
-// CreateDescribeTasksResponse creates a response to parse from DescribeTasks response
-func CreateDescribeTasksResponse() (response *DescribeTasksResponse) {
-	response = &DescribeTasksResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 107 - 0
services/cms/describe_unhealthy_host_availability.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DescribeUnhealthyHostAvailability invokes the cms.DescribeUnhealthyHostAvailability API synchronously
+// api document: https://help.aliyun.com/api/cms/describeunhealthyhostavailability.html
+func (client *Client) DescribeUnhealthyHostAvailability(request *DescribeUnhealthyHostAvailabilityRequest) (response *DescribeUnhealthyHostAvailabilityResponse, err error) {
+	response = CreateDescribeUnhealthyHostAvailabilityResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeUnhealthyHostAvailabilityWithChan invokes the cms.DescribeUnhealthyHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeunhealthyhostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeUnhealthyHostAvailabilityWithChan(request *DescribeUnhealthyHostAvailabilityRequest) (<-chan *DescribeUnhealthyHostAvailabilityResponse, <-chan error) {
+	responseChan := make(chan *DescribeUnhealthyHostAvailabilityResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeUnhealthyHostAvailability(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeUnhealthyHostAvailabilityWithCallback invokes the cms.DescribeUnhealthyHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/describeunhealthyhostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeUnhealthyHostAvailabilityWithCallback(request *DescribeUnhealthyHostAvailabilityRequest, callback func(response *DescribeUnhealthyHostAvailabilityResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeUnhealthyHostAvailabilityResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeUnhealthyHostAvailability(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeUnhealthyHostAvailabilityRequest is the request struct for api DescribeUnhealthyHostAvailability
+type DescribeUnhealthyHostAvailabilityRequest struct {
+	*requests.RpcRequest
+	Id *[]string `position:"Query" name:"Id"  type:"Repeated"`
+}
+
+// DescribeUnhealthyHostAvailabilityResponse is the response struct for api DescribeUnhealthyHostAvailability
+type DescribeUnhealthyHostAvailabilityResponse struct {
+	*responses.BaseResponse
+	Code          string        `json:"Code" xml:"Code"`
+	Message       string        `json:"Message" xml:"Message"`
+	Success       bool          `json:"Success" xml:"Success"`
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	UnhealthyList UnhealthyList `json:"UnhealthyList" xml:"UnhealthyList"`
+}
+
+// CreateDescribeUnhealthyHostAvailabilityRequest creates a request to invoke DescribeUnhealthyHostAvailability API
+func CreateDescribeUnhealthyHostAvailabilityRequest() (request *DescribeUnhealthyHostAvailabilityRequest) {
+	request = &DescribeUnhealthyHostAvailabilityRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DescribeUnhealthyHostAvailability", "cms", "openAPI")
+	return
+}
+
+// CreateDescribeUnhealthyHostAvailabilityResponse creates a response to parse from DescribeUnhealthyHostAvailability response
+func CreateDescribeUnhealthyHostAvailabilityResponse() (response *DescribeUnhealthyHostAvailabilityResponse) {
+	response = &DescribeUnhealthyHostAvailabilityResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/cms/disable_active_metric_rule.go

@@ -0,0 +1,106 @@
+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"
+)
+
+// DisableActiveMetricRule invokes the cms.DisableActiveMetricRule API synchronously
+// api document: https://help.aliyun.com/api/cms/disableactivemetricrule.html
+func (client *Client) DisableActiveMetricRule(request *DisableActiveMetricRuleRequest) (response *DisableActiveMetricRuleResponse, err error) {
+	response = CreateDisableActiveMetricRuleResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DisableActiveMetricRuleWithChan invokes the cms.DisableActiveMetricRule API asynchronously
+// api document: https://help.aliyun.com/api/cms/disableactivemetricrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableActiveMetricRuleWithChan(request *DisableActiveMetricRuleRequest) (<-chan *DisableActiveMetricRuleResponse, <-chan error) {
+	responseChan := make(chan *DisableActiveMetricRuleResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DisableActiveMetricRule(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DisableActiveMetricRuleWithCallback invokes the cms.DisableActiveMetricRule API asynchronously
+// api document: https://help.aliyun.com/api/cms/disableactivemetricrule.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableActiveMetricRuleWithCallback(request *DisableActiveMetricRuleRequest, callback func(response *DisableActiveMetricRuleResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DisableActiveMetricRuleResponse
+		var err error
+		defer close(result)
+		response, err = client.DisableActiveMetricRule(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DisableActiveMetricRuleRequest is the request struct for api DisableActiveMetricRule
+type DisableActiveMetricRuleRequest struct {
+	*requests.RpcRequest
+	Product string `position:"Query" name:"Product"`
+}
+
+// DisableActiveMetricRuleResponse is the response struct for api DisableActiveMetricRule
+type DisableActiveMetricRuleResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+}
+
+// CreateDisableActiveMetricRuleRequest creates a request to invoke DisableActiveMetricRule API
+func CreateDisableActiveMetricRuleRequest() (request *DisableActiveMetricRuleRequest) {
+	request = &DisableActiveMetricRuleRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DisableActiveMetricRule", "cms", "openAPI")
+	return
+}
+
+// CreateDisableActiveMetricRuleResponse creates a response to parse from DisableActiveMetricRule response
+func CreateDisableActiveMetricRuleResponse() (response *DisableActiveMetricRuleResponse) {
+	response = &DisableActiveMetricRuleResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 106
services/cms/disable_alarm.go

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

+ 25 - 26
services/cms/disable_event_rule.go → services/cms/disable_event_rules.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DisableEventRule invokes the cms.DisableEventRule API synchronously
-// api document: https://help.aliyun.com/api/cms/disableeventrule.html
-func (client *Client) DisableEventRule(request *DisableEventRuleRequest) (response *DisableEventRuleResponse, err error) {
-	response = CreateDisableEventRuleResponse()
+// DisableEventRules invokes the cms.DisableEventRules API synchronously
+// api document: https://help.aliyun.com/api/cms/disableeventrules.html
+func (client *Client) DisableEventRules(request *DisableEventRulesRequest) (response *DisableEventRulesResponse, err error) {
+	response = CreateDisableEventRulesResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DisableEventRuleWithChan invokes the cms.DisableEventRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/disableeventrule.html
+// DisableEventRulesWithChan invokes the cms.DisableEventRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/disableeventrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DisableEventRuleWithChan(request *DisableEventRuleRequest) (<-chan *DisableEventRuleResponse, <-chan error) {
-	responseChan := make(chan *DisableEventRuleResponse, 1)
+func (client *Client) DisableEventRulesWithChan(request *DisableEventRulesRequest) (<-chan *DisableEventRulesResponse, <-chan error) {
+	responseChan := make(chan *DisableEventRulesResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DisableEventRule(request)
+		response, err := client.DisableEventRules(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DisableEventRuleWithChan(request *DisableEventRuleRequest)
 	return responseChan, errChan
 }
 
-// DisableEventRuleWithCallback invokes the cms.DisableEventRule API asynchronously
-// api document: https://help.aliyun.com/api/cms/disableeventrule.html
+// DisableEventRulesWithCallback invokes the cms.DisableEventRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/disableeventrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DisableEventRuleWithCallback(request *DisableEventRuleRequest, callback func(response *DisableEventRuleResponse, err error)) <-chan int {
+func (client *Client) DisableEventRulesWithCallback(request *DisableEventRulesRequest, callback func(response *DisableEventRulesResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DisableEventRuleResponse
+		var response *DisableEventRulesResponse
 		var err error
 		defer close(result)
-		response, err = client.DisableEventRule(request)
+		response, err = client.DisableEventRules(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,15 +73,14 @@ func (client *Client) DisableEventRuleWithCallback(request *DisableEventRuleRequ
 	return result
 }
 
-// DisableEventRuleRequest is the request struct for api DisableEventRule
-type DisableEventRuleRequest struct {
+// DisableEventRulesRequest is the request struct for api DisableEventRules
+type DisableEventRulesRequest struct {
 	*requests.RpcRequest
 	RuleNames *[]string `position:"Query" name:"RuleNames"  type:"Repeated"`
-	RuleName  string    `position:"Query" name:"RuleName"`
 }
 
-// DisableEventRuleResponse is the response struct for api DisableEventRule
-type DisableEventRuleResponse struct {
+// DisableEventRulesResponse is the response struct for api DisableEventRules
+type DisableEventRulesResponse struct {
 	*responses.BaseResponse
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      string `json:"Code" xml:"Code"`
@@ -89,18 +88,18 @@ type DisableEventRuleResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
-// CreateDisableEventRuleRequest creates a request to invoke DisableEventRule API
-func CreateDisableEventRuleRequest() (request *DisableEventRuleRequest) {
-	request = &DisableEventRuleRequest{
+// CreateDisableEventRulesRequest creates a request to invoke DisableEventRules API
+func CreateDisableEventRulesRequest() (request *DisableEventRulesRequest) {
+	request = &DisableEventRulesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DisableEventRule", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DisableEventRules", "cms", "openAPI")
 	return
 }
 
-// CreateDisableEventRuleResponse creates a response to parse from DisableEventRule response
-func CreateDisableEventRuleResponse() (response *DisableEventRuleResponse) {
-	response = &DisableEventRuleResponse{
+// CreateDisableEventRulesResponse creates a response to parse from DisableEventRules response
+func CreateDisableEventRulesResponse() (response *DisableEventRulesResponse) {
+	response = &DisableEventRulesResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 106 - 0
services/cms/disable_host_availability.go

@@ -0,0 +1,106 @@
+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"
+)
+
+// DisableHostAvailability invokes the cms.DisableHostAvailability API synchronously
+// api document: https://help.aliyun.com/api/cms/disablehostavailability.html
+func (client *Client) DisableHostAvailability(request *DisableHostAvailabilityRequest) (response *DisableHostAvailabilityResponse, err error) {
+	response = CreateDisableHostAvailabilityResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DisableHostAvailabilityWithChan invokes the cms.DisableHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/disablehostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableHostAvailabilityWithChan(request *DisableHostAvailabilityRequest) (<-chan *DisableHostAvailabilityResponse, <-chan error) {
+	responseChan := make(chan *DisableHostAvailabilityResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DisableHostAvailability(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DisableHostAvailabilityWithCallback invokes the cms.DisableHostAvailability API asynchronously
+// api document: https://help.aliyun.com/api/cms/disablehostavailability.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableHostAvailabilityWithCallback(request *DisableHostAvailabilityRequest, callback func(response *DisableHostAvailabilityResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DisableHostAvailabilityResponse
+		var err error
+		defer close(result)
+		response, err = client.DisableHostAvailability(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DisableHostAvailabilityRequest is the request struct for api DisableHostAvailability
+type DisableHostAvailabilityRequest struct {
+	*requests.RpcRequest
+	Id *[]string `position:"Query" name:"Id"  type:"Repeated"`
+}
+
+// DisableHostAvailabilityResponse is the response struct for api DisableHostAvailability
+type DisableHostAvailabilityResponse struct {
+	*responses.BaseResponse
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDisableHostAvailabilityRequest creates a request to invoke DisableHostAvailability API
+func CreateDisableHostAvailabilityRequest() (request *DisableHostAvailabilityRequest) {
+	request = &DisableHostAvailabilityRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cms", "2019-01-01", "DisableHostAvailability", "cms", "openAPI")
+	return
+}
+
+// CreateDisableHostAvailabilityResponse creates a response to parse from DisableHostAvailability response
+func CreateDisableHostAvailabilityResponse() (response *DisableHostAvailabilityResponse) {
+	response = &DisableHostAvailabilityResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 26 - 27
services/cms/delete_event_targets.go → services/cms/disable_metric_rules.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DeleteEventTargets invokes the cms.DeleteEventTargets API synchronously
-// api document: https://help.aliyun.com/api/cms/deleteeventtargets.html
-func (client *Client) DeleteEventTargets(request *DeleteEventTargetsRequest) (response *DeleteEventTargetsResponse, err error) {
-	response = CreateDeleteEventTargetsResponse()
+// DisableMetricRules invokes the cms.DisableMetricRules API synchronously
+// api document: https://help.aliyun.com/api/cms/disablemetricrules.html
+func (client *Client) DisableMetricRules(request *DisableMetricRulesRequest) (response *DisableMetricRulesResponse, err error) {
+	response = CreateDisableMetricRulesResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DeleteEventTargetsWithChan invokes the cms.DeleteEventTargets API asynchronously
-// api document: https://help.aliyun.com/api/cms/deleteeventtargets.html
+// DisableMetricRulesWithChan invokes the cms.DisableMetricRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/disablemetricrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteEventTargetsWithChan(request *DeleteEventTargetsRequest) (<-chan *DeleteEventTargetsResponse, <-chan error) {
-	responseChan := make(chan *DeleteEventTargetsResponse, 1)
+func (client *Client) DisableMetricRulesWithChan(request *DisableMetricRulesRequest) (<-chan *DisableMetricRulesResponse, <-chan error) {
+	responseChan := make(chan *DisableMetricRulesResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DeleteEventTargets(request)
+		response, err := client.DisableMetricRules(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DeleteEventTargetsWithChan(request *DeleteEventTargetsRequ
 	return responseChan, errChan
 }
 
-// DeleteEventTargetsWithCallback invokes the cms.DeleteEventTargets API asynchronously
-// api document: https://help.aliyun.com/api/cms/deleteeventtargets.html
+// DisableMetricRulesWithCallback invokes the cms.DisableMetricRules API asynchronously
+// api document: https://help.aliyun.com/api/cms/disablemetricrules.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteEventTargetsWithCallback(request *DeleteEventTargetsRequest, callback func(response *DeleteEventTargetsResponse, err error)) <-chan int {
+func (client *Client) DisableMetricRulesWithCallback(request *DisableMetricRulesRequest, callback func(response *DisableMetricRulesResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DeleteEventTargetsResponse
+		var response *DisableMetricRulesResponse
 		var err error
 		defer close(result)
-		response, err = client.DeleteEventTargets(request)
+		response, err = client.DisableMetricRules(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,15 +73,14 @@ func (client *Client) DeleteEventTargetsWithCallback(request *DeleteEventTargets
 	return result
 }
 
-// DeleteEventTargetsRequest is the request struct for api DeleteEventTargets
-type DeleteEventTargetsRequest struct {
+// DisableMetricRulesRequest is the request struct for api DisableMetricRules
+type DisableMetricRulesRequest struct {
 	*requests.RpcRequest
-	Ids      *[]string `position:"Query" name:"Ids"  type:"Repeated"`
-	RuleName string    `position:"Query" name:"RuleName"`
+	RuleId *[]string `position:"Query" name:"RuleId"  type:"Repeated"`
 }
 
-// DeleteEventTargetsResponse is the response struct for api DeleteEventTargets
-type DeleteEventTargetsResponse struct {
+// DisableMetricRulesResponse is the response struct for api DisableMetricRules
+type DisableMetricRulesResponse struct {
 	*responses.BaseResponse
 	Success   bool   `json:"Success" xml:"Success"`
 	Code      string `json:"Code" xml:"Code"`
@@ -89,18 +88,18 @@ type DeleteEventTargetsResponse struct {
 	RequestId string `json:"RequestId" xml:"RequestId"`
 }
 
-// CreateDeleteEventTargetsRequest creates a request to invoke DeleteEventTargets API
-func CreateDeleteEventTargetsRequest() (request *DeleteEventTargetsRequest) {
-	request = &DeleteEventTargetsRequest{
+// CreateDisableMetricRulesRequest creates a request to invoke DisableMetricRules API
+func CreateDisableMetricRulesRequest() (request *DisableMetricRulesRequest) {
+	request = &DisableMetricRulesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "DeleteEventTargets", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DisableMetricRules", "cms", "openAPI")
 	return
 }
 
-// CreateDeleteEventTargetsResponse creates a response to parse from DeleteEventTargets response
-func CreateDeleteEventTargetsResponse() (response *DeleteEventTargetsResponse) {
-	response = &DeleteEventTargetsResponse{
+// CreateDisableMetricRulesResponse creates a response to parse from DisableMetricRules response
+func CreateDisableMetricRulesResponse() (response *DisableMetricRulesResponse) {
+	response = &DisableMetricRulesResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 25 - 25
services/cms/stop_tasks.go → services/cms/disable_site_monitors.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// StopTasks invokes the cms.StopTasks API synchronously
-// api document: https://help.aliyun.com/api/cms/stoptasks.html
-func (client *Client) StopTasks(request *StopTasksRequest) (response *StopTasksResponse, err error) {
-	response = CreateStopTasksResponse()
+// DisableSiteMonitors invokes the cms.DisableSiteMonitors API synchronously
+// api document: https://help.aliyun.com/api/cms/disablesitemonitors.html
+func (client *Client) DisableSiteMonitors(request *DisableSiteMonitorsRequest) (response *DisableSiteMonitorsResponse, err error) {
+	response = CreateDisableSiteMonitorsResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// StopTasksWithChan invokes the cms.StopTasks API asynchronously
-// api document: https://help.aliyun.com/api/cms/stoptasks.html
+// DisableSiteMonitorsWithChan invokes the cms.DisableSiteMonitors API asynchronously
+// api document: https://help.aliyun.com/api/cms/disablesitemonitors.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) StopTasksWithChan(request *StopTasksRequest) (<-chan *StopTasksResponse, <-chan error) {
-	responseChan := make(chan *StopTasksResponse, 1)
+func (client *Client) DisableSiteMonitorsWithChan(request *DisableSiteMonitorsRequest) (<-chan *DisableSiteMonitorsResponse, <-chan error) {
+	responseChan := make(chan *DisableSiteMonitorsResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.StopTasks(request)
+		response, err := client.DisableSiteMonitors(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) StopTasksWithChan(request *StopTasksRequest) (<-chan *Stop
 	return responseChan, errChan
 }
 
-// StopTasksWithCallback invokes the cms.StopTasks API asynchronously
-// api document: https://help.aliyun.com/api/cms/stoptasks.html
+// DisableSiteMonitorsWithCallback invokes the cms.DisableSiteMonitors API asynchronously
+// api document: https://help.aliyun.com/api/cms/disablesitemonitors.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) StopTasksWithCallback(request *StopTasksRequest, callback func(response *StopTasksResponse, err error)) <-chan int {
+func (client *Client) DisableSiteMonitorsWithCallback(request *DisableSiteMonitorsRequest, callback func(response *DisableSiteMonitorsResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *StopTasksResponse
+		var response *DisableSiteMonitorsResponse
 		var err error
 		defer close(result)
-		response, err = client.StopTasks(request)
+		response, err = client.DisableSiteMonitors(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,14 +73,14 @@ func (client *Client) StopTasksWithCallback(request *StopTasksRequest, callback
 	return result
 }
 
-// StopTasksRequest is the request struct for api StopTasks
-type StopTasksRequest struct {
+// DisableSiteMonitorsRequest is the request struct for api DisableSiteMonitors
+type DisableSiteMonitorsRequest struct {
 	*requests.RpcRequest
 	TaskIds string `position:"Query" name:"TaskIds"`
 }
 
-// StopTasksResponse is the response struct for api StopTasks
-type StopTasksResponse struct {
+// DisableSiteMonitorsResponse is the response struct for api DisableSiteMonitors
+type DisableSiteMonitorsResponse struct {
 	*responses.BaseResponse
 	Code      string `json:"Code" xml:"Code"`
 	Message   string `json:"Message" xml:"Message"`
@@ -89,18 +89,18 @@ type StopTasksResponse struct {
 	Data      string `json:"Data" xml:"Data"`
 }
 
-// CreateStopTasksRequest creates a request to invoke StopTasks API
-func CreateStopTasksRequest() (request *StopTasksRequest) {
-	request = &StopTasksRequest{
+// CreateDisableSiteMonitorsRequest creates a request to invoke DisableSiteMonitors API
+func CreateDisableSiteMonitorsRequest() (request *DisableSiteMonitorsRequest) {
+	request = &DisableSiteMonitorsRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("Cms", "2018-03-08", "StopTasks", "cms", "openAPI")
+	request.InitWithApiInfo("Cms", "2019-01-01", "DisableSiteMonitors", "cms", "openAPI")
 	return
 }
 
-// CreateStopTasksResponse creates a response to parse from StopTasks response
-func CreateStopTasksResponse() (response *StopTasksResponse) {
-	response = &StopTasksResponse{
+// CreateDisableSiteMonitorsResponse creates a response to parse from DisableSiteMonitors response
+func CreateDisableSiteMonitorsResponse() (response *DisableSiteMonitorsResponse) {
+	response = &DisableSiteMonitorsResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

部分文件因为文件数量过多而无法显示