Add site monitoring dial DNS_ match_ rule.
This commit is contained in:
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
CreateSiteMonitorRequest();
|
||||
~CreateSiteMonitorRequest();
|
||||
|
||||
std::string getReportProject()const;
|
||||
void setReportProject(const std::string& reportProject);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getAlertIds()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
std::string reportProject_;
|
||||
std::string taskName_;
|
||||
std::string alertIds_;
|
||||
std::string address_;
|
||||
|
||||
@@ -40,8 +40,8 @@ namespace AlibabaCloud
|
||||
std::string endTime;
|
||||
std::string ruleId;
|
||||
std::string startTime;
|
||||
std::string period;
|
||||
std::string evaluationCount;
|
||||
std::string period;
|
||||
std::string _namespace;
|
||||
std::string statistics;
|
||||
std::string metricName;
|
||||
@@ -80,9 +80,9 @@ namespace AlibabaCloud
|
||||
Info info;
|
||||
Warn warn;
|
||||
};
|
||||
std::string noEffectiveInterval;
|
||||
std::string silenceTime;
|
||||
std::string contactGroups;
|
||||
std::string noEffectiveInterval;
|
||||
std::string mailSubject;
|
||||
std::string ruleId;
|
||||
std::string period;
|
||||
|
||||
@@ -43,8 +43,8 @@ namespace AlibabaCloud
|
||||
std::string requestId;
|
||||
std::vector<std::string> notifyTargetList;
|
||||
std::string code;
|
||||
std::string detail;
|
||||
bool success;
|
||||
std::string detail;
|
||||
};
|
||||
std::vector<ChannelResult::Result> resultList;
|
||||
std::string channel;
|
||||
@@ -74,6 +74,11 @@ namespace AlibabaCloud
|
||||
std::string code;
|
||||
std::string url;
|
||||
};
|
||||
struct SendResult
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
std::string key;
|
||||
};
|
||||
std::string groupName;
|
||||
std::vector<std::string> contactALIIWWList;
|
||||
std::string message;
|
||||
@@ -84,14 +89,15 @@ namespace AlibabaCloud
|
||||
std::string metricName;
|
||||
std::vector<std::string> contactSMSList;
|
||||
SendDetail sendDetail;
|
||||
std::vector<Alarm::SendResult> sendResultList;
|
||||
std::string ruleName;
|
||||
std::vector<std::string> contactGroups;
|
||||
std::vector<std::string> dingdingWebhookList;
|
||||
std::string instanceId;
|
||||
std::string blackListName;
|
||||
std::vector<Alarm::DimensionsItem> dimensions;
|
||||
std::string levelChange;
|
||||
std::string blackListUUID;
|
||||
std::string levelChange;
|
||||
std::vector<std::string> contactOnCallList;
|
||||
std::string _namespace;
|
||||
std::vector<std::string> contactDingList;
|
||||
@@ -114,7 +120,6 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -125,7 +130,6 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string tagValueMatchFunction;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<std::string> contactGroupList;
|
||||
std::string matchExpressFilterRelation;
|
||||
std::string dynamicTagRuleId;
|
||||
std::vector<std::string> templateIdList;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
|
||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string taskName_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string ids_;
|
||||
long id_;
|
||||
|
||||
};
|
||||
|
||||
@@ -36,6 +36,23 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct AlertTemplate
|
||||
{
|
||||
struct CompositeExpression
|
||||
{
|
||||
struct ExpressionListItem
|
||||
{
|
||||
std::string metricName;
|
||||
std::string comparisonOperator;
|
||||
int period;
|
||||
std::string id;
|
||||
std::string statistics;
|
||||
std::string threshold;
|
||||
};
|
||||
int times;
|
||||
std::string expressionRaw;
|
||||
std::string level;
|
||||
std::string expressionListJoin;
|
||||
std::vector<ExpressionListItem> expressionList;
|
||||
};
|
||||
struct Escalations
|
||||
{
|
||||
struct Info
|
||||
@@ -66,8 +83,10 @@ namespace AlibabaCloud
|
||||
std::string metricName;
|
||||
std::string category;
|
||||
Escalations escalations;
|
||||
std::string _namespace;
|
||||
CompositeExpression compositeExpression;
|
||||
std::string webhook;
|
||||
std::string _namespace;
|
||||
std::string noDataPolicy;
|
||||
std::string ruleName;
|
||||
std::string selector;
|
||||
};
|
||||
@@ -76,8 +95,8 @@ namespace AlibabaCloud
|
||||
std::string description;
|
||||
std::string systemEventTemplates;
|
||||
std::string restVersion;
|
||||
std::string templateId;
|
||||
std::string processMonitorTemplates;
|
||||
std::string templateId;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ namespace AlibabaCloud
|
||||
std::string cookie;
|
||||
bool enable_operator_dns;
|
||||
bool proxy_protocol;
|
||||
std::string dns_match_rule;
|
||||
float failure_rate;
|
||||
int match_rule;
|
||||
std::string acceptable_response_code;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string cookie;
|
||||
int ping_num;
|
||||
bool enable_operator_dns;
|
||||
std::string dns_match_rule;
|
||||
long traceroute;
|
||||
float failure_rate;
|
||||
int port;
|
||||
|
||||
@@ -39,10 +39,13 @@ namespace AlibabaCloud
|
||||
void setInstanceIds(const std::vector<std::string>& instanceIds);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
std::string getInstallCommand()const;
|
||||
void setInstallCommand(const std::string& installCommand);
|
||||
|
||||
private:
|
||||
std::vector<std::string> instanceIds_;
|
||||
bool force_;
|
||||
std::string installCommand_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setEventName(const std::string& eventName);
|
||||
std::string getEmailSubject()const;
|
||||
void setEmailSubject(const std::string& emailSubject);
|
||||
std::string getMetricName()const;
|
||||
void setMetricName(const std::string& metricName);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getContactGroups()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string effectiveInterval_;
|
||||
std::string eventName_;
|
||||
std::string emailSubject_;
|
||||
std::string metricName_;
|
||||
std::string period_;
|
||||
std::string contactGroups_;
|
||||
std::string level_;
|
||||
|
||||
@@ -32,6 +32,10 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CMS_EXPORT PutGroupMetricRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string ruleId;
|
||||
};
|
||||
|
||||
|
||||
PutGroupMetricRuleResult();
|
||||
@@ -40,6 +44,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getTumblingwindows()const;
|
||||
void setTumblingwindows(const std::string& tumblingwindows);
|
||||
std::string getGroupBy()const;
|
||||
void setGroupBy(const std::string& groupBy);
|
||||
std::string getValueFilterRelation()const;
|
||||
void setValueFilterRelation(const std::string& valueFilterRelation);
|
||||
std::string getUnit()const;
|
||||
@@ -89,6 +91,7 @@ namespace AlibabaCloud
|
||||
std::string metricName_;
|
||||
std::string groupId_;
|
||||
std::string tumblingwindows_;
|
||||
std::string groupBy_;
|
||||
std::string valueFilterRelation_;
|
||||
std::string unit_;
|
||||
std::vector<Groupbys> groupbys_;
|
||||
|
||||
Reference in New Issue
Block a user