PatchBaseline Support Tags.
This commit is contained in:
@@ -28,12 +28,21 @@ namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT CreateApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AlarmConfig {
|
||||
std::string string;
|
||||
std::vector<std::string> templateIds;
|
||||
std::string string;
|
||||
std::vector<std::string> contactGroups;
|
||||
std::string healthCheckUrl;
|
||||
};
|
||||
CreateApplicationRequest();
|
||||
~CreateApplicationRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
AlarmConfig getAlarmConfig() const;
|
||||
void setAlarmConfig(const AlarmConfig &alarmConfig);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
@@ -46,6 +55,7 @@ public:
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
AlarmConfig alarmConfig_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string tags_;
|
||||
|
||||
@@ -34,12 +34,19 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Application
|
||||
{
|
||||
struct AlarmConfig
|
||||
{
|
||||
std::vector<std::string> contactGroups;
|
||||
std::string healthCheckUrl;
|
||||
std::vector<std::string> templateIds;
|
||||
};
|
||||
std::string updateDate;
|
||||
std::string applicationType;
|
||||
std::string description;
|
||||
std::string resourceGroupId;
|
||||
std::string createDate;
|
||||
std::string tags;
|
||||
AlarmConfig alarmConfig;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
@@ -28,21 +28,34 @@ namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdateApplicationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AlarmConfig {
|
||||
std::string string;
|
||||
std::vector<std::string> templateIds;
|
||||
std::string string;
|
||||
std::vector<std::string> contactGroups;
|
||||
std::string healthCheckUrl;
|
||||
};
|
||||
UpdateApplicationRequest();
|
||||
~UpdateApplicationRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::map<std::string, std::string> getTags() const;
|
||||
void setTags(const std::map<std::string, std::string> &tags);
|
||||
AlarmConfig getAlarmConfig() const;
|
||||
void setAlarmConfig(const AlarmConfig &alarmConfig);
|
||||
bool getDeleteAlarmRulesBeforeUpdate() const;
|
||||
void setDeleteAlarmRulesBeforeUpdate(bool deleteAlarmRulesBeforeUpdate);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::map<std::string, std::string> getTags() const;
|
||||
void setTags(const std::map<std::string, std::string> &tags);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::map<std::string, std::string> tags_;
|
||||
AlarmConfig alarmConfig_;
|
||||
bool deleteAlarmRulesBeforeUpdate_;
|
||||
std::string regionId_;
|
||||
std::map<std::string, std::string> tags_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
Reference in New Issue
Block a user