浏览代码

Generated 2019-01-01 for Cms.

sdk-team 5 年之前
父节点
当前提交
75185d4328
共有 4 个文件被更改,包括 48 次插入41 次删除
  1. 4 0
      ChangeLog.txt
  2. 1 1
      services/cms/delete_site_monitors.go
  3. 1 0
      services/cms/struct_data.go
  4. 42 40
      services/cms/struct_resource.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-01-16 Version: v1.60.343
+- Generated 2019-01-01 for `Cms`.
+- Fix the result value of DeleteSiteMonitors.
+
 2020-01-16 Version: v1.60.342
 - Generated 2015-01-01 for `R-kvstore`.
 - Generated 2015-01-01 for `R-kvstore`.

+ 1 - 1
services/cms/delete_site_monitors.go

@@ -87,7 +87,7 @@ type DeleteSiteMonitorsResponse struct {
 	Message   string `json:"Message" xml:"Message"`
 	Success   string `json:"Success" xml:"Success"`
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateDeleteSiteMonitorsRequest creates a request to invoke DeleteSiteMonitors API

+ 1 - 0
services/cms/struct_data.go

@@ -22,5 +22,6 @@ type Data struct {
 	SiteMonitorOperatorQuotaQuota int               `json:"SiteMonitorOperatorQuotaQuota" xml:"SiteMonitorOperatorQuotaQuota"`
 	SiteMonitorTaskQuota          int               `json:"SiteMonitorTaskQuota" xml:"SiteMonitorTaskQuota"`
 	SiteMonitorQuotaTaskUsed      int               `json:"SiteMonitorQuotaTaskUsed" xml:"SiteMonitorQuotaTaskUsed"`
+	Count                         int               `json:"count" xml:"count"`
 	AttachAlertResult             AttachAlertResult `json:"AttachAlertResult" xml:"AttachAlertResult"`
 }

+ 42 - 40
services/cms/struct_resource.go

@@ -17,44 +17,46 @@ package cms
 
 // Resource is a nested struct in cms response
 type Resource struct {
-	TemplateId        string                                      `json:"TemplateId" xml:"TemplateId"`
-	Name              string                                      `json:"Name" xml:"Name"`
-	Category          string                                      `json:"Category" xml:"Category"`
-	Unit              string                                      `json:"Unit" xml:"Unit"`
-	NameDesc          string                                      `json:"NameDesc" xml:"NameDesc"`
-	Desc              string                                      `json:"Desc" xml:"Desc"`
-	BindUrl           string                                      `json:"BindUrl" xml:"BindUrl"`
-	Dimensions        string                                      `json:"Dimensions" xml:"Dimensions"`
-	GroupName         string                                      `json:"GroupName" xml:"GroupName"`
-	DynamicTagGroupId int64                                       `json:"DynamicTagGroupId" xml:"DynamicTagGroupId"`
-	ServiceId         string                                      `json:"ServiceId" xml:"ServiceId"`
-	RestVersion       string                                      `json:"RestVersion" xml:"RestVersion"`
-	RegionId          string                                      `json:"RegionId" xml:"RegionId"`
-	InstanceId        string                                      `json:"InstanceId" xml:"InstanceId"`
-	NetworkType       string                                      `json:"NetworkType" xml:"NetworkType"`
-	Description       string                                      `json:"Description" xml:"Description"`
-	Periods           string                                      `json:"Periods" xml:"Periods"`
-	Type              string                                      `json:"Type" xml:"Type"`
-	Product           string                                      `json:"Product" xml:"Product"`
-	InstanceName      string                                      `json:"InstanceName" xml:"InstanceName"`
-	Level             string                                      `json:"Level" xml:"Level"`
-	Dimension         string                                      `json:"Dimension" xml:"Dimension"`
-	Id                int64                                       `json:"Id" xml:"Id"`
-	GmtCreate         int64                                       `json:"GmtCreate" xml:"GmtCreate"`
-	EventType         string                                      `json:"EventType" xml:"EventType"`
-	Namespace         string                                      `json:"Namespace" xml:"Namespace"`
-	GroupId           int64                                       `json:"GroupId" xml:"GroupId"`
-	GmtModified       int64                                       `json:"GmtModified" xml:"GmtModified"`
-	MetricName        string                                      `json:"MetricName" xml:"MetricName"`
-	StatusDesc        string                                      `json:"StatusDesc" xml:"StatusDesc"`
-	Labels            string                                      `json:"Labels" xml:"Labels"`
-	Status            string                                      `json:"Status" xml:"Status"`
-	Statistics        string                                      `json:"Statistics" xml:"Statistics"`
-	TemplateIds       TemplateIds                                 `json:"TemplateIds" xml:"TemplateIds"`
-	Vpc               Vpc                                         `json:"Vpc" xml:"Vpc"`
-	Region            Region                                      `json:"Region" xml:"Region"`
-	Tags              TagsInDescribeMonitorGroupInstanceAttribute `json:"Tags" xml:"Tags"`
-	ContactGroups     ContactGroupsInDescribeMonitorGroups        `json:"ContactGroups" xml:"ContactGroups"`
-	AlertResults      []Result                                    `json:"AlertResults" xml:"AlertResults"`
-	AlertTemplates    AlertTemplates                              `json:"AlertTemplates" xml:"AlertTemplates"`
+	TemplateId           string                                      `json:"TemplateId" xml:"TemplateId"`
+	Name                 string                                      `json:"Name" xml:"Name"`
+	Category             string                                      `json:"Category" xml:"Category"`
+	Unit                 string                                      `json:"Unit" xml:"Unit"`
+	NameDesc             string                                      `json:"NameDesc" xml:"NameDesc"`
+	Desc                 string                                      `json:"Desc" xml:"Desc"`
+	BindUrl              string                                      `json:"BindUrl" xml:"BindUrl"`
+	Dimensions           string                                      `json:"Dimensions" xml:"Dimensions"`
+	GroupName            string                                      `json:"GroupName" xml:"GroupName"`
+	ServiceId            string                                      `json:"ServiceId" xml:"ServiceId"`
+	RestVersion          string                                      `json:"RestVersion" xml:"RestVersion"`
+	RegionId             string                                      `json:"RegionId" xml:"RegionId"`
+	InstanceId           string                                      `json:"InstanceId" xml:"InstanceId"`
+	DynamicTagRuleId     string                                      `json:"DynamicTagRuleId" xml:"DynamicTagRuleId"`
+	NetworkType          string                                      `json:"NetworkType" xml:"NetworkType"`
+	Description          string                                      `json:"Description" xml:"Description"`
+	Periods              string                                      `json:"Periods" xml:"Periods"`
+	Type                 string                                      `json:"Type" xml:"Type"`
+	Product              string                                      `json:"Product" xml:"Product"`
+	InstanceName         string                                      `json:"InstanceName" xml:"InstanceName"`
+	Level                string                                      `json:"Level" xml:"Level"`
+	Dimension            string                                      `json:"Dimension" xml:"Dimension"`
+	Id                   int64                                       `json:"Id" xml:"Id"`
+	GroupFounderTagValue string                                      `json:"GroupFounderTagValue" xml:"GroupFounderTagValue"`
+	GmtCreate            int64                                       `json:"GmtCreate" xml:"GmtCreate"`
+	EventType            string                                      `json:"EventType" xml:"EventType"`
+	Namespace            string                                      `json:"Namespace" xml:"Namespace"`
+	GroupId              int64                                       `json:"GroupId" xml:"GroupId"`
+	GmtModified          int64                                       `json:"GmtModified" xml:"GmtModified"`
+	GroupFounderTagKey   string                                      `json:"GroupFounderTagKey" xml:"GroupFounderTagKey"`
+	MetricName           string                                      `json:"MetricName" xml:"MetricName"`
+	StatusDesc           string                                      `json:"StatusDesc" xml:"StatusDesc"`
+	Labels               string                                      `json:"Labels" xml:"Labels"`
+	Status               string                                      `json:"Status" xml:"Status"`
+	Statistics           string                                      `json:"Statistics" xml:"Statistics"`
+	TemplateIds          TemplateIds                                 `json:"TemplateIds" xml:"TemplateIds"`
+	Vpc                  Vpc                                         `json:"Vpc" xml:"Vpc"`
+	Region               Region                                      `json:"Region" xml:"Region"`
+	Tags                 TagsInDescribeMonitorGroupInstanceAttribute `json:"Tags" xml:"Tags"`
+	ContactGroups        ContactGroupsInDescribeMonitorGroups        `json:"ContactGroups" xml:"ContactGroups"`
+	AlertResults         []Result                                    `json:"AlertResults" xml:"AlertResults"`
+	AlertTemplates       AlertTemplates                              `json:"AlertTemplates" xml:"AlertTemplates"`
 }