package arms

//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.

// AlertRulesItem is a nested struct in arms response
type AlertRulesItem struct {
	AlertId               float64           `json:"AlertId" xml:"AlertId"`
	AlertName             string            `json:"AlertName" xml:"AlertName"`
	UserId                string            `json:"UserId" xml:"UserId"`
	RegionId              string            `json:"RegionId" xml:"RegionId"`
	AlertType             string            `json:"AlertType" xml:"AlertType"`
	AlertStatus           string            `json:"AlertStatus" xml:"AlertStatus"`
	CreatedTime           int64             `json:"CreatedTime" xml:"CreatedTime"`
	UpdatedTime           int64             `json:"UpdatedTime" xml:"UpdatedTime"`
	Extend                string            `json:"Extend" xml:"Extend"`
	NotifyStrategy        string            `json:"NotifyStrategy" xml:"NotifyStrategy"`
	AutoAddNewApplication bool              `json:"AutoAddNewApplication" xml:"AutoAddNewApplication"`
	MetricsType           string            `json:"MetricsType" xml:"MetricsType"`
	AlertCheckType        string            `json:"AlertCheckType" xml:"AlertCheckType"`
	ClusterId             string            `json:"ClusterId" xml:"ClusterId"`
	AlertGroup            int64             `json:"AlertGroup" xml:"AlertGroup"`
	PromQL                string            `json:"PromQL" xml:"PromQL"`
	Duration              string            `json:"Duration" xml:"Duration"`
	Level                 string            `json:"Level" xml:"Level"`
	Message               string            `json:"Message" xml:"Message"`
	DurationCompareType   string            `json:"DurationCompareType" xml:"DurationCompareType"`
	Pids                  []string          `json:"Pids" xml:"Pids"`
	AlertRuleContent      AlertRuleContent  `json:"AlertRuleContent" xml:"AlertRuleContent"`
	Filters               Filters           `json:"Filters" xml:"Filters"`
	Labels                []LabelsItem      `json:"Labels" xml:"Labels"`
	Annotations           []AnnotationsItem `json:"Annotations" xml:"Annotations"`
	Tags                  []TagsItem        `json:"Tags" xml:"Tags"`
}
