Support TagPolicy Verify NoTag.
This commit is contained in:
@@ -392,6 +392,8 @@
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeRenewalPriceRequest.h"
|
||||
#include "model/DescribeRenewalPriceResult.h"
|
||||
#include "model/DescribeReservedInstanceAutoRenewAttributeRequest.h"
|
||||
#include "model/DescribeReservedInstanceAutoRenewAttributeResult.h"
|
||||
#include "model/DescribeReservedInstancesRequest.h"
|
||||
#include "model/DescribeReservedInstancesResult.h"
|
||||
#include "model/DescribeResourceByTagsRequest.h"
|
||||
@@ -590,6 +592,8 @@
|
||||
#include "model/ModifyPrepayInstanceSpecResult.h"
|
||||
#include "model/ModifyReservedInstanceAttributeRequest.h"
|
||||
#include "model/ModifyReservedInstanceAttributeResult.h"
|
||||
#include "model/ModifyReservedInstanceAutoRenewAttributeRequest.h"
|
||||
#include "model/ModifyReservedInstanceAutoRenewAttributeResult.h"
|
||||
#include "model/ModifyReservedInstancesRequest.h"
|
||||
#include "model/ModifyReservedInstancesResult.h"
|
||||
#include "model/ModifyRouterInterfaceAttributeRequest.h"
|
||||
@@ -1274,6 +1278,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRenewalPriceResult> DescribeRenewalPriceOutcome;
|
||||
typedef std::future<DescribeRenewalPriceOutcome> DescribeRenewalPriceOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeRenewalPriceRequest&, const DescribeRenewalPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRenewalPriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeReservedInstanceAutoRenewAttributeResult> DescribeReservedInstanceAutoRenewAttributeOutcome;
|
||||
typedef std::future<DescribeReservedInstanceAutoRenewAttributeOutcome> DescribeReservedInstanceAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeReservedInstanceAutoRenewAttributeRequest&, const DescribeReservedInstanceAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeReservedInstanceAutoRenewAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeReservedInstancesResult> DescribeReservedInstancesOutcome;
|
||||
typedef std::future<DescribeReservedInstancesOutcome> DescribeReservedInstancesOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeReservedInstancesRequest&, const DescribeReservedInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeReservedInstancesAsyncHandler;
|
||||
@@ -1571,6 +1578,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyReservedInstanceAttributeResult> ModifyReservedInstanceAttributeOutcome;
|
||||
typedef std::future<ModifyReservedInstanceAttributeOutcome> ModifyReservedInstanceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyReservedInstanceAttributeRequest&, const ModifyReservedInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyReservedInstanceAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyReservedInstanceAutoRenewAttributeResult> ModifyReservedInstanceAutoRenewAttributeOutcome;
|
||||
typedef std::future<ModifyReservedInstanceAutoRenewAttributeOutcome> ModifyReservedInstanceAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyReservedInstanceAutoRenewAttributeRequest&, const ModifyReservedInstanceAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyReservedInstanceAutoRenewAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyReservedInstancesResult> ModifyReservedInstancesOutcome;
|
||||
typedef std::future<ModifyReservedInstancesOutcome> ModifyReservedInstancesOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyReservedInstancesRequest&, const ModifyReservedInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyReservedInstancesAsyncHandler;
|
||||
@@ -2311,6 +2321,9 @@ namespace AlibabaCloud
|
||||
DescribeRenewalPriceOutcome describeRenewalPrice(const Model::DescribeRenewalPriceRequest &request)const;
|
||||
void describeRenewalPriceAsync(const Model::DescribeRenewalPriceRequest& request, const DescribeRenewalPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRenewalPriceOutcomeCallable describeRenewalPriceCallable(const Model::DescribeRenewalPriceRequest& request) const;
|
||||
DescribeReservedInstanceAutoRenewAttributeOutcome describeReservedInstanceAutoRenewAttribute(const Model::DescribeReservedInstanceAutoRenewAttributeRequest &request)const;
|
||||
void describeReservedInstanceAutoRenewAttributeAsync(const Model::DescribeReservedInstanceAutoRenewAttributeRequest& request, const DescribeReservedInstanceAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeReservedInstanceAutoRenewAttributeOutcomeCallable describeReservedInstanceAutoRenewAttributeCallable(const Model::DescribeReservedInstanceAutoRenewAttributeRequest& request) const;
|
||||
DescribeReservedInstancesOutcome describeReservedInstances(const Model::DescribeReservedInstancesRequest &request)const;
|
||||
void describeReservedInstancesAsync(const Model::DescribeReservedInstancesRequest& request, const DescribeReservedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeReservedInstancesOutcomeCallable describeReservedInstancesCallable(const Model::DescribeReservedInstancesRequest& request) const;
|
||||
@@ -2608,6 +2621,9 @@ namespace AlibabaCloud
|
||||
ModifyReservedInstanceAttributeOutcome modifyReservedInstanceAttribute(const Model::ModifyReservedInstanceAttributeRequest &request)const;
|
||||
void modifyReservedInstanceAttributeAsync(const Model::ModifyReservedInstanceAttributeRequest& request, const ModifyReservedInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyReservedInstanceAttributeOutcomeCallable modifyReservedInstanceAttributeCallable(const Model::ModifyReservedInstanceAttributeRequest& request) const;
|
||||
ModifyReservedInstanceAutoRenewAttributeOutcome modifyReservedInstanceAutoRenewAttribute(const Model::ModifyReservedInstanceAutoRenewAttributeRequest &request)const;
|
||||
void modifyReservedInstanceAutoRenewAttributeAsync(const Model::ModifyReservedInstanceAutoRenewAttributeRequest& request, const ModifyReservedInstanceAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyReservedInstanceAutoRenewAttributeOutcomeCallable modifyReservedInstanceAutoRenewAttributeCallable(const Model::ModifyReservedInstanceAutoRenewAttributeRequest& request) const;
|
||||
ModifyReservedInstancesOutcome modifyReservedInstances(const Model::ModifyReservedInstancesRequest &request)const;
|
||||
void modifyReservedInstancesAsync(const Model::ModifyReservedInstancesRequest& request, const ModifyReservedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyReservedInstancesOutcomeCallable modifyReservedInstancesCallable(const Model::ModifyReservedInstancesRequest& request) const;
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateActivationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
CreateActivationRequest();
|
||||
~CreateActivationRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -38,6 +42,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getInstanceCount() const;
|
||||
void setInstanceCount(int instanceCount);
|
||||
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;
|
||||
@@ -56,6 +62,7 @@ private:
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
int instanceCount_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -62,6 +62,9 @@ public:
|
||||
int priority;
|
||||
std::string instanceType;
|
||||
double weightedCapacity;
|
||||
int maxQuantity;
|
||||
std::string instanceFamilyLevel;
|
||||
std::string burstablePerformance;
|
||||
};
|
||||
struct LaunchConfigurationTag {
|
||||
std::string key;
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeActivationsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
DescribeActivationsRequest();
|
||||
~DescribeActivationsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -38,6 +42,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
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;
|
||||
@@ -54,6 +60,7 @@ private:
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Activation
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string instanceName;
|
||||
int deregisteredCount;
|
||||
int instanceCount;
|
||||
@@ -44,6 +49,7 @@ namespace AlibabaCloud
|
||||
long timeToLiveInHours;
|
||||
bool disabled;
|
||||
std::string ipAddressRange;
|
||||
std::vector<Activation::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setDedicatedHostIds(const std::string &dedicatedHostIds);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSocketDetails() const;
|
||||
void setSocketDetails(const std::string &socketDetails);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getResourceGroupId() const;
|
||||
@@ -72,6 +74,7 @@ public:
|
||||
private:
|
||||
std::string dedicatedHostIds_;
|
||||
long resourceOwnerId_;
|
||||
std::string socketDetails_;
|
||||
int pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string lockReason_;
|
||||
|
||||
@@ -36,9 +36,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Capacity
|
||||
{
|
||||
struct SocketCapacity
|
||||
{
|
||||
int socketId;
|
||||
float availableMemory;
|
||||
float totalMemory;
|
||||
int totalVcpu;
|
||||
int availableVcpu;
|
||||
};
|
||||
std::string localStorageCategory;
|
||||
int availableVgpus;
|
||||
int totalVgpus;
|
||||
std::vector<SocketCapacity> socketCapacities;
|
||||
float availableMemory;
|
||||
float totalMemory;
|
||||
int availableVcpus;
|
||||
@@ -58,6 +67,7 @@ namespace AlibabaCloud
|
||||
struct Instance
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string socketId;
|
||||
std::string instanceType;
|
||||
};
|
||||
struct OperationLock
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeManagedInstancesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
DescribeManagedInstancesRequest();
|
||||
~DescribeManagedInstancesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -38,6 +42,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
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;
|
||||
@@ -60,6 +66,7 @@ private:
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string osType_;
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string machineId;
|
||||
bool connected;
|
||||
std::string instanceId;
|
||||
@@ -48,6 +53,7 @@ namespace AlibabaCloud
|
||||
std::string internetIp;
|
||||
std::string osType;
|
||||
std::string lastInvokedTime;
|
||||
std::vector<Instance::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -93,6 +93,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getScope() const;
|
||||
void setScope(const std::string &scope);
|
||||
std::string getSchedulerOptionsDedicatedHostId() const;
|
||||
void setSchedulerOptionsDedicatedHostId(const std::string &schedulerOptionsDedicatedHostId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::string getDedicatedHostType() const;
|
||||
@@ -154,6 +156,7 @@ private:
|
||||
std::string dataDisk4PerformanceLevel_;
|
||||
std::string regionId_;
|
||||
std::string scope_;
|
||||
std::string schedulerOptionsDedicatedHostId_;
|
||||
std::string instanceType_;
|
||||
std::string dedicatedHostType_;
|
||||
std::string dataDisk2Category_;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_DESCRIBERESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBERESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_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 DescribeReservedInstanceAutoRenewAttributeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeReservedInstanceAutoRenewAttributeRequest();
|
||||
~DescribeReservedInstanceAutoRenewAttributeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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::vector<std::string> getReservedInstanceId() const;
|
||||
void setReservedInstanceId(const std::vector<std::string> &reservedInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> reservedInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBERESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_DESCRIBERESERVEDINSTANCEAUTORENEWATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBERESERVEDINSTANCEAUTORENEWATTRIBUTERESULT_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 DescribeReservedInstanceAutoRenewAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ReservedInstanceRenewAttribute
|
||||
{
|
||||
std::string renewalStatus;
|
||||
std::string reservedInstanceId;
|
||||
int duration;
|
||||
std::string periodUnit;
|
||||
};
|
||||
|
||||
|
||||
DescribeReservedInstanceAutoRenewAttributeResult();
|
||||
explicit DescribeReservedInstanceAutoRenewAttributeResult(const std::string &payload);
|
||||
~DescribeReservedInstanceAutoRenewAttributeResult();
|
||||
std::vector<ReservedInstanceRenewAttribute> getReservedInstanceRenewAttributes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ReservedInstanceRenewAttribute> reservedInstanceRenewAttributes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBERESERVEDINSTANCEAUTORENEWATTRIBUTERESULT_H_
|
||||
@@ -28,6 +28,10 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSendFileResultsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
DescribeSendFileResultsRequest();
|
||||
~DescribeSendFileResultsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -40,6 +44,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getInvokeId() const;
|
||||
void setInvokeId(const std::string &invokeId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -59,6 +65,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
long pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string invokeId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -45,6 +45,11 @@ namespace AlibabaCloud
|
||||
std::string updateTime;
|
||||
std::string errorCode;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string fileMode;
|
||||
std::string invocationStatus;
|
||||
std::string overwrite;
|
||||
@@ -58,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string name;
|
||||
std::string content;
|
||||
std::string creationTime;
|
||||
std::vector<Invocation::Tag> tags;
|
||||
std::string invokeId;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_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 ModifyReservedInstanceAutoRenewAttributeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyReservedInstanceAutoRenewAttributeRequest();
|
||||
~ModifyReservedInstanceAutoRenewAttributeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getRenewalStatus() const;
|
||||
void setRenewalStatus(const std::string &renewalStatus);
|
||||
int getPeriod() const;
|
||||
void setPeriod(int period);
|
||||
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::vector<std::string> getReservedInstanceId() const;
|
||||
void setReservedInstanceId(const std::vector<std::string> &reservedInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string renewalStatus_;
|
||||
int period_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string periodUnit_;
|
||||
std::vector<std::string> reservedInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Ecs
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTERESULT_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 ModifyReservedInstanceAutoRenewAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyReservedInstanceAutoRenewAttributeResult();
|
||||
explicit ModifyReservedInstanceAutoRenewAttributeResult(const std::string &payload);
|
||||
~ModifyReservedInstanceAutoRenewAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYRESERVEDINSTANCEAUTORENEWATTRIBUTERESULT_H_
|
||||
@@ -39,6 +39,11 @@ public:
|
||||
struct ImageOptions {
|
||||
bool loginAsNonRoot;
|
||||
};
|
||||
struct SystemTag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
std::string scope;
|
||||
};
|
||||
struct Arn {
|
||||
std::string roleType;
|
||||
std::string rolearn;
|
||||
@@ -134,6 +139,8 @@ public:
|
||||
void setSpotInterruptionBehavior(const std::string &spotInterruptionBehavior);
|
||||
int getNetworkInterfaceQueueNumber() const;
|
||||
void setNetworkInterfaceQueueNumber(int networkInterfaceQueueNumber);
|
||||
std::vector<SystemTag> getSystemTag() const;
|
||||
void setSystemTag(const std::vector<SystemTag> &systemTag);
|
||||
std::string getIoOptimized() const;
|
||||
void setIoOptimized(const std::string &ioOptimized);
|
||||
std::string getSecurityGroupId() const;
|
||||
@@ -283,6 +290,7 @@ private:
|
||||
std::string imageId_;
|
||||
std::string spotInterruptionBehavior_;
|
||||
int networkInterfaceQueueNumber_;
|
||||
std::vector<SystemTag> systemTag_;
|
||||
std::string ioOptimized_;
|
||||
std::string securityGroupId_;
|
||||
bool hibernationOptionsConfigured_;
|
||||
|
||||
@@ -28,6 +28,10 @@ namespace Ecs {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ECS_EXPORT SendFileRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
SendFileRequest();
|
||||
~SendFileRequest();
|
||||
long getResourceOwnerId() const;
|
||||
@@ -44,6 +48,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getFileOwner() const;
|
||||
void setFileOwner(const std::string &fileOwner);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
bool getOverwrite() const;
|
||||
void setOverwrite(bool overwrite);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -73,6 +79,7 @@ private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string fileOwner_;
|
||||
std::vector<Tag> tag_;
|
||||
bool overwrite_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
Reference in New Issue
Block a user