-
Notifications
You must be signed in to change notification settings - Fork 271
/
struct_resource.go
71 lines (69 loc) · 6.58 KB
/
struct_resource.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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.
// Resource is a nested struct in cms response
type Resource struct {
TemplateId string `json:"TemplateId" xml:"TemplateId"`
Dimensions string `json:"Dimensions" xml:"Dimensions"`
ServiceId string `json:"ServiceId" xml:"ServiceId"`
RestVersion string `json:"RestVersion" xml:"RestVersion"`
DynamicTagRuleId string `json:"DynamicTagRuleId" xml:"DynamicTagRuleId"`
NetworkType string `json:"NetworkType" xml:"NetworkType"`
Type string `json:"Type" xml:"Type"`
Times int `json:"Times" xml:"Times"`
InstanceName string `json:"InstanceName" xml:"InstanceName"`
PreCondition string `json:"PreCondition" xml:"PreCondition"`
HostAvailabilityTemplates string `json:"HostAvailabilityTemplates" xml:"HostAvailabilityTemplates"`
Id int64 `json:"Id" xml:"Id"`
Threshold string `json:"Threshold" xml:"Threshold"`
GroupFounderTagValue string `json:"GroupFounderTagValue" xml:"GroupFounderTagValue"`
GmtCreate int64 `json:"GmtCreate" xml:"GmtCreate"`
GroupProcessId string `json:"GroupProcessId" xml:"GroupProcessId"`
GmtModified int64 `json:"GmtModified" xml:"GmtModified"`
GroupFounderTagKey string `json:"GroupFounderTagKey" xml:"GroupFounderTagKey"`
ProcessMonitorTemplates string `json:"ProcessMonitorTemplates" xml:"ProcessMonitorTemplates"`
Statistics string `json:"Statistics" xml:"Statistics"`
Name string `json:"Name" xml:"Name"`
Category string `json:"Category" xml:"Category"`
Unit string `json:"Unit" xml:"Unit"`
SystemEventTemplates string `json:"SystemEventTemplates" xml:"SystemEventTemplates"`
Desc string `json:"Desc" xml:"Desc"`
BindUrl string `json:"BindUrl" xml:"BindUrl"`
GroupName string `json:"GroupName" xml:"GroupName"`
ComparisonOperator string `json:"ComparisonOperator" xml:"ComparisonOperator"`
RegionId string `json:"RegionId" xml:"RegionId"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
Tag string `json:"Tag" xml:"Tag"`
InstanceId string `json:"InstanceId" xml:"InstanceId"`
Expression string `json:"Expression" xml:"Expression"`
Description string `json:"Description" xml:"Description"`
Periods string `json:"Periods" xml:"Periods"`
Level int `json:"Level" xml:"Level"`
Dimension string `json:"Dimension" xml:"Dimension"`
Namespace string `json:"Namespace" xml:"Namespace"`
GroupId int64 `json:"GroupId" xml:"GroupId"`
ExpressionRaw string `json:"ExpressionRaw" xml:"ExpressionRaw"`
ExpressionListJoin string `json:"ExpressionListJoin" xml:"ExpressionListJoin"`
MetricName string `json:"MetricName" xml:"MetricName"`
Labels string `json:"Labels" xml:"Labels"`
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"`
ExpressionList ExpressionListInDescribeAlertingMetricRuleResources `json:"ExpressionList" xml:"ExpressionList"`
}