Add error code for ModifyInstanceNetworkSpec.
This commit is contained in:
@@ -90,8 +90,6 @@
|
||||
#include "model/CreateCapacityReservationResult.h"
|
||||
#include "model/CreateCommandRequest.h"
|
||||
#include "model/CreateCommandResult.h"
|
||||
#include "model/CreateDedicatedBlockStorageClusterRequest.h"
|
||||
#include "model/CreateDedicatedBlockStorageClusterResult.h"
|
||||
#include "model/CreateDedicatedHostClusterRequest.h"
|
||||
#include "model/CreateDedicatedHostClusterResult.h"
|
||||
#include "model/CreateDemandRequest.h"
|
||||
@@ -264,8 +262,6 @@
|
||||
#include "model/DescribeClustersResult.h"
|
||||
#include "model/DescribeCommandsRequest.h"
|
||||
#include "model/DescribeCommandsResult.h"
|
||||
#include "model/DescribeDedicatedBlockStorageClustersRequest.h"
|
||||
#include "model/DescribeDedicatedBlockStorageClustersResult.h"
|
||||
#include "model/DescribeDedicatedHostAutoRenewRequest.h"
|
||||
#include "model/DescribeDedicatedHostAutoRenewResult.h"
|
||||
#include "model/DescribeDedicatedHostClustersRequest.h"
|
||||
@@ -284,6 +280,8 @@
|
||||
#include "model/DescribeDiagnosticMetricSetsResult.h"
|
||||
#include "model/DescribeDiagnosticMetricsRequest.h"
|
||||
#include "model/DescribeDiagnosticMetricsResult.h"
|
||||
#include "model/DescribeDiagnosticReportAttributesRequest.h"
|
||||
#include "model/DescribeDiagnosticReportAttributesResult.h"
|
||||
#include "model/DescribeDiagnosticReportsRequest.h"
|
||||
#include "model/DescribeDiagnosticReportsResult.h"
|
||||
#include "model/DescribeDiskMonitorDataRequest.h"
|
||||
@@ -823,9 +821,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateCommandResult> CreateCommandOutcome;
|
||||
typedef std::future<CreateCommandOutcome> CreateCommandOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateCommandRequest&, const CreateCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCommandAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDedicatedBlockStorageClusterResult> CreateDedicatedBlockStorageClusterOutcome;
|
||||
typedef std::future<CreateDedicatedBlockStorageClusterOutcome> CreateDedicatedBlockStorageClusterOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateDedicatedBlockStorageClusterRequest&, const CreateDedicatedBlockStorageClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDedicatedBlockStorageClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDedicatedHostClusterResult> CreateDedicatedHostClusterOutcome;
|
||||
typedef std::future<CreateDedicatedHostClusterOutcome> CreateDedicatedHostClusterOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateDedicatedHostClusterRequest&, const CreateDedicatedHostClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDedicatedHostClusterAsyncHandler;
|
||||
@@ -1084,9 +1079,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeCommandsResult> DescribeCommandsOutcome;
|
||||
typedef std::future<DescribeCommandsOutcome> DescribeCommandsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeCommandsRequest&, const DescribeCommandsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCommandsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDedicatedBlockStorageClustersResult> DescribeDedicatedBlockStorageClustersOutcome;
|
||||
typedef std::future<DescribeDedicatedBlockStorageClustersOutcome> DescribeDedicatedBlockStorageClustersOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedBlockStorageClustersRequest&, const DescribeDedicatedBlockStorageClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedBlockStorageClustersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDedicatedHostAutoRenewResult> DescribeDedicatedHostAutoRenewOutcome;
|
||||
typedef std::future<DescribeDedicatedHostAutoRenewOutcome> DescribeDedicatedHostAutoRenewOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostAutoRenewRequest&, const DescribeDedicatedHostAutoRenewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostAutoRenewAsyncHandler;
|
||||
@@ -1114,6 +1106,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDiagnosticMetricsResult> DescribeDiagnosticMetricsOutcome;
|
||||
typedef std::future<DescribeDiagnosticMetricsOutcome> DescribeDiagnosticMetricsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeDiagnosticMetricsRequest&, const DescribeDiagnosticMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosticMetricsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiagnosticReportAttributesResult> DescribeDiagnosticReportAttributesOutcome;
|
||||
typedef std::future<DescribeDiagnosticReportAttributesOutcome> DescribeDiagnosticReportAttributesOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeDiagnosticReportAttributesRequest&, const DescribeDiagnosticReportAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosticReportAttributesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiagnosticReportsResult> DescribeDiagnosticReportsOutcome;
|
||||
typedef std::future<DescribeDiagnosticReportsOutcome> DescribeDiagnosticReportsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeDiagnosticReportsRequest&, const DescribeDiagnosticReportsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiagnosticReportsAsyncHandler;
|
||||
@@ -1863,9 +1858,6 @@ namespace AlibabaCloud
|
||||
CreateCommandOutcome createCommand(const Model::CreateCommandRequest &request)const;
|
||||
void createCommandAsync(const Model::CreateCommandRequest& request, const CreateCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCommandOutcomeCallable createCommandCallable(const Model::CreateCommandRequest& request) const;
|
||||
CreateDedicatedBlockStorageClusterOutcome createDedicatedBlockStorageCluster(const Model::CreateDedicatedBlockStorageClusterRequest &request)const;
|
||||
void createDedicatedBlockStorageClusterAsync(const Model::CreateDedicatedBlockStorageClusterRequest& request, const CreateDedicatedBlockStorageClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDedicatedBlockStorageClusterOutcomeCallable createDedicatedBlockStorageClusterCallable(const Model::CreateDedicatedBlockStorageClusterRequest& request) const;
|
||||
CreateDedicatedHostClusterOutcome createDedicatedHostCluster(const Model::CreateDedicatedHostClusterRequest &request)const;
|
||||
void createDedicatedHostClusterAsync(const Model::CreateDedicatedHostClusterRequest& request, const CreateDedicatedHostClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDedicatedHostClusterOutcomeCallable createDedicatedHostClusterCallable(const Model::CreateDedicatedHostClusterRequest& request) const;
|
||||
@@ -2124,9 +2116,6 @@ namespace AlibabaCloud
|
||||
DescribeCommandsOutcome describeCommands(const Model::DescribeCommandsRequest &request)const;
|
||||
void describeCommandsAsync(const Model::DescribeCommandsRequest& request, const DescribeCommandsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCommandsOutcomeCallable describeCommandsCallable(const Model::DescribeCommandsRequest& request) const;
|
||||
DescribeDedicatedBlockStorageClustersOutcome describeDedicatedBlockStorageClusters(const Model::DescribeDedicatedBlockStorageClustersRequest &request)const;
|
||||
void describeDedicatedBlockStorageClustersAsync(const Model::DescribeDedicatedBlockStorageClustersRequest& request, const DescribeDedicatedBlockStorageClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDedicatedBlockStorageClustersOutcomeCallable describeDedicatedBlockStorageClustersCallable(const Model::DescribeDedicatedBlockStorageClustersRequest& request) const;
|
||||
DescribeDedicatedHostAutoRenewOutcome describeDedicatedHostAutoRenew(const Model::DescribeDedicatedHostAutoRenewRequest &request)const;
|
||||
void describeDedicatedHostAutoRenewAsync(const Model::DescribeDedicatedHostAutoRenewRequest& request, const DescribeDedicatedHostAutoRenewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDedicatedHostAutoRenewOutcomeCallable describeDedicatedHostAutoRenewCallable(const Model::DescribeDedicatedHostAutoRenewRequest& request) const;
|
||||
@@ -2154,6 +2143,9 @@ namespace AlibabaCloud
|
||||
DescribeDiagnosticMetricsOutcome describeDiagnosticMetrics(const Model::DescribeDiagnosticMetricsRequest &request)const;
|
||||
void describeDiagnosticMetricsAsync(const Model::DescribeDiagnosticMetricsRequest& request, const DescribeDiagnosticMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosticMetricsOutcomeCallable describeDiagnosticMetricsCallable(const Model::DescribeDiagnosticMetricsRequest& request) const;
|
||||
DescribeDiagnosticReportAttributesOutcome describeDiagnosticReportAttributes(const Model::DescribeDiagnosticReportAttributesRequest &request)const;
|
||||
void describeDiagnosticReportAttributesAsync(const Model::DescribeDiagnosticReportAttributesRequest& request, const DescribeDiagnosticReportAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosticReportAttributesOutcomeCallable describeDiagnosticReportAttributesCallable(const Model::DescribeDiagnosticReportAttributesRequest& request) const;
|
||||
DescribeDiagnosticReportsOutcome describeDiagnosticReports(const Model::DescribeDiagnosticReportsRequest &request)const;
|
||||
void describeDiagnosticReportsAsync(const Model::DescribeDiagnosticReportsRequest& request, const DescribeDiagnosticReportsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiagnosticReportsOutcomeCallable describeDiagnosticReportsCallable(const Model::DescribeDiagnosticReportsRequest& request) const;
|
||||
|
||||
@@ -32,6 +32,10 @@ public:
|
||||
~AssignIpv6AddressesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getIpv6Prefix() const;
|
||||
void setIpv6Prefix(const std::vector<std::string> &ipv6Prefix);
|
||||
int getIpv6PrefixCount() const;
|
||||
void setIpv6PrefixCount(int ipv6PrefixCount);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -49,6 +53,8 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> ipv6Prefix_;
|
||||
int ipv6PrefixCount_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int ipv6AddressCount_;
|
||||
|
||||
@@ -38,12 +38,14 @@ namespace AlibabaCloud
|
||||
explicit AssignIpv6AddressesResult(const std::string &payload);
|
||||
~AssignIpv6AddressesResult();
|
||||
std::vector<std::string> getIpv6Sets()const;
|
||||
std::vector<std::string> getIpv6PrefixSets()const;
|
||||
std::string getNetworkInterfaceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> ipv6Sets_;
|
||||
std::vector<std::string> ipv6PrefixSets_;
|
||||
std::string networkInterfaceId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~AssignPrivateIpAddressesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getIpv4Prefix() const;
|
||||
void setIpv4Prefix(const std::vector<std::string> &ipv4Prefix);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
int getSecondaryPrivateIpAddressCount() const;
|
||||
@@ -44,6 +46,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getIpv4PrefixCount() const;
|
||||
void setIpv4PrefixCount(int ipv4PrefixCount);
|
||||
std::vector<std::string> getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::vector<std::string> &privateIpAddress);
|
||||
std::string getNetworkInterfaceId() const;
|
||||
@@ -51,12 +55,14 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> ipv4Prefix_;
|
||||
std::string clientToken_;
|
||||
int secondaryPrivateIpAddressCount_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
int ipv4PrefixCount_;
|
||||
std::vector<std::string> privateIpAddress_;
|
||||
std::string networkInterfaceId_;
|
||||
};
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::vector<std::string> privateIpSet;
|
||||
std::string networkInterfaceId;
|
||||
std::vector<std::string> ipv4PrefixSet;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setWaitForNetworkConfigurationReady(bool waitForNetworkConfigurationReady);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getNetworkCardIndex() const;
|
||||
void setNetworkCardIndex(int networkCardIndex);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getNetworkInterfaceId() const;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
bool waitForNetworkConfigurationReady_;
|
||||
long ownerId_;
|
||||
int networkCardIndex_;
|
||||
std::string instanceId_;
|
||||
std::string networkInterfaceId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,11 @@ public:
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
struct Arn {
|
||||
std::string roleType;
|
||||
std::string rolearn;
|
||||
long assumeRoleFor;
|
||||
};
|
||||
CopySnapshotRequest();
|
||||
~CopySnapshotRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -46,6 +51,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::vector<Arn> getArn() const;
|
||||
void setArn(const std::vector<Arn> &arn);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
@@ -54,8 +61,12 @@ public:
|
||||
void setDestinationSnapshotName(const std::string &destinationSnapshotName);
|
||||
std::string getDestinationSnapshotDescription() const;
|
||||
void setDestinationSnapshotDescription(const std::string &destinationSnapshotDescription);
|
||||
bool getEncrypted() const;
|
||||
void setEncrypted(bool encrypted);
|
||||
int getRetentionDays() const;
|
||||
void setRetentionDays(int retentionDays);
|
||||
std::string getKMSKeyId() const;
|
||||
void setKMSKeyId(const std::string &kMSKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -64,11 +75,14 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<Arn> arn_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string destinationSnapshotName_;
|
||||
std::string destinationSnapshotDescription_;
|
||||
bool encrypted_;
|
||||
int retentionDays_;
|
||||
std::string kMSKeyId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStorageLocationArn() const;
|
||||
void setStorageLocationArn(const std::string &storageLocationArn);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
bool getEnableCrossRegionCopy() const;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::string repeatWeekdays_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string storageLocationArn_;
|
||||
std::vector<Tag> tag_;
|
||||
bool enableCrossRegionCopy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -28,10 +28,21 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateCommandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemTag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
std::string scope;
|
||||
};
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
CreateCommandRequest();
|
||||
~CreateCommandRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<SystemTag> getSystemTag() const;
|
||||
void setSystemTag(const std::vector<SystemTag> &systemTag);
|
||||
std::string getWorkingDir() const;
|
||||
void setWorkingDir(const std::string &workingDir);
|
||||
std::string getDescription() const;
|
||||
@@ -46,6 +57,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getContentEncoding() const;
|
||||
void setContentEncoding(const std::string &contentEncoding);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -59,6 +72,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<SystemTag> systemTag_;
|
||||
std::string workingDir_;
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
@@ -66,6 +80,7 @@ private:
|
||||
long timeout_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -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_CREATEDEDICATEDBLOCKSTORAGECLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERREQUEST_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 CreateDedicatedBlockStorageClusterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDedicatedBlockStorageClusterRequest();
|
||||
~CreateDedicatedBlockStorageClusterRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDedicatedBlockStorageClusterName() const;
|
||||
void setDedicatedBlockStorageClusterName(const std::string &dedicatedBlockStorageClusterName);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
int getCapacity() const;
|
||||
void setCapacity(int capacity);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
std::string getFromApp() const;
|
||||
void setFromApp(const std::string &fromApp);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPeriodUnit() const;
|
||||
void setPeriodUnit(const std::string &periodUnit);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string dedicatedBlockStorageClusterName_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
int capacity_;
|
||||
std::string regionId_;
|
||||
int period_;
|
||||
std::string fromApp_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string periodUnit_;
|
||||
std::string zoneId_;
|
||||
std::string category_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERREQUEST_H_
|
||||
@@ -1,53 +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_CREATEDEDICATEDBLOCKSTORAGECLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERRESULT_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 CreateDedicatedBlockStorageClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDedicatedBlockStorageClusterResult();
|
||||
explicit CreateDedicatedBlockStorageClusterResult(const std::string &payload);
|
||||
~CreateDedicatedBlockStorageClusterResult();
|
||||
std::string getDedicatedBlockStorageClusterOrderId()const;
|
||||
std::string getDedicatedBlockStorageClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dedicatedBlockStorageClusterOrderId_;
|
||||
std::string dedicatedBlockStorageClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERRESULT_H_
|
||||
@@ -32,6 +32,11 @@ public:
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct SystemTag {
|
||||
std::string scope;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Arn {
|
||||
std::string rolearn;
|
||||
std::string roleType;
|
||||
@@ -41,28 +46,42 @@ public:
|
||||
~CreateDiskRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSnapshotId() const;
|
||||
void setSnapshotId(const std::string &snapshotId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getEncryptAlgorithm() const;
|
||||
void setEncryptAlgorithm(const std::string &encryptAlgorithm);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getDiskName() const;
|
||||
void setDiskName(const std::string &diskName);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
int getStorageSetPartitionNumber() const;
|
||||
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getProvisionedIops() const;
|
||||
void setProvisionedIops(long provisionedIops);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getSize() const;
|
||||
void setSize(int size);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getStorageClusterId() const;
|
||||
void setStorageClusterId(const std::string &storageClusterId);
|
||||
std::string getSnapshotId() const;
|
||||
void setSnapshotId(const std::string &snapshotId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::vector<SystemTag> getSystemTag() const;
|
||||
void setSystemTag(const std::vector<SystemTag> &systemTag);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDiskCategory() const;
|
||||
void setDiskCategory(const std::string &diskCategory);
|
||||
int getStorageSetPartitionNumber() const;
|
||||
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
|
||||
std::string getMultiAttach() const;
|
||||
void setMultiAttach(const std::string &multiAttach);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getAdvancedFeatures() const;
|
||||
void setAdvancedFeatures(const std::string &advancedFeatures);
|
||||
std::vector<Arn> getArn() const;
|
||||
@@ -73,54 +92,43 @@ public:
|
||||
void setPerformanceLevel(const std::string &performanceLevel);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getBurstingEnabled() const;
|
||||
void setBurstingEnabled(bool burstingEnabled);
|
||||
long getProvisionedIops() const;
|
||||
void setProvisionedIops(long provisionedIops);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getStorageSetId() const;
|
||||
void setStorageSetId(const std::string &storageSetId);
|
||||
int getSize() const;
|
||||
void setSize(int size);
|
||||
bool getEncrypted() const;
|
||||
void setEncrypted(bool encrypted);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getStorageClusterId() const;
|
||||
void setStorageClusterId(const std::string &storageClusterId);
|
||||
std::string getKMSKeyId() const;
|
||||
void setKMSKeyId(const std::string &kMSKeyId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string snapshotId_;
|
||||
std::string clientToken_;
|
||||
std::string encryptAlgorithm_;
|
||||
std::string description_;
|
||||
std::string diskName_;
|
||||
std::string resourceGroupId_;
|
||||
int storageSetPartitionNumber_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
long provisionedIops_;
|
||||
std::string instanceId_;
|
||||
int size_;
|
||||
std::string zoneId_;
|
||||
std::string storageClusterId_;
|
||||
std::string snapshotId_;
|
||||
std::string clientToken_;
|
||||
std::vector<SystemTag> systemTag_;
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
std::string diskCategory_;
|
||||
int storageSetPartitionNumber_;
|
||||
std::string multiAttach_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string advancedFeatures_;
|
||||
std::vector<Arn> arn_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string performanceLevel_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool burstingEnabled_;
|
||||
long provisionedIops_;
|
||||
std::string instanceId_;
|
||||
std::string storageSetId_;
|
||||
int size_;
|
||||
bool encrypted_;
|
||||
std::string zoneId_;
|
||||
std::string storageClusterId_;
|
||||
std::string kMSKeyId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -34,6 +34,11 @@ public:
|
||||
std::string diskType;
|
||||
std::string device;
|
||||
};
|
||||
struct SystemTag {
|
||||
std::string scope;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
@@ -48,6 +53,8 @@ public:
|
||||
void setSnapshotId(const std::string &snapshotId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::vector<SystemTag> getSystemTag() const;
|
||||
void setSystemTag(const std::vector<SystemTag> &systemTag);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getPlatform() const;
|
||||
@@ -60,10 +67,14 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getImageName() const;
|
||||
void setImageName(const std::string &imageName);
|
||||
std::string getStorageLocationArn() const;
|
||||
void setStorageLocationArn(const std::string &storageLocationArn);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getArchitecture() const;
|
||||
void setArchitecture(const std::string &architecture);
|
||||
std::string getDetectionStrategy() const;
|
||||
void setDetectionStrategy(const std::string &detectionStrategy);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -82,14 +93,17 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string snapshotId_;
|
||||
std::string clientToken_;
|
||||
std::vector<SystemTag> systemTag_;
|
||||
std::string description_;
|
||||
std::string platform_;
|
||||
std::string resourceGroupId_;
|
||||
std::string bootMode_;
|
||||
std::string regionId_;
|
||||
std::string imageName_;
|
||||
std::string storageLocationArn_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string architecture_;
|
||||
std::string detectionStrategy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -169,6 +169,8 @@ public:
|
||||
void setVpcId(const std::string &vpcId);
|
||||
std::string getSystemDiskDescription() const;
|
||||
void setSystemDiskDescription(const std::string &systemDiskDescription);
|
||||
std::string getSystemDiskEncrypted() const;
|
||||
void setSystemDiskEncrypted(const std::string &systemDiskEncrypted);
|
||||
|
||||
private:
|
||||
std::string launchTemplateName_;
|
||||
@@ -225,6 +227,7 @@ private:
|
||||
int systemDiskSize_;
|
||||
std::string vpcId_;
|
||||
std::string systemDiskDescription_;
|
||||
std::string systemDiskEncrypted_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -163,6 +163,8 @@ public:
|
||||
void setVpcId(const std::string &vpcId);
|
||||
std::string getSystemDiskDescription() const;
|
||||
void setSystemDiskDescription(const std::string &systemDiskDescription);
|
||||
std::string getSystemDiskEncrypted() const;
|
||||
void setSystemDiskEncrypted(const std::string &systemDiskEncrypted);
|
||||
|
||||
private:
|
||||
std::string launchTemplateName_;
|
||||
@@ -218,6 +220,7 @@ private:
|
||||
int systemDiskSize_;
|
||||
std::string vpcId_;
|
||||
std::string systemDiskDescription_;
|
||||
std::string systemDiskEncrypted_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -38,76 +38,88 @@ public:
|
||||
void setQueueNumber(int queueNumber);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getSecurityGroupId() const;
|
||||
void setSecurityGroupId(const std::string &securityGroupId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::vector<std::string> getIpv4Prefix() const;
|
||||
void setIpv4Prefix(const std::vector<std::string> &ipv4Prefix);
|
||||
int getSecondaryPrivateIpAddressCount() const;
|
||||
void setSecondaryPrivateIpAddressCount(int secondaryPrivateIpAddressCount);
|
||||
std::string getBusinessType() const;
|
||||
void setBusinessType(const std::string &businessType);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getNetworkInterfaceName() const;
|
||||
void setNetworkInterfaceName(const std::string &networkInterfaceName);
|
||||
bool getVisible() const;
|
||||
void setVisible(bool visible);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
int getIpv6AddressCount() const;
|
||||
void setIpv6AddressCount(int ipv6AddressCount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getQueuePairNumber() const;
|
||||
void setQueuePairNumber(int queuePairNumber);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getSecurityGroupIds() const;
|
||||
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
|
||||
std::string getNetworkInterfaceTrafficMode() const;
|
||||
void setNetworkInterfaceTrafficMode(const std::string &networkInterfaceTrafficMode);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::vector<std::string> getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::vector<std::string> &privateIpAddress);
|
||||
std::string getPrimaryIpAddress() const;
|
||||
void setPrimaryIpAddress(const std::string &primaryIpAddress);
|
||||
std::vector<std::string> getIpv6Address() const;
|
||||
void setIpv6Address(const std::vector<std::string> &ipv6Address);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::vector<std::string> getIpv6Prefix() const;
|
||||
void setIpv6Prefix(const std::vector<std::string> &ipv6Prefix);
|
||||
std::string getSecurityGroupId() const;
|
||||
void setSecurityGroupId(const std::string &securityGroupId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
int getIpv6PrefixCount() const;
|
||||
void setIpv6PrefixCount(int ipv6PrefixCount);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getQueuePairNumber() const;
|
||||
void setQueuePairNumber(int queuePairNumber);
|
||||
std::vector<std::string> getSecurityGroupIds() const;
|
||||
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
|
||||
std::string getNetworkInterfaceTrafficMode() const;
|
||||
void setNetworkInterfaceTrafficMode(const std::string &networkInterfaceTrafficMode);
|
||||
int getIpv4PrefixCount() const;
|
||||
void setIpv4PrefixCount(int ipv4PrefixCount);
|
||||
std::string getPrimaryIpAddress() const;
|
||||
void setPrimaryIpAddress(const std::string &primaryIpAddress);
|
||||
|
||||
private:
|
||||
int queueNumber_;
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string securityGroupId_;
|
||||
std::string description_;
|
||||
std::vector<std::string> ipv4Prefix_;
|
||||
int secondaryPrivateIpAddressCount_;
|
||||
std::string businessType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string networkInterfaceName_;
|
||||
bool visible_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int ipv6AddressCount_;
|
||||
std::string ownerAccount_;
|
||||
int queuePairNumber_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::string networkInterfaceTrafficMode_;
|
||||
std::string vSwitchId_;
|
||||
std::vector<std::string> privateIpAddress_;
|
||||
std::string primaryIpAddress_;
|
||||
std::vector<std::string> ipv6Address_;
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> ipv6Prefix_;
|
||||
std::string securityGroupId_;
|
||||
std::string description_;
|
||||
int ipv6PrefixCount_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int queuePairNumber_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::string networkInterfaceTrafficMode_;
|
||||
int ipv4PrefixCount_;
|
||||
std::string primaryIpAddress_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -46,6 +46,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
struct Ipv4PrefixSet
|
||||
{
|
||||
std::string ipv4Prefix;
|
||||
};
|
||||
struct Ipv6PrefixSet
|
||||
{
|
||||
std::string ipv6Prefix;
|
||||
};
|
||||
|
||||
|
||||
CreateNetworkInterfaceResult();
|
||||
@@ -67,7 +75,9 @@ namespace AlibabaCloud
|
||||
std::vector<Ipv6Set> getIpv6Sets()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getOwnerId()const;
|
||||
std::vector<Ipv6PrefixSet> getIpv6PrefixSets()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
std::vector<Ipv4PrefixSet> getIpv4PrefixSets()const;
|
||||
std::vector<PrivateIpSet> getPrivateIpSets()const;
|
||||
|
||||
protected:
|
||||
@@ -89,7 +99,9 @@ namespace AlibabaCloud
|
||||
std::vector<Ipv6Set> ipv6Sets_;
|
||||
std::string vpcId_;
|
||||
std::string ownerId_;
|
||||
std::vector<Ipv6PrefixSet> ipv6PrefixSets_;
|
||||
std::vector<Tag> tags_;
|
||||
std::vector<Ipv4PrefixSet> ipv4PrefixSets_;
|
||||
std::vector<PrivateIpSet> privateIpSets_;
|
||||
|
||||
};
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setInstantAccessRetentionDays(int instantAccessRetentionDays);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStorageLocationArn() const;
|
||||
void setStorageLocationArn(const std::string &storageLocationArn);
|
||||
std::vector<std::string> getDiskId() const;
|
||||
void setDiskId(const std::vector<std::string> &diskId);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
int instantAccessRetentionDays_;
|
||||
std::string regionId_;
|
||||
std::string storageLocationArn_;
|
||||
std::vector<std::string> diskId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -28,6 +28,11 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSnapshotRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemTag {
|
||||
std::string scope;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
@@ -40,6 +45,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
bool getInstantAccess() const;
|
||||
void setInstantAccess(bool instantAccess);
|
||||
std::vector<SystemTag> getSystemTag() const;
|
||||
void setSystemTag(const std::vector<SystemTag> &systemTag);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getSnapshotName() const;
|
||||
@@ -48,6 +55,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
int getInstantAccessRetentionDays() const;
|
||||
void setInstantAccessRetentionDays(int instantAccessRetentionDays);
|
||||
std::string getStorageLocationArn() const;
|
||||
void setStorageLocationArn(const std::string &storageLocationArn);
|
||||
std::string getDiskId() const;
|
||||
void setDiskId(const std::string &diskId);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -67,10 +76,12 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
bool instantAccess_;
|
||||
std::vector<SystemTag> systemTag_;
|
||||
std::string description_;
|
||||
std::string snapshotName_;
|
||||
std::string resourceGroupId_;
|
||||
int instantAccessRetentionDays_;
|
||||
std::string storageLocationArn_;
|
||||
std::string diskId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -1,72 +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_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSREQUEST_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 DescribeDedicatedBlockStorageClustersRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDedicatedBlockStorageClustersRequest();
|
||||
~DescribeDedicatedBlockStorageClustersRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::vector<std::string> getDedicatedBlockStorageClusterId() const;
|
||||
void setDedicatedBlockStorageClusterId(const std::vector<std::string> &dedicatedBlockStorageClusterId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
std::vector<std::string> getStatus() const;
|
||||
void setStatus(const std::vector<std::string> &status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<std::string> dedicatedBlockStorageClusterId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
int maxResults_;
|
||||
std::string category_;
|
||||
std::vector<std::string> status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSREQUEST_H_
|
||||
@@ -1,71 +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_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSRESULT_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 DescribeDedicatedBlockStorageClustersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DedicatedBlockStorageCluster
|
||||
{
|
||||
struct DedicatedBlockStorageClusterCapacity
|
||||
{
|
||||
long availableCapacity;
|
||||
long totalCapacity;
|
||||
};
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string zoneId;
|
||||
std::string dedicatedBlockStorageClusterId;
|
||||
std::string expiredTime;
|
||||
std::string createTime;
|
||||
std::string dedicatedBlockStorageClusterName;
|
||||
DedicatedBlockStorageClusterCapacity dedicatedBlockStorageClusterCapacity;
|
||||
};
|
||||
|
||||
|
||||
DescribeDedicatedBlockStorageClustersResult();
|
||||
explicit DescribeDedicatedBlockStorageClustersResult(const std::string &payload);
|
||||
~DescribeDedicatedBlockStorageClustersResult();
|
||||
std::vector<DedicatedBlockStorageCluster> getDedicatedBlockStorageClusters()const;
|
||||
std::string getNextToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DedicatedBlockStorageCluster> dedicatedBlockStorageClusters_;
|
||||
std::string nextToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_DESCRIBEDIAGNOSTICREPORTATTRIBUTESREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDIAGNOSTICREPORTATTRIBUTESREQUEST_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 DescribeDiagnosticReportAttributesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDiagnosticReportAttributesRequest();
|
||||
~DescribeDiagnosticReportAttributesRequest();
|
||||
std::string getReportId() const;
|
||||
void setReportId(const std::string &reportId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string reportId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDIAGNOSTICREPORTATTRIBUTESREQUEST_H_
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* 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_DESCRIBEDIAGNOSTICREPORTATTRIBUTESRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDIAGNOSTICREPORTATTRIBUTESRESULT_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 DescribeDiagnosticReportAttributesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MetricResult
|
||||
{
|
||||
struct Issue
|
||||
{
|
||||
std::string occurrenceTime;
|
||||
std::string additional;
|
||||
std::string severity;
|
||||
std::string issueId;
|
||||
};
|
||||
std::string status;
|
||||
std::string metricId;
|
||||
std::vector<MetricResult::Issue> issues;
|
||||
std::string severity;
|
||||
std::string metricCategory;
|
||||
};
|
||||
|
||||
|
||||
DescribeDiagnosticReportAttributesResult();
|
||||
explicit DescribeDiagnosticReportAttributesResult(const std::string &payload);
|
||||
~DescribeDiagnosticReportAttributesResult();
|
||||
std::string getStatus()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getResourceId()const;
|
||||
std::string getMetricSetId()const;
|
||||
std::vector<MetricResult> getMetricResults()const;
|
||||
std::string getCreationTime()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getAttributes()const;
|
||||
std::string getReportId()const;
|
||||
std::string getResourceType()const;
|
||||
std::string getSeverity()const;
|
||||
std::string getFinishedTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string endTime_;
|
||||
std::string resourceId_;
|
||||
std::string metricSetId_;
|
||||
std::vector<MetricResult> metricResults_;
|
||||
std::string creationTime_;
|
||||
std::string startTime_;
|
||||
std::string attributes_;
|
||||
std::string reportId_;
|
||||
std::string resourceType_;
|
||||
std::string severity_;
|
||||
std::string finishedTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDIAGNOSTICREPORTATTRIBUTESRESULT_H_
|
||||
@@ -34,6 +34,10 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct InstanceType
|
||||
{
|
||||
struct NetworkCardInfo
|
||||
{
|
||||
int networkCardIndex;
|
||||
};
|
||||
long instancePpsTx;
|
||||
std::string nvmeSupport;
|
||||
int primaryEniQueueNumber;
|
||||
@@ -60,6 +64,7 @@ namespace AlibabaCloud
|
||||
int eniTotalQuantity;
|
||||
int cpuCoreCount;
|
||||
int initialCredit;
|
||||
int networkCardQuantity;
|
||||
std::string instanceCategory;
|
||||
int eniQuantity;
|
||||
int gPUAmount;
|
||||
@@ -68,6 +73,7 @@ namespace AlibabaCloud
|
||||
int queuePairNumber;
|
||||
int baselineCredit;
|
||||
std::string instanceFamilyLevel;
|
||||
std::vector<InstanceType::NetworkCardInfo> networkCards;
|
||||
float cpuTurboFrequency;
|
||||
int eniPrivateIpAddressQuantity;
|
||||
};
|
||||
|
||||
@@ -96,11 +96,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
struct Ipv4PrefixSet
|
||||
{
|
||||
std::string ipv4Prefix;
|
||||
};
|
||||
struct Ipv6PrefixSet
|
||||
{
|
||||
std::string ipv6Prefix;
|
||||
};
|
||||
std::string type;
|
||||
std::vector<NetworkInterface::Ipv6Set> ipv6Sets;
|
||||
std::vector<NetworkInterface::Ipv6PrefixSet> ipv6PrefixSets;
|
||||
std::string primaryIpAddress;
|
||||
std::string macAddress;
|
||||
std::string networkInterfaceId;
|
||||
std::vector<NetworkInterface::Ipv4PrefixSet> ipv4PrefixSets;
|
||||
std::vector<NetworkInterface::PrivateIpSet> privateIpSets;
|
||||
};
|
||||
struct LockReason
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setCommandId(const std::string &commandId);
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getContentEncoding() const;
|
||||
@@ -67,6 +69,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string commandId_;
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
long pageSize_;
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setCommandId(const std::string &commandId);
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getContentEncoding() const;
|
||||
@@ -77,6 +79,7 @@ private:
|
||||
bool includeOutput_;
|
||||
std::string commandId_;
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
std::string repeatMode_;
|
||||
|
||||
@@ -78,6 +78,7 @@ namespace AlibabaCloud
|
||||
std::string instanceChargeType;
|
||||
long systemDiskProvisionedIops;
|
||||
int spotDuration;
|
||||
std::string systemDiskEncrypted;
|
||||
std::string systemDiskAutoSnapshotPolicyId;
|
||||
std::string ramRoleName;
|
||||
std::string systemDiskPerformanceLevel;
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
int deviceIndex;
|
||||
std::vector<std::string> memberNetworkInterfaceIds;
|
||||
int networkCardIndex;
|
||||
std::string trunkNetworkInterfaceId;
|
||||
};
|
||||
struct BondInterfaceSpecification
|
||||
@@ -76,6 +77,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
struct Ipv4PrefixSet
|
||||
{
|
||||
std::string ipv4Prefix;
|
||||
};
|
||||
struct Ipv6PrefixSet
|
||||
{
|
||||
std::string ipv6Prefix;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
@@ -110,8 +119,10 @@ namespace AlibabaCloud
|
||||
int getQueuePairNumber()const;
|
||||
int getQueueNumber()const;
|
||||
std::string getVpcId()const;
|
||||
std::vector<Ipv6PrefixSet> getIpv6PrefixSets()const;
|
||||
BondInterfaceSpecification getBondInterfaceSpecification()const;
|
||||
std::string getCreationTime()const;
|
||||
std::vector<Ipv4PrefixSet> getIpv4PrefixSets()const;
|
||||
std::vector<PrivateIpSet> getPrivateIpSets()const;
|
||||
|
||||
protected:
|
||||
@@ -141,8 +152,10 @@ namespace AlibabaCloud
|
||||
int queuePairNumber_;
|
||||
int queueNumber_;
|
||||
std::string vpcId_;
|
||||
std::vector<Ipv6PrefixSet> ipv6PrefixSets_;
|
||||
BondInterfaceSpecification bondInterfaceSpecification_;
|
||||
std::string creationTime_;
|
||||
std::vector<Ipv4PrefixSet> ipv4PrefixSets_;
|
||||
std::vector<PrivateIpSet> privateIpSets_;
|
||||
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string instanceId;
|
||||
int deviceIndex;
|
||||
int networkCardIndex;
|
||||
std::string trunkNetworkInterfaceId;
|
||||
};
|
||||
struct PrivateIpSet
|
||||
@@ -60,6 +61,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
struct Ipv4PrefixSet
|
||||
{
|
||||
std::string ipv4Prefix;
|
||||
};
|
||||
struct Ipv6PrefixSet
|
||||
{
|
||||
std::string ipv6Prefix;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
@@ -88,7 +97,9 @@ namespace AlibabaCloud
|
||||
int queuePairNumber;
|
||||
int queueNumber;
|
||||
std::string vpcId;
|
||||
std::vector<NetworkInterfaceSet::Ipv6PrefixSet> ipv6PrefixSets;
|
||||
std::string creationTime;
|
||||
std::vector<NetworkInterfaceSet::Ipv4PrefixSet> ipv4PrefixSets;
|
||||
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
|
||||
};
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string sourceCidrIp;
|
||||
std::string sourcePrefixListName;
|
||||
std::string ipProtocol;
|
||||
std::string securityGroupRuleId;
|
||||
std::string destCidrIp;
|
||||
std::string destGroupName;
|
||||
std::string ipv6DestCidrIp;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getPageNumber() const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getPageSize() const;
|
||||
@@ -54,6 +56,7 @@ public:
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
long pageSize_;
|
||||
std::string invokeId_;
|
||||
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTaskAction() const;
|
||||
void setTaskAction(const std::string &taskAction);
|
||||
std::vector<std::string> getResourceIds() const;
|
||||
void setResourceIds(const std::vector<std::string> &resourceIds);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string taskAction_;
|
||||
std::vector<std::string> resourceIds_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct Task
|
||||
{
|
||||
std::string taskId;
|
||||
std::string resourceId;
|
||||
std::string supportCancel;
|
||||
std::string taskAction;
|
||||
std::string creationTime;
|
||||
|
||||
@@ -28,22 +28,39 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT InvokeCommandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct SystemTag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
std::string scope;
|
||||
};
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
InvokeCommandRequest();
|
||||
~InvokeCommandRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getContainerName() const;
|
||||
void setContainerName(const std::string &containerName);
|
||||
std::vector<SystemTag> getSystemTag() const;
|
||||
void setSystemTag(const std::vector<SystemTag> &systemTag);
|
||||
std::string getCommandId() const;
|
||||
void setCommandId(const std::string &commandId);
|
||||
long getTimeout() const;
|
||||
void setTimeout(long timeout);
|
||||
std::string getFrequency() const;
|
||||
void setFrequency(const std::string &frequency);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getRepeatMode() const;
|
||||
void setRepeatMode(const std::string &repeatMode);
|
||||
std::string getWindowsPasswordName() const;
|
||||
void setWindowsPasswordName(const std::string &windowsPasswordName);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
bool getTimed() const;
|
||||
void setTimed(bool timed);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -64,11 +81,15 @@ public:
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string containerName_;
|
||||
std::vector<SystemTag> systemTag_;
|
||||
std::string commandId_;
|
||||
long timeout_;
|
||||
std::string frequency_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string repeatMode_;
|
||||
std::string windowsPasswordName_;
|
||||
std::vector<Tag> tag_;
|
||||
bool timed_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~ModifyInstanceMetadataOptionsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getInstanceMetadataTags() const;
|
||||
void setInstanceMetadataTags(const std::string &instanceMetadataTags);
|
||||
int getHttpPutResponseHopLimit() const;
|
||||
void setHttpPutResponseHopLimit(int httpPutResponseHopLimit);
|
||||
std::string getRegionId() const;
|
||||
@@ -49,6 +51,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string instanceMetadataTags_;
|
||||
int httpPutResponseHopLimit_;
|
||||
std::string regionId_;
|
||||
std::string httpEndpoint_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getCouponNo() const;
|
||||
void setCouponNo(const std::string &couponNo);
|
||||
std::string getOperatorType() const;
|
||||
void setOperatorType(const std::string &operatorType);
|
||||
std::string getSystemDiskCategory() const;
|
||||
@@ -64,6 +66,7 @@ public:
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string couponNo_;
|
||||
std::string operatorType_;
|
||||
std::string systemDiskCategory_;
|
||||
std::string rebootTime_;
|
||||
|
||||
@@ -74,6 +74,8 @@ public:
|
||||
void setDestCidrIp(const std::string &destCidrIp);
|
||||
long getDestGroupOwnerId() const;
|
||||
void setDestGroupOwnerId(long destGroupOwnerId);
|
||||
std::string getSecurityGroupRuleId() const;
|
||||
void setSecurityGroupRuleId(const std::string &securityGroupRuleId);
|
||||
|
||||
private:
|
||||
std::string nicType_;
|
||||
@@ -98,6 +100,7 @@ private:
|
||||
std::string destGroupOwnerAccount_;
|
||||
std::string destCidrIp_;
|
||||
long destGroupOwnerId_;
|
||||
std::string securityGroupRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -74,6 +74,8 @@ public:
|
||||
void setDestCidrIp(const std::string &destCidrIp);
|
||||
std::string getSourceGroupId() const;
|
||||
void setSourceGroupId(const std::string &sourceGroupId);
|
||||
std::string getSecurityGroupRuleId() const;
|
||||
void setSecurityGroupRuleId(const std::string &securityGroupRuleId);
|
||||
|
||||
private:
|
||||
std::string nicType_;
|
||||
@@ -98,6 +100,7 @@ private:
|
||||
std::string priority_;
|
||||
std::string destCidrIp_;
|
||||
std::string sourceGroupId_;
|
||||
std::string securityGroupRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -52,6 +52,8 @@ public:
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
int getAutoRenewPeriod() const;
|
||||
void setAutoRenewPeriod(int autoRenewPeriod);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -64,6 +66,8 @@ public:
|
||||
void setPeriodUnit(const std::string &periodUnit);
|
||||
std::string getOfferingType() const;
|
||||
void setOfferingType(const std::string &offeringType);
|
||||
bool getAutoRenew() const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getReservedInstanceName() const;
|
||||
@@ -81,12 +85,14 @@ private:
|
||||
std::string scope_;
|
||||
std::string instanceType_;
|
||||
std::vector<Tag> tag_;
|
||||
int autoRenewPeriod_;
|
||||
int period_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string periodUnit_;
|
||||
std::string offeringType_;
|
||||
bool autoRenew_;
|
||||
std::string zoneId_;
|
||||
std::string reservedInstanceName_;
|
||||
int instanceAmount_;
|
||||
|
||||
@@ -30,24 +30,18 @@ class ALIBABACLOUD_ECS_EXPORT ReleasePublicIpAddressRequest : public RpcServiceR
|
||||
public:
|
||||
ReleasePublicIpAddressRequest();
|
||||
~ReleasePublicIpAddressRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getDryRun() const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getPublicIpAddress() const;
|
||||
void setPublicIpAddress(const std::string &publicIpAddress);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string regionId_;
|
||||
bool dryRun_;
|
||||
std::string publicIpAddress_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
|
||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
||||
ReleasePublicIpAddressResult();
|
||||
explicit ReleasePublicIpAddressResult(const std::string &payload);
|
||||
~ReleasePublicIpAddressResult();
|
||||
std::string getRemainTimes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string remainTimes_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getAutoRenewPeriod() const;
|
||||
void setAutoRenewPeriod(int autoRenewPeriod);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -48,17 +50,21 @@ public:
|
||||
void setPeriodUnit(const std::string &periodUnit);
|
||||
std::vector<std::string> getReservedInstanceId() const;
|
||||
void setReservedInstanceId(const std::vector<std::string> &reservedInstanceId);
|
||||
bool getAutoRenew() const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
int autoRenewPeriod_;
|
||||
int period_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string periodUnit_;
|
||||
std::vector<std::string> reservedInstanceId_;
|
||||
bool autoRenew_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -28,6 +28,11 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT ReplaceSystemDiskRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Arn {
|
||||
std::string rolearn;
|
||||
std::string roleType;
|
||||
long assumeRoleFor;
|
||||
};
|
||||
ReplaceSystemDiskRequest();
|
||||
~ReplaceSystemDiskRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -36,6 +41,8 @@ public:
|
||||
void setImageId(const std::string &imageId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getEncryptAlgorithm() const;
|
||||
void setEncryptAlgorithm(const std::string &encryptAlgorithm);
|
||||
std::string getSecurityEnhancementStrategy() const;
|
||||
void setSecurityEnhancementStrategy(const std::string &securityEnhancementStrategy);
|
||||
std::string getKeyPairName() const;
|
||||
@@ -50,6 +57,8 @@ public:
|
||||
void setPasswordInherit(bool passwordInherit);
|
||||
std::string getDiskId() const;
|
||||
void setDiskId(const std::string &diskId);
|
||||
std::vector<Arn> getArn() const;
|
||||
void setArn(const std::vector<Arn> &arn);
|
||||
std::string getArchitecture() const;
|
||||
void setArchitecture(const std::string &architecture);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -62,6 +71,10 @@ public:
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getSystemDiskSize() const;
|
||||
void setSystemDiskSize(int systemDiskSize);
|
||||
bool getEncrypted() const;
|
||||
void setEncrypted(bool encrypted);
|
||||
std::string getKMSKeyId() const;
|
||||
void setKMSKeyId(const std::string &kMSKeyId);
|
||||
bool getUseAdditionalService() const;
|
||||
void setUseAdditionalService(bool useAdditionalService);
|
||||
|
||||
@@ -69,6 +82,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string imageId_;
|
||||
std::string clientToken_;
|
||||
std::string encryptAlgorithm_;
|
||||
std::string securityEnhancementStrategy_;
|
||||
std::string keyPairName_;
|
||||
std::string platform_;
|
||||
@@ -76,12 +90,15 @@ private:
|
||||
bool loginAsNonRoot_;
|
||||
bool passwordInherit_;
|
||||
std::string diskId_;
|
||||
std::vector<Arn> arn_;
|
||||
std::string architecture_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
int systemDiskSize_;
|
||||
bool encrypted_;
|
||||
std::string kMSKeyId_;
|
||||
bool useAdditionalService_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -93,6 +93,8 @@ public:
|
||||
void setDestCidrIp(const std::string &destCidrIp);
|
||||
long getDestGroupOwnerId() const;
|
||||
void setDestGroupOwnerId(long destGroupOwnerId);
|
||||
std::vector<std::string> getSecurityGroupRuleId() const;
|
||||
void setSecurityGroupRuleId(const std::vector<std::string> &securityGroupRuleId);
|
||||
|
||||
private:
|
||||
std::string nicType_;
|
||||
@@ -118,6 +120,7 @@ private:
|
||||
std::string destGroupOwnerAccount_;
|
||||
std::string destCidrIp_;
|
||||
long destGroupOwnerId_;
|
||||
std::vector<std::string> securityGroupRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -93,6 +93,8 @@ public:
|
||||
void setDestCidrIp(const std::string &destCidrIp);
|
||||
std::string getSourceGroupId() const;
|
||||
void setSourceGroupId(const std::string &sourceGroupId);
|
||||
std::vector<std::string> getSecurityGroupRuleId() const;
|
||||
void setSecurityGroupRuleId(const std::vector<std::string> &securityGroupRuleId);
|
||||
|
||||
private:
|
||||
std::string nicType_;
|
||||
@@ -118,6 +120,7 @@ private:
|
||||
std::string priority_;
|
||||
std::string destCidrIp_;
|
||||
std::string sourceGroupId_;
|
||||
std::vector<std::string> securityGroupRuleId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
|
||||
@@ -50,6 +50,8 @@ public:
|
||||
void setTimeout(long timeout);
|
||||
std::string getFrequency() const;
|
||||
void setFrequency(const std::string &frequency);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getContentEncoding() const;
|
||||
@@ -92,6 +94,7 @@ private:
|
||||
std::string commandContent_;
|
||||
long timeout_;
|
||||
std::string frequency_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
std::string repeatMode_;
|
||||
|
||||
@@ -59,6 +59,7 @@ public:
|
||||
long queuePairNumber;
|
||||
std::string instanceType;
|
||||
long ipv6AddressCount;
|
||||
int networkCardIndex;
|
||||
};
|
||||
struct DataDisk {
|
||||
std::string performanceLevel;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setTimeout(long timeout);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getFileOwner() const;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::string description_;
|
||||
long timeout_;
|
||||
std::string content_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string fileOwner_;
|
||||
bool overwrite_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~UnassignIpv6AddressesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getIpv6Prefix() const;
|
||||
void setIpv6Prefix(const std::vector<std::string> &ipv6Prefix);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -47,6 +49,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> ipv6Prefix_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~UnassignPrivateIpAddressesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getIpv4Prefix() const;
|
||||
void setIpv4Prefix(const std::vector<std::string> &ipv4Prefix);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -47,6 +49,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> ipv4Prefix_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
Reference in New Issue
Block a user