96 lines
3.4 KiB
C++
96 lines
3.4 KiB
C++
/*
|
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef ALIBABACLOUD_CS_MODEL_SCALEOUTCLUSTERREQUEST_H_
|
|
#define ALIBABACLOUD_CS_MODEL_SCALEOUTCLUSTERREQUEST_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
|
#include <alibabacloud/cs/CSExport.h>
|
|
|
|
namespace AlibabaCloud
|
|
{
|
|
namespace CS
|
|
{
|
|
namespace Model
|
|
{
|
|
class ALIBABACLOUD_CS_EXPORT ScaleOutClusterRequest : public RoaServiceRequest
|
|
{
|
|
|
|
public:
|
|
ScaleOutClusterRequest();
|
|
~ScaleOutClusterRequest();
|
|
|
|
bool getWorker_data_disk()const;
|
|
void setWorker_data_disk(bool worker_data_disk);
|
|
std::string getKey_pair()const;
|
|
void setKey_pair(const std::string& key_pair);
|
|
int getCount()const;
|
|
void setCount(int count);
|
|
std::string getWorker_system_disk_category()const;
|
|
void setWorker_system_disk_category(const std::string& worker_system_disk_category);
|
|
bool getCloud_monitor_flags()const;
|
|
void setCloud_monitor_flags(bool cloud_monitor_flags);
|
|
std::string getClusterId()const;
|
|
void setClusterId(const std::string& clusterId);
|
|
std::string getUser_data()const;
|
|
void setUser_data(const std::string& user_data);
|
|
std::string getWorker_period_unit()const;
|
|
void setWorker_period_unit(const std::string& worker_period_unit);
|
|
bool getWorker_auto_renew()const;
|
|
void setWorker_auto_renew(bool worker_auto_renew);
|
|
int getWorker_auto_renew_period()const;
|
|
void setWorker_auto_renew_period(int worker_auto_renew_period);
|
|
int getWorker_period()const;
|
|
void setWorker_period(int worker_period);
|
|
std::string getLogin_password()const;
|
|
void setLogin_password(const std::string& login_password);
|
|
int getWorker_system_disk_size()const;
|
|
void setWorker_system_disk_size(int worker_system_disk_size);
|
|
std::string getCpu_policy()const;
|
|
void setCpu_policy(const std::string& cpu_policy);
|
|
bool getDisable_rollback()const;
|
|
void setDisable_rollback(bool disable_rollback);
|
|
std::string getImage_id()const;
|
|
void setImage_id(const std::string& image_id);
|
|
std::string getWorker_instance_charge_type()const;
|
|
void setWorker_instance_charge_type(const std::string& worker_instance_charge_type);
|
|
|
|
private:
|
|
bool worker_data_disk_;
|
|
std::string key_pair_;
|
|
int count_;
|
|
std::string worker_system_disk_category_;
|
|
bool cloud_monitor_flags_;
|
|
std::string clusterId_;
|
|
std::string user_data_;
|
|
std::string worker_period_unit_;
|
|
bool worker_auto_renew_;
|
|
int worker_auto_renew_period_;
|
|
int worker_period_;
|
|
std::string login_password_;
|
|
int worker_system_disk_size_;
|
|
std::string cpu_policy_;
|
|
bool disable_rollback_;
|
|
std::string image_id_;
|
|
std::string worker_instance_charge_type_;
|
|
|
|
};
|
|
}
|
|
}
|
|
}
|
|
#endif // !ALIBABACLOUD_CS_MODEL_SCALEOUTCLUSTERREQUEST_H_
|