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 {
	Category       string         `json:"Category" xml:"Category"`
	Name           string         `json:"Name" xml:"Name"`
	TemplateId     string         `json:"TemplateId" xml:"TemplateId"`
	NameDesc       string         `json:"NameDesc" xml:"NameDesc"`
	Unit           string         `json:"Unit" xml:"Unit"`
	RuleName       string         `json:"RuleName" xml:"RuleName"`
	Desc           string         `json:"Desc" xml:"Desc"`
	LastModifyTime string         `json:"LastModifyTime" xml:"LastModifyTime"`
	Dimensions     string         `json:"Dimensions" xml:"Dimensions"`
	RuleId         string         `json:"RuleId" xml:"RuleId"`
	RetryTimes     string         `json:"RetryTimes" xml:"RetryTimes"`
	RegionId       string         `json:"RegionId" xml:"RegionId"`
	RestVersion    string         `json:"RestVersion" xml:"RestVersion"`
	InstanceId     string         `json:"InstanceId" xml:"InstanceId"`
	GroupId        string         `json:"GroupId" xml:"GroupId"`
	NetworkType    string         `json:"NetworkType" xml:"NetworkType"`
	Description    string         `json:"Description" xml:"Description"`
	Periods        string         `json:"Periods" xml:"Periods"`
	Resource       string         `json:"Resource" xml:"Resource"`
	Product        string         `json:"Product" xml:"Product"`
	MetricValues   string         `json:"MetricValues" xml:"MetricValues"`
	InstanceName   string         `json:"InstanceName" xml:"InstanceName"`
	Level          string         `json:"Level" xml:"Level"`
	Dimension      string         `json:"Dimension" xml:"Dimension"`
	Id             int            `json:"Id" xml:"Id"`
	Threshold      string         `json:"Threshold" xml:"Threshold"`
	StartTime      string         `json:"StartTime" xml:"StartTime"`
	EventType      string         `json:"EventType" xml:"EventType"`
	Namespace      string         `json:"Namespace" xml:"Namespace"`
	Enable         string         `json:"Enable" xml:"Enable"`
	LastAlertTime  string         `json:"LastAlertTime" xml:"LastAlertTime"`
	StatusDesc     string         `json:"StatusDesc" xml:"StatusDesc"`
	MetricName     string         `json:"MetricName" xml:"MetricName"`
	Status         string         `json:"Status" xml:"Status"`
	Labels         string         `json:"Labels" xml:"Labels"`
	Statistics     string         `json:"Statistics" xml:"Statistics"`
	Vpc            Vpc            `json:"Vpc" xml:"Vpc"`
	Region         Region         `json:"Region" xml:"Region"`
	Tags           Tags           `json:"Tags" xml:"Tags"`
	AlertTemplates AlertTemplates `json:"AlertTemplates" xml:"AlertTemplates"`
}
