Edit GetStack api.
This commit is contained in:
@@ -39,12 +39,15 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string appId_;
|
||||
std::string pid_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
|
||||
@@ -41,11 +41,14 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRpcID()const;
|
||||
void setRpcID(const std::string& rpcID);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
|
||||
private:
|
||||
std::string traceID_;
|
||||
std::string regionId_;
|
||||
std::string rpcID_;
|
||||
std::string pid_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,14 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct StackInfoItem
|
||||
{
|
||||
struct ExtInfoItem
|
||||
struct ExtInfo
|
||||
{
|
||||
std::string type;
|
||||
std::string info;
|
||||
};
|
||||
std::string line;
|
||||
std::string serviceName;
|
||||
std::vector<StackInfoItem::ExtInfoItem> extInfo;
|
||||
ExtInfo extInfo;
|
||||
std::string rpcId;
|
||||
long startTime;
|
||||
long duration;
|
||||
|
||||
@@ -41,17 +41,17 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
std::string getTemplateAlertConfig()const;
|
||||
void setTemplateAlertConfig(const std::string& templateAlertConfig);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string templateAlertConfig_;
|
||||
std::string proxyUserId_;
|
||||
std::string templageAlertConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string alarmContentTemplate;
|
||||
std::string alarmContentSubTitle;
|
||||
std::string content;
|
||||
std::string subTitle;
|
||||
};
|
||||
struct AlertRule
|
||||
{
|
||||
@@ -80,11 +82,14 @@ namespace AlibabaCloud
|
||||
MetricParam metricParam;
|
||||
int alertVersion;
|
||||
long taskId;
|
||||
std::string contactGroupIds;
|
||||
std::string config;
|
||||
long createTime;
|
||||
std::vector<std::string> alertWays;
|
||||
std::string title;
|
||||
std::string taskStatus;
|
||||
AlarmContext alarmContext;
|
||||
std::vector<std::string> alertWay;
|
||||
int alertType;
|
||||
std::string contactGroupIdList;
|
||||
Notice notice;
|
||||
|
||||
Reference in New Issue
Block a user