|
@@ -41,26 +41,20 @@ namespace AlibabaCloud
|
|
|
void setEscalationsWarnComparisonOperator(const std::string& escalationsWarnComparisonOperator);
|
|
void setEscalationsWarnComparisonOperator(const std::string& escalationsWarnComparisonOperator);
|
|
|
std::string getRuleName()const;
|
|
std::string getRuleName()const;
|
|
|
void setRuleName(const std::string& ruleName);
|
|
void setRuleName(const std::string& ruleName);
|
|
|
- std::string getEscalationsInfoStatistics()const;
|
|
|
|
|
- void setEscalationsInfoStatistics(const std::string& escalationsInfoStatistics);
|
|
|
|
|
std::string getEffectiveInterval()const;
|
|
std::string getEffectiveInterval()const;
|
|
|
void setEffectiveInterval(const std::string& effectiveInterval);
|
|
void setEffectiveInterval(const std::string& effectiveInterval);
|
|
|
- std::string getEscalationsInfoComparisonOperator()const;
|
|
|
|
|
- void setEscalationsInfoComparisonOperator(const std::string& escalationsInfoComparisonOperator);
|
|
|
|
|
std::string getNoDataPolicy()const;
|
|
std::string getNoDataPolicy()const;
|
|
|
void setNoDataPolicy(const std::string& noDataPolicy);
|
|
void setNoDataPolicy(const std::string& noDataPolicy);
|
|
|
std::string getNoEffectiveInterval()const;
|
|
std::string getNoEffectiveInterval()const;
|
|
|
void setNoEffectiveInterval(const std::string& noEffectiveInterval);
|
|
void setNoEffectiveInterval(const std::string& noEffectiveInterval);
|
|
|
std::string getEmailSubject()const;
|
|
std::string getEmailSubject()const;
|
|
|
void setEmailSubject(const std::string& emailSubject);
|
|
void setEmailSubject(const std::string& emailSubject);
|
|
|
- int getSilenceTime()const;
|
|
|
|
|
- void setSilenceTime(int silenceTime);
|
|
|
|
|
|
|
+ std::string getOptions()const;
|
|
|
|
|
+ void setOptions(const std::string& options);
|
|
|
std::string getMetricName()const;
|
|
std::string getMetricName()const;
|
|
|
void setMetricName(const std::string& metricName);
|
|
void setMetricName(const std::string& metricName);
|
|
|
int getEscalationsWarnTimes()const;
|
|
int getEscalationsWarnTimes()const;
|
|
|
void setEscalationsWarnTimes(int escalationsWarnTimes);
|
|
void setEscalationsWarnTimes(int escalationsWarnTimes);
|
|
|
- Struct getCompositeExpression()const;
|
|
|
|
|
- void setCompositeExpression(const Struct& compositeExpression);
|
|
|
|
|
std::string getPeriod()const;
|
|
std::string getPeriod()const;
|
|
|
void setPeriod(const std::string& period);
|
|
void setPeriod(const std::string& period);
|
|
|
std::string getEscalationsWarnThreshold()const;
|
|
std::string getEscalationsWarnThreshold()const;
|
|
@@ -71,14 +65,32 @@ namespace AlibabaCloud
|
|
|
void setEscalationsCriticalStatistics(const std::string& escalationsCriticalStatistics);
|
|
void setEscalationsCriticalStatistics(const std::string& escalationsCriticalStatistics);
|
|
|
std::string getGroupId()const;
|
|
std::string getGroupId()const;
|
|
|
void setGroupId(const std::string& groupId);
|
|
void setGroupId(const std::string& groupId);
|
|
|
|
|
+ std::string getGroupName()const;
|
|
|
|
|
+ void setGroupName(const std::string& groupName);
|
|
|
|
|
+ Array getLabels()const;
|
|
|
|
|
+ void setLabels(const Array& labels);
|
|
|
|
|
+ std::string getInterval()const;
|
|
|
|
|
+ void setInterval(const std::string& interval);
|
|
|
|
|
+ std::string getRuleId()const;
|
|
|
|
|
+ void setRuleId(const std::string& ruleId);
|
|
|
|
|
+ std::string getEscalationsCriticalThreshold()const;
|
|
|
|
|
+ void setEscalationsCriticalThreshold(const std::string& escalationsCriticalThreshold);
|
|
|
|
|
+ std::string getEscalationsInfoStatistics()const;
|
|
|
|
|
+ void setEscalationsInfoStatistics(const std::string& escalationsInfoStatistics);
|
|
|
|
|
+ std::string getEscalationsInfoComparisonOperator()const;
|
|
|
|
|
+ void setEscalationsInfoComparisonOperator(const std::string& escalationsInfoComparisonOperator);
|
|
|
|
|
+ int getSilenceTime()const;
|
|
|
|
|
+ void setSilenceTime(int silenceTime);
|
|
|
|
|
+ Struct getPrometheus()const;
|
|
|
|
|
+ void setPrometheus(const Struct& prometheus);
|
|
|
|
|
+ Struct getCompositeExpression()const;
|
|
|
|
|
+ void setCompositeExpression(const Struct& compositeExpression);
|
|
|
std::string getResources()const;
|
|
std::string getResources()const;
|
|
|
void setResources(const std::string& resources);
|
|
void setResources(const std::string& resources);
|
|
|
int getEscalationsInfoTimes()const;
|
|
int getEscalationsInfoTimes()const;
|
|
|
void setEscalationsInfoTimes(int escalationsInfoTimes);
|
|
void setEscalationsInfoTimes(int escalationsInfoTimes);
|
|
|
std::string getGroupBy()const;
|
|
std::string getGroupBy()const;
|
|
|
void setGroupBy(const std::string& groupBy);
|
|
void setGroupBy(const std::string& groupBy);
|
|
|
- std::string getGroupName()const;
|
|
|
|
|
- void setGroupName(const std::string& groupName);
|
|
|
|
|
int getEscalationsCriticalTimes()const;
|
|
int getEscalationsCriticalTimes()const;
|
|
|
void setEscalationsCriticalTimes(int escalationsCriticalTimes);
|
|
void setEscalationsCriticalTimes(int escalationsCriticalTimes);
|
|
|
std::string getEscalationsWarnStatistics()const;
|
|
std::string getEscalationsWarnStatistics()const;
|
|
@@ -87,46 +99,43 @@ namespace AlibabaCloud
|
|
|
void setEscalationsInfoThreshold(const std::string& escalationsInfoThreshold);
|
|
void setEscalationsInfoThreshold(const std::string& escalationsInfoThreshold);
|
|
|
std::string get_Namespace()const;
|
|
std::string get_Namespace()const;
|
|
|
void set_Namespace(const std::string& _namespace);
|
|
void set_Namespace(const std::string& _namespace);
|
|
|
- std::string getInterval()const;
|
|
|
|
|
- void setInterval(const std::string& interval);
|
|
|
|
|
- std::string getRuleId()const;
|
|
|
|
|
- void setRuleId(const std::string& ruleId);
|
|
|
|
|
std::string getEscalationsCriticalComparisonOperator()const;
|
|
std::string getEscalationsCriticalComparisonOperator()const;
|
|
|
void setEscalationsCriticalComparisonOperator(const std::string& escalationsCriticalComparisonOperator);
|
|
void setEscalationsCriticalComparisonOperator(const std::string& escalationsCriticalComparisonOperator);
|
|
|
- std::string getEscalationsCriticalThreshold()const;
|
|
|
|
|
- void setEscalationsCriticalThreshold(const std::string& escalationsCriticalThreshold);
|
|
|
|
|
|
|
|
|
|
private:
|
|
private:
|
|
|
std::string webhook_;
|
|
std::string webhook_;
|
|
|
std::string escalationsWarnComparisonOperator_;
|
|
std::string escalationsWarnComparisonOperator_;
|
|
|
std::string ruleName_;
|
|
std::string ruleName_;
|
|
|
- std::string escalationsInfoStatistics_;
|
|
|
|
|
std::string effectiveInterval_;
|
|
std::string effectiveInterval_;
|
|
|
- std::string escalationsInfoComparisonOperator_;
|
|
|
|
|
std::string noDataPolicy_;
|
|
std::string noDataPolicy_;
|
|
|
std::string noEffectiveInterval_;
|
|
std::string noEffectiveInterval_;
|
|
|
std::string emailSubject_;
|
|
std::string emailSubject_;
|
|
|
- int silenceTime_;
|
|
|
|
|
|
|
+ std::string options_;
|
|
|
std::string metricName_;
|
|
std::string metricName_;
|
|
|
int escalationsWarnTimes_;
|
|
int escalationsWarnTimes_;
|
|
|
- Struct compositeExpression_;
|
|
|
|
|
std::string period_;
|
|
std::string period_;
|
|
|
std::string escalationsWarnThreshold_;
|
|
std::string escalationsWarnThreshold_;
|
|
|
std::string contactGroups_;
|
|
std::string contactGroups_;
|
|
|
std::string escalationsCriticalStatistics_;
|
|
std::string escalationsCriticalStatistics_;
|
|
|
std::string groupId_;
|
|
std::string groupId_;
|
|
|
|
|
+ std::string groupName_;
|
|
|
|
|
+ Array labels_;
|
|
|
|
|
+ std::string interval_;
|
|
|
|
|
+ std::string ruleId_;
|
|
|
|
|
+ std::string escalationsCriticalThreshold_;
|
|
|
|
|
+ std::string escalationsInfoStatistics_;
|
|
|
|
|
+ std::string escalationsInfoComparisonOperator_;
|
|
|
|
|
+ int silenceTime_;
|
|
|
|
|
+ Struct prometheus_;
|
|
|
|
|
+ Struct compositeExpression_;
|
|
|
std::string resources_;
|
|
std::string resources_;
|
|
|
int escalationsInfoTimes_;
|
|
int escalationsInfoTimes_;
|
|
|
std::string groupBy_;
|
|
std::string groupBy_;
|
|
|
- std::string groupName_;
|
|
|
|
|
int escalationsCriticalTimes_;
|
|
int escalationsCriticalTimes_;
|
|
|
std::string escalationsWarnStatistics_;
|
|
std::string escalationsWarnStatistics_;
|
|
|
std::string escalationsInfoThreshold_;
|
|
std::string escalationsInfoThreshold_;
|
|
|
std::string _namespace_;
|
|
std::string _namespace_;
|
|
|
- std::string interval_;
|
|
|
|
|
- std::string ruleId_;
|
|
|
|
|
std::string escalationsCriticalComparisonOperator_;
|
|
std::string escalationsCriticalComparisonOperator_;
|
|
|
- std::string escalationsCriticalThreshold_;
|
|
|
|
|
|
|
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|