Support removing a instance from a deployment set
This commit is contained in:
@@ -98,8 +98,6 @@
|
||||
#include "model/CreateDemandResult.h"
|
||||
#include "model/CreateDeploymentSetRequest.h"
|
||||
#include "model/CreateDeploymentSetResult.h"
|
||||
#include "model/CreateDiagnosticReportRequest.h"
|
||||
#include "model/CreateDiagnosticReportResult.h"
|
||||
#include "model/CreateDiskRequest.h"
|
||||
#include "model/CreateDiskResult.h"
|
||||
#include "model/CreateElasticityAssuranceRequest.h"
|
||||
@@ -817,9 +815,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDeploymentSetResult> CreateDeploymentSetOutcome;
|
||||
typedef std::future<CreateDeploymentSetOutcome> CreateDeploymentSetOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateDeploymentSetRequest&, const CreateDeploymentSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeploymentSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDiagnosticReportResult> CreateDiagnosticReportOutcome;
|
||||
typedef std::future<CreateDiagnosticReportOutcome> CreateDiagnosticReportOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateDiagnosticReportRequest&, const CreateDiagnosticReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiagnosticReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDiskResult> CreateDiskOutcome;
|
||||
typedef std::future<CreateDiskOutcome> CreateDiskOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateDiskRequest&, const CreateDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiskAsyncHandler;
|
||||
@@ -1830,9 +1825,6 @@ namespace AlibabaCloud
|
||||
CreateDeploymentSetOutcome createDeploymentSet(const Model::CreateDeploymentSetRequest &request)const;
|
||||
void createDeploymentSetAsync(const Model::CreateDeploymentSetRequest& request, const CreateDeploymentSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDeploymentSetOutcomeCallable createDeploymentSetCallable(const Model::CreateDeploymentSetRequest& request) const;
|
||||
CreateDiagnosticReportOutcome createDiagnosticReport(const Model::CreateDiagnosticReportRequest &request)const;
|
||||
void createDiagnosticReportAsync(const Model::CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDiagnosticReportOutcomeCallable createDiagnosticReportCallable(const Model::CreateDiagnosticReportRequest& request) const;
|
||||
CreateDiskOutcome createDisk(const Model::CreateDiskRequest &request)const;
|
||||
void createDiskAsync(const Model::CreateDiskRequest& request, const CreateDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDiskOutcomeCallable createDiskCallable(const Model::CreateDiskRequest& request) const;
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateDiagnosticReportRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDiagnosticReportRequest();
|
||||
~CreateDiagnosticReportRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getSourceSystem() const;
|
||||
void setSourceSystem(const std::string &sourceSystem);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPluginVersion() const;
|
||||
void setPluginVersion(const std::string &pluginVersion);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::vector<std::string> getCommandName() const;
|
||||
void setCommandName(const std::vector<std::string> &commandName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getCommandType() const;
|
||||
void setCommandType(const std::string &commandType);
|
||||
std::string getDiagnosticCategory() const;
|
||||
void setDiagnosticCategory(const std::string &diagnosticCategory);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string startTime_;
|
||||
std::string sourceSystem_;
|
||||
std::string regionId_;
|
||||
std::string pluginVersion_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::vector<std::string> commandName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::string commandType_;
|
||||
std::string diagnosticCategory_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateDiagnosticReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct InvokeResult
|
||||
{
|
||||
std::string commandName;
|
||||
std::string invokeResult;
|
||||
std::string dataFileDir;
|
||||
};
|
||||
|
||||
|
||||
CreateDiagnosticReportResult();
|
||||
explicit CreateDiagnosticReportResult(const std::string &payload);
|
||||
~CreateDiagnosticReportResult();
|
||||
std::string getStatus()const;
|
||||
std::vector<InvokeResult> getCommandInvokeResults()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getReportId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::vector<InvokeResult> commandInvokeResults_;
|
||||
std::string createTime_;
|
||||
std::string reportId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_
|
||||
@@ -54,8 +54,6 @@ public:
|
||||
void setPlatform(const std::string &platform);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getBootMode() const;
|
||||
void setBootMode(const std::string &bootMode);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getImageName() const;
|
||||
@@ -85,7 +83,6 @@ private:
|
||||
std::string description_;
|
||||
std::string platform_;
|
||||
std::string resourceGroupId_;
|
||||
std::string bootMode_;
|
||||
std::string regionId_;
|
||||
std::string imageName_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
@@ -29,10 +29,7 @@ namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemDisk {
|
||||
bool encrypted;
|
||||
std::string encryptAlgorithm;
|
||||
std::string storageClusterId;
|
||||
std::string kMSKeyId;
|
||||
};
|
||||
struct Tag {
|
||||
std::string value;
|
||||
|
||||
@@ -38,8 +38,6 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getBizAliUid() const;
|
||||
void setBizAliUid(const std::string &bizAliUid);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getZoneId() const;
|
||||
@@ -50,7 +48,6 @@ private:
|
||||
std::vector<std::string> attributeName_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string bizAliUid_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
|
||||
@@ -32,8 +32,6 @@ public:
|
||||
~DescribeAvailableResourceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getNeedInventoryScore() const;
|
||||
void setNeedInventoryScore(bool needInventoryScore);
|
||||
float getMemory() const;
|
||||
void setMemory(float memory);
|
||||
std::string getIoOptimized() const;
|
||||
@@ -54,8 +52,6 @@ public:
|
||||
void setNetworkCategory(const std::string &networkCategory);
|
||||
std::string getInstanceChargeType() const;
|
||||
void setInstanceChargeType(const std::string &instanceChargeType);
|
||||
std::vector<std::string> getInstanceFeatureOptions() const;
|
||||
void setInstanceFeatureOptions(const std::vector<std::string> &instanceFeatureOptions);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -77,7 +73,6 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool needInventoryScore_;
|
||||
float memory_;
|
||||
std::string ioOptimized_;
|
||||
std::string dataDiskCategory_;
|
||||
@@ -88,7 +83,6 @@ private:
|
||||
std::string instanceType_;
|
||||
std::string networkCategory_;
|
||||
std::string instanceChargeType_;
|
||||
std::vector<std::string> instanceFeatureOptions_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
|
||||
@@ -48,8 +48,6 @@ public:
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
bool getLatest() const;
|
||||
void setLatest(bool latest);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -69,7 +67,6 @@ private:
|
||||
std::string provider_;
|
||||
std::string contentEncoding_;
|
||||
long pageSize_;
|
||||
bool latest_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -58,7 +58,6 @@ namespace AlibabaCloud
|
||||
std::string platform;
|
||||
int size;
|
||||
bool isSubscribed;
|
||||
std::string bootMode;
|
||||
std::string oSName;
|
||||
bool isPublic;
|
||||
std::string imageId;
|
||||
|
||||
@@ -28,10 +28,6 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstanceTypesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Filters {
|
||||
std::string name;
|
||||
std::string value;
|
||||
};
|
||||
DescribeInstanceTypesRequest();
|
||||
~DescribeInstanceTypesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -46,8 +42,6 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getInstanceTypeFamily() const;
|
||||
void setInstanceTypeFamily(const std::string &instanceTypeFamily);
|
||||
std::vector<Filters> getFilters() const;
|
||||
void setFilters(const std::vector<Filters> &filters);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getMaxResults() const;
|
||||
@@ -60,7 +54,6 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceTypeFamily_;
|
||||
std::vector<Filters> filters_;
|
||||
long ownerId_;
|
||||
long maxResults_;
|
||||
};
|
||||
|
||||
@@ -140,7 +140,6 @@ namespace AlibabaCloud
|
||||
std::string internetChargeType;
|
||||
std::string deploymentSetId;
|
||||
std::string instanceName;
|
||||
std::string spotInterruptionBehavior;
|
||||
int internetMaxBandwidthOut;
|
||||
std::string serialNumber;
|
||||
std::string oSType;
|
||||
|
||||
@@ -28,28 +28,24 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePriceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemDisk {
|
||||
int size;
|
||||
std::string performanceLevel;
|
||||
std::string category;
|
||||
};
|
||||
struct DataDisk {
|
||||
int size;
|
||||
std::string performanceLevel;
|
||||
std::string category;
|
||||
};
|
||||
DescribePriceRequest();
|
||||
~DescribePriceRequest();
|
||||
int getDataDisk3Size() const;
|
||||
void setDataDisk3Size(int dataDisk3Size);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDataDisk3Category() const;
|
||||
void setDataDisk3Category(const std::string &dataDisk3Category);
|
||||
std::string getIsp() const;
|
||||
void setIsp(const std::string &isp);
|
||||
SystemDisk getSystemDisk() const;
|
||||
void setSystemDisk(const SystemDisk &systemDisk);
|
||||
int getDataDisk4Size() const;
|
||||
void setDataDisk4Size(int dataDisk4Size);
|
||||
std::string getPriceUnit() const;
|
||||
void setPriceUnit(const std::string &priceUnit);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
std::string getDataDisk1PerformanceLevel() const;
|
||||
void setDataDisk1PerformanceLevel(const std::string &dataDisk1PerformanceLevel);
|
||||
std::string getAssuranceTimes() const;
|
||||
void setAssuranceTimes(const std::string &assuranceTimes);
|
||||
long getOwnerId() const;
|
||||
@@ -68,16 +64,26 @@ public:
|
||||
void setInstanceAmount(int instanceAmount);
|
||||
std::vector<std::string> getInstanceTypeList() const;
|
||||
void setInstanceTypeList(const std::vector<std::string> &instanceTypeList);
|
||||
std::string getDataDisk3PerformanceLevel() const;
|
||||
void setDataDisk3PerformanceLevel(const std::string &dataDisk3PerformanceLevel);
|
||||
std::string getImageId() const;
|
||||
void setImageId(const std::string &imageId);
|
||||
std::string getIoOptimized() const;
|
||||
void setIoOptimized(const std::string &ioOptimized);
|
||||
int getInternetMaxBandwidthOut() const;
|
||||
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
|
||||
std::string getSystemDiskCategory() const;
|
||||
void setSystemDiskCategory(const std::string &systemDiskCategory);
|
||||
std::string getPlatform() const;
|
||||
void setPlatform(const std::string &platform);
|
||||
int getCapacity() const;
|
||||
void setCapacity(int capacity);
|
||||
std::string getSystemDiskPerformanceLevel() const;
|
||||
void setSystemDiskPerformanceLevel(const std::string &systemDiskPerformanceLevel);
|
||||
std::string getDataDisk4Category() const;
|
||||
void setDataDisk4Category(const std::string &dataDisk4Category);
|
||||
std::string getDataDisk4PerformanceLevel() const;
|
||||
void setDataDisk4PerformanceLevel(const std::string &dataDisk4PerformanceLevel);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getScope() const;
|
||||
@@ -86,27 +92,40 @@ public:
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::string getDedicatedHostType() const;
|
||||
void setDedicatedHostType(const std::string &dedicatedHostType);
|
||||
std::string getDataDisk2Category() const;
|
||||
void setDataDisk2Category(const std::string &dataDisk2Category);
|
||||
int getDataDisk1Size() const;
|
||||
void setDataDisk1Size(int dataDisk1Size);
|
||||
int getAmount() const;
|
||||
void setAmount(int amount);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getDataDisk2Size() const;
|
||||
void setDataDisk2Size(int dataDisk2Size);
|
||||
int getSpotDuration() const;
|
||||
void setSpotDuration(int spotDuration);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::vector<DataDisk> getDataDisk() const;
|
||||
void setDataDisk(const std::vector<DataDisk> &dataDisk);
|
||||
std::string getDataDisk1Category() const;
|
||||
void setDataDisk1Category(const std::string &dataDisk1Category);
|
||||
std::string getDataDisk2PerformanceLevel() const;
|
||||
void setDataDisk2PerformanceLevel(const std::string &dataDisk2PerformanceLevel);
|
||||
int getSystemDiskSize() const;
|
||||
void setSystemDiskSize(int systemDiskSize);
|
||||
std::string getOfferingType() const;
|
||||
void setOfferingType(const std::string &offeringType);
|
||||
|
||||
private:
|
||||
int dataDisk3Size_;
|
||||
long resourceOwnerId_;
|
||||
std::string dataDisk3Category_;
|
||||
std::string isp_;
|
||||
SystemDisk systemDisk_;
|
||||
int dataDisk4Size_;
|
||||
std::string priceUnit_;
|
||||
int period_;
|
||||
std::string dataDisk1PerformanceLevel_;
|
||||
std::string assuranceTimes_;
|
||||
long ownerId_;
|
||||
int instanceCpuCoreCount_;
|
||||
@@ -116,21 +135,31 @@ private:
|
||||
std::string instanceNetworkType_;
|
||||
int instanceAmount_;
|
||||
std::vector<std::string> instanceTypeList_;
|
||||
std::string dataDisk3PerformanceLevel_;
|
||||
std::string imageId_;
|
||||
std::string ioOptimized_;
|
||||
int internetMaxBandwidthOut_;
|
||||
std::string systemDiskCategory_;
|
||||
std::string platform_;
|
||||
int capacity_;
|
||||
std::string systemDiskPerformanceLevel_;
|
||||
std::string dataDisk4Category_;
|
||||
std::string dataDisk4PerformanceLevel_;
|
||||
std::string regionId_;
|
||||
std::string scope_;
|
||||
std::string instanceType_;
|
||||
std::string dedicatedHostType_;
|
||||
std::string dataDisk2Category_;
|
||||
int dataDisk1Size_;
|
||||
int amount_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int dataDisk2Size_;
|
||||
int spotDuration_;
|
||||
std::string resourceType_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
std::string dataDisk1Category_;
|
||||
std::string dataDisk2PerformanceLevel_;
|
||||
int systemDiskSize_;
|
||||
std::string offeringType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -42,8 +42,6 @@ public:
|
||||
void setScene(const std::string &scene);
|
||||
int getCores() const;
|
||||
void setCores(int cores);
|
||||
std::vector<std::string> getZoneIds() const;
|
||||
void setZoneIds(const std::vector<std::string> &zoneIds);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSystemDiskCategory() const;
|
||||
@@ -70,8 +68,6 @@ public:
|
||||
void setPriorityStrategy(const std::string &priorityStrategy);
|
||||
std::string getInstanceFamilyLevel() const;
|
||||
void setInstanceFamilyLevel(const std::string &instanceFamilyLevel);
|
||||
bool getInstanceTypeSupportIPv6() const;
|
||||
void setInstanceTypeSupportIPv6(bool instanceTypeSupportIPv6);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
@@ -82,7 +78,6 @@ private:
|
||||
std::string networkType_;
|
||||
std::string scene_;
|
||||
int cores_;
|
||||
std::vector<std::string> zoneIds_;
|
||||
std::string regionId_;
|
||||
std::string systemDiskCategory_;
|
||||
std::string instanceType_;
|
||||
@@ -96,7 +91,6 @@ private:
|
||||
std::string spotStrategy_;
|
||||
std::string priorityStrategy_;
|
||||
std::string instanceFamilyLevel_;
|
||||
bool instanceTypeSupportIPv6_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~ModifyInstanceDeploymentRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getRemoveFromDeploymentSet() const;
|
||||
void setRemoveFromDeploymentSet(bool removeFromDeploymentSet);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getDeploymentSetGroupNo() const;
|
||||
@@ -63,6 +65,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool removeFromDeploymentSet_;
|
||||
std::string regionId_;
|
||||
int deploymentSetGroupNo_;
|
||||
std::string dedicatedHostClusterId_;
|
||||
|
||||
@@ -38,8 +38,6 @@ public:
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSnapshotName() const;
|
||||
void setSnapshotName(const std::string &snapshotName);
|
||||
long getInstantAccessRetentionDays() const;
|
||||
void setInstantAccessRetentionDays(long instantAccessRetentionDays);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -48,20 +46,16 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
bool getDisableInstantAccess() const;
|
||||
void setDisableInstantAccess(bool disableInstantAccess);
|
||||
long getRetentionDays() const;
|
||||
void setRetentionDays(long retentionDays);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string snapshotId_;
|
||||
std::string description_;
|
||||
std::string snapshotName_;
|
||||
long instantAccessRetentionDays_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool disableInstantAccess_;
|
||||
long retentionDays_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -42,8 +42,6 @@ public:
|
||||
void setDedicatedHostId(const std::string &dedicatedHostId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getWaiveLocalDiskData() const;
|
||||
void setWaiveLocalDiskData(bool waiveLocalDiskData);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -52,7 +50,6 @@ private:
|
||||
std::string ownerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
bool waiveLocalDiskData_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -56,8 +56,6 @@ public:
|
||||
void setKeepCommand(bool keepCommand);
|
||||
bool getTimed() const;
|
||||
void setTimed(bool timed);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -89,7 +87,6 @@ private:
|
||||
std::string windowsPasswordName_;
|
||||
bool keepCommand_;
|
||||
bool timed_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
Reference in New Issue
Block a user