Increase detection frequency for availability monitoring.
This commit is contained in:
@@ -58,6 +58,8 @@ namespace AlibabaCloud
|
||||
void setTaskOptionHttpResponseCharset(const std::string& taskOptionHttpResponseCharset);
|
||||
bool getTaskOptionHttpNegative()const;
|
||||
void setTaskOptionHttpNegative(bool taskOptionHttpNegative);
|
||||
int getTaskOptionInterval()const;
|
||||
void setTaskOptionInterval(int taskOptionInterval);
|
||||
int getAlertConfigNotifyType()const;
|
||||
void setAlertConfigNotifyType(int alertConfigNotifyType);
|
||||
std::string getTaskOptionTelnetOrPingHost()const;
|
||||
@@ -91,6 +93,7 @@ namespace AlibabaCloud
|
||||
int alertConfigSilenceTime_;
|
||||
std::string taskOptionHttpResponseCharset_;
|
||||
bool taskOptionHttpNegative_;
|
||||
int taskOptionInterval_;
|
||||
int alertConfigNotifyType_;
|
||||
std::string taskOptionTelnetOrPingHost_;
|
||||
std::string taskOptionHttpResponseMatchContent_;
|
||||
|
||||
@@ -35,28 +35,34 @@ namespace AlibabaCloud
|
||||
CreateSiteMonitorRequest();
|
||||
~CreateSiteMonitorRequest();
|
||||
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getAddress()const;
|
||||
void setAddress(const std::string& address);
|
||||
std::string getTaskType()const;
|
||||
void setTaskType(const std::string& taskType);
|
||||
std::string getTaskName()const;
|
||||
void setTaskName(const std::string& taskName);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getIspCities()const;
|
||||
void setIspCities(const std::string& ispCities);
|
||||
std::string getOptionsJson()const;
|
||||
void setOptionsJson(const std::string& optionsJson);
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getIntervalUnit()const;
|
||||
void setIntervalUnit(const std::string& intervalUnit);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
std::string taskName_;
|
||||
std::string alertIds_;
|
||||
std::string address_;
|
||||
std::string taskType_;
|
||||
std::string taskName_;
|
||||
long endTime_;
|
||||
std::string ispCities_;
|
||||
std::string optionsJson_;
|
||||
std::string alertIds_;
|
||||
std::string intervalUnit_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string httpURI;
|
||||
bool httpNegative;
|
||||
std::string httpMethod;
|
||||
int interval;
|
||||
};
|
||||
struct AlertConfig
|
||||
{
|
||||
|
||||
@@ -68,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string noEffectiveInterval;
|
||||
int silenceTime;
|
||||
std::string contactGroups;
|
||||
std::string groupBy;
|
||||
std::string mailSubject;
|
||||
std::string ruleId;
|
||||
std::string sourceType;
|
||||
|
||||
@@ -88,13 +88,20 @@ namespace AlibabaCloud
|
||||
int quotaPackage;
|
||||
int quotaLimit;
|
||||
};
|
||||
struct EnterpriseQuota
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string suitInfo;
|
||||
};
|
||||
SiteMonitorOperatorProbe siteMonitorOperatorProbe;
|
||||
std::string instanceId;
|
||||
LogMonitor logMonitor;
|
||||
std::string cRMType;
|
||||
EnterpriseQuota enterpriseQuota;
|
||||
Phone phone;
|
||||
std::string suitInfo;
|
||||
SiteMonitorTask siteMonitorTask;
|
||||
SMS sMS;
|
||||
LogMonitor logMonitor;
|
||||
Api api;
|
||||
SiteMonitorEcsProbe siteMonitorEcsProbe;
|
||||
std::string expireTime;
|
||||
|
||||
@@ -66,6 +66,7 @@ namespace AlibabaCloud
|
||||
OptionJson optionJson;
|
||||
std::string taskId;
|
||||
std::string address;
|
||||
std::string endTime;
|
||||
std::string taskName;
|
||||
std::string taskType;
|
||||
std::vector<IspCity> ispCities;
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
std::string expect_value;
|
||||
std::string http_method;
|
||||
long time_out;
|
||||
std::string group_id;
|
||||
std::string header;
|
||||
std::string response_content;
|
||||
std::string username;
|
||||
@@ -58,6 +59,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string taskId;
|
||||
std::string address;
|
||||
std::string endTime;
|
||||
OptionsJson optionsJson;
|
||||
std::string taskName;
|
||||
std::string taskType;
|
||||
|
||||
@@ -58,6 +58,8 @@ namespace AlibabaCloud
|
||||
void setTaskOptionHttpResponseCharset(const std::string& taskOptionHttpResponseCharset);
|
||||
bool getTaskOptionHttpNegative()const;
|
||||
void setTaskOptionHttpNegative(bool taskOptionHttpNegative);
|
||||
int getTaskOptionInterval()const;
|
||||
void setTaskOptionInterval(int taskOptionInterval);
|
||||
int getAlertConfigNotifyType()const;
|
||||
void setAlertConfigNotifyType(int alertConfigNotifyType);
|
||||
std::string getTaskOptionTelnetOrPingHost()const;
|
||||
@@ -91,6 +93,7 @@ namespace AlibabaCloud
|
||||
int alertConfigSilenceTime_;
|
||||
std::string taskOptionHttpResponseCharset_;
|
||||
bool taskOptionHttpNegative_;
|
||||
int taskOptionInterval_;
|
||||
int alertConfigNotifyType_;
|
||||
std::string taskOptionTelnetOrPingHost_;
|
||||
std::string taskOptionHttpResponseMatchContent_;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setOptionsJson(const std::string& optionsJson);
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getIntervalUnit()const;
|
||||
void setIntervalUnit(const std::string& intervalUnit);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
std::string getTaskId()const;
|
||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
||||
std::string ispCities_;
|
||||
std::string optionsJson_;
|
||||
std::string alertIds_;
|
||||
std::string intervalUnit_;
|
||||
std::string interval_;
|
||||
std::string taskId_;
|
||||
|
||||
|
||||
@@ -69,6 +69,8 @@ namespace AlibabaCloud
|
||||
void setResources(const std::string& resources);
|
||||
int getEscalationsInfoTimes()const;
|
||||
void setEscalationsInfoTimes(int escalationsInfoTimes);
|
||||
std::string getGroupBy()const;
|
||||
void setGroupBy(const std::string& groupBy);
|
||||
int getEscalationsCriticalTimes()const;
|
||||
void setEscalationsCriticalTimes(int escalationsCriticalTimes);
|
||||
std::string getEscalationsWarnStatistics()const;
|
||||
@@ -104,6 +106,7 @@ namespace AlibabaCloud
|
||||
std::string escalationsCriticalStatistics_;
|
||||
std::string resources_;
|
||||
int escalationsInfoTimes_;
|
||||
std::string groupBy_;
|
||||
int escalationsCriticalTimes_;
|
||||
std::string escalationsWarnStatistics_;
|
||||
std::string escalationsInfoThreshold_;
|
||||
|
||||
Reference in New Issue
Block a user