Create Job Support Setting Status.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2022-06-13 Version: 1.36.1146
|
||||
- Create Job Support Setting Status.
|
||||
|
||||
2022-06-10 Version: 1.36.1145
|
||||
- Support removing a instance from a deployment set
|
||||
|
||||
|
||||
@@ -30,50 +30,50 @@ class ALIBABACLOUD_SCHEDULERX2_EXPORT CreateAppGroupRequest : public RpcServiceR
|
||||
public:
|
||||
CreateAppGroupRequest();
|
||||
~CreateAppGroupRequest();
|
||||
int getMaxJobs() const;
|
||||
void setMaxJobs(int maxJobs);
|
||||
std::string getNamespaceName() const;
|
||||
void setNamespaceName(const std::string &namespaceName);
|
||||
std::string getNamespaceSource() const;
|
||||
void setNamespaceSource(const std::string &namespaceSource);
|
||||
bool getScheduleBusyWorkers() const;
|
||||
void setScheduleBusyWorkers(bool scheduleBusyWorkers);
|
||||
std::string getMetricsThresholdJson() const;
|
||||
void setMetricsThresholdJson(const std::string &metricsThresholdJson);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getMonitorConfigJson() const;
|
||||
void setMonitorConfigJson(const std::string &monitorConfigJson);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string get_Namespace() const;
|
||||
void set_Namespace(const std::string &_namespace);
|
||||
std::string getAlarmJson() const;
|
||||
void setAlarmJson(const std::string &alarmJson);
|
||||
std::string getAppKey() const;
|
||||
void setAppKey(const std::string &appKey);
|
||||
std::string getMonitorContactsJson() const;
|
||||
void setMonitorContactsJson(const std::string &monitorContactsJson);
|
||||
int getMaxJobs() const;
|
||||
void setMaxJobs(int maxJobs);
|
||||
std::string getMetricsThresholdJson() const;
|
||||
void setMetricsThresholdJson(const std::string &metricsThresholdJson);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getMonitorConfigJson() const;
|
||||
void setMonitorConfigJson(const std::string &monitorConfigJson);
|
||||
std::string get_Namespace() const;
|
||||
void set_Namespace(const std::string &_namespace);
|
||||
std::string getAppKey() const;
|
||||
void setAppKey(const std::string &appKey);
|
||||
|
||||
private:
|
||||
int maxJobs_;
|
||||
std::string namespaceName_;
|
||||
std::string namespaceSource_;
|
||||
bool scheduleBusyWorkers_;
|
||||
std::string metricsThresholdJson_;
|
||||
std::string groupId_;
|
||||
std::string description_;
|
||||
std::string monitorConfigJson_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string _namespace_;
|
||||
std::string alarmJson_;
|
||||
std::string appKey_;
|
||||
std::string monitorContactsJson_;
|
||||
int maxJobs_;
|
||||
std::string metricsThresholdJson_;
|
||||
std::string groupId_;
|
||||
std::string monitorConfigJson_;
|
||||
std::string _namespace_;
|
||||
std::string appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Schedulerx2
|
||||
|
||||
@@ -100,6 +100,8 @@ public:
|
||||
void setTimeType(int timeType);
|
||||
std::string getParameters() const;
|
||||
void setParameters(const std::string ¶meters);
|
||||
int getStatus() const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string namespaceSource_;
|
||||
@@ -134,6 +136,7 @@ private:
|
||||
int maxConcurrency_;
|
||||
int timeType_;
|
||||
std::string parameters_;
|
||||
int status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Schedulerx2
|
||||
|
||||
@@ -32,17 +32,17 @@ public:
|
||||
~GetWorkerListRequest();
|
||||
std::string getNamespaceSource() const;
|
||||
void setNamespaceSource(const std::string &namespaceSource);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string get_Namespace() const;
|
||||
void set_Namespace(const std::string &_namespace);
|
||||
|
||||
private:
|
||||
std::string namespaceSource_;
|
||||
std::string regionId_;
|
||||
std::string groupId_;
|
||||
std::string regionId_;
|
||||
std::string _namespace_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -25,15 +25,6 @@ CreateAppGroupRequest::CreateAppGroupRequest()
|
||||
|
||||
CreateAppGroupRequest::~CreateAppGroupRequest() {}
|
||||
|
||||
int CreateAppGroupRequest::getMaxJobs() const {
|
||||
return maxJobs_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setMaxJobs(int maxJobs) {
|
||||
maxJobs_ = maxJobs;
|
||||
setParameter(std::string("MaxJobs"), std::to_string(maxJobs));
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getNamespaceName() const {
|
||||
return namespaceName_;
|
||||
}
|
||||
@@ -61,24 +52,6 @@ void CreateAppGroupRequest::setScheduleBusyWorkers(bool scheduleBusyWorkers) {
|
||||
setParameter(std::string("ScheduleBusyWorkers"), scheduleBusyWorkers ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getMetricsThresholdJson() const {
|
||||
return metricsThresholdJson_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setMetricsThresholdJson(const std::string &metricsThresholdJson) {
|
||||
metricsThresholdJson_ = metricsThresholdJson;
|
||||
setParameter(std::string("MetricsThresholdJson"), metricsThresholdJson);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
@@ -88,15 +61,6 @@ void CreateAppGroupRequest::setDescription(const std::string &description) {
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getMonitorConfigJson() const {
|
||||
return monitorConfigJson_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setMonitorConfigJson(const std::string &monitorConfigJson) {
|
||||
monitorConfigJson_ = monitorConfigJson;
|
||||
setParameter(std::string("MonitorConfigJson"), monitorConfigJson);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
@@ -115,15 +79,6 @@ void CreateAppGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::get_Namespace() const {
|
||||
return _namespace_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::set_Namespace(const std::string &_namespace) {
|
||||
_namespace_ = _namespace;
|
||||
setParameter(std::string("Namespace"), _namespace);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getAlarmJson() const {
|
||||
return alarmJson_;
|
||||
}
|
||||
@@ -133,15 +88,6 @@ void CreateAppGroupRequest::setAlarmJson(const std::string &alarmJson) {
|
||||
setParameter(std::string("AlarmJson"), alarmJson);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setAppKey(const std::string &appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), appKey);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getMonitorContactsJson() const {
|
||||
return monitorContactsJson_;
|
||||
}
|
||||
@@ -151,3 +97,57 @@ void CreateAppGroupRequest::setMonitorContactsJson(const std::string &monitorCon
|
||||
setParameter(std::string("MonitorContactsJson"), monitorContactsJson);
|
||||
}
|
||||
|
||||
int CreateAppGroupRequest::getMaxJobs() const {
|
||||
return maxJobs_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setMaxJobs(int maxJobs) {
|
||||
maxJobs_ = maxJobs;
|
||||
setParameter(std::string("MaxJobs"), std::to_string(maxJobs));
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getMetricsThresholdJson() const {
|
||||
return metricsThresholdJson_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setMetricsThresholdJson(const std::string &metricsThresholdJson) {
|
||||
metricsThresholdJson_ = metricsThresholdJson;
|
||||
setParameter(std::string("MetricsThresholdJson"), metricsThresholdJson);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getMonitorConfigJson() const {
|
||||
return monitorConfigJson_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setMonitorConfigJson(const std::string &monitorConfigJson) {
|
||||
monitorConfigJson_ = monitorConfigJson;
|
||||
setParameter(std::string("MonitorConfigJson"), monitorConfigJson);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::get_Namespace() const {
|
||||
return _namespace_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::set_Namespace(const std::string &_namespace) {
|
||||
_namespace_ = _namespace;
|
||||
setParameter(std::string("Namespace"), _namespace);
|
||||
}
|
||||
|
||||
std::string CreateAppGroupRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CreateAppGroupRequest::setAppKey(const std::string &appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), appKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -320,3 +320,12 @@ void CreateJobRequest::setParameters(const std::string ¶meters) {
|
||||
setBodyParameter(std::string("Parameters"), parameters);
|
||||
}
|
||||
|
||||
int CreateJobRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateJobRequest::setStatus(int status) {
|
||||
status_ = status;
|
||||
setBodyParameter(std::string("Status"), std::to_string(status));
|
||||
}
|
||||
|
||||
|
||||
@@ -34,15 +34,6 @@ void GetWorkerListRequest::setNamespaceSource(const std::string &namespaceSource
|
||||
setParameter(std::string("NamespaceSource"), namespaceSource);
|
||||
}
|
||||
|
||||
std::string GetWorkerListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetWorkerListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string GetWorkerListRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
@@ -52,6 +43,15 @@ void GetWorkerListRequest::setGroupId(const std::string &groupId) {
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string GetWorkerListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetWorkerListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string GetWorkerListRequest::get_Namespace() const {
|
||||
return _namespace_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user