Supported Eni Trunking.
This commit is contained in:
@@ -294,6 +294,8 @@
|
||||
#include "model/DescribeLimitationResult.h"
|
||||
#include "model/DescribeNatGatewaysRequest.h"
|
||||
#include "model/DescribeNatGatewaysResult.h"
|
||||
#include "model/DescribeNetworkInterfaceAttributeRequest.h"
|
||||
#include "model/DescribeNetworkInterfaceAttributeResult.h"
|
||||
#include "model/DescribeNetworkInterfacePermissionsRequest.h"
|
||||
#include "model/DescribeNetworkInterfacePermissionsResult.h"
|
||||
#include "model/DescribeNetworkInterfacesRequest.h"
|
||||
@@ -1005,6 +1007,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeNatGatewaysResult> DescribeNatGatewaysOutcome;
|
||||
typedef std::future<DescribeNatGatewaysOutcome> DescribeNatGatewaysOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeNatGatewaysRequest&, const DescribeNatGatewaysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNatGatewaysAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNetworkInterfaceAttributeResult> DescribeNetworkInterfaceAttributeOutcome;
|
||||
typedef std::future<DescribeNetworkInterfaceAttributeOutcome> DescribeNetworkInterfaceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeNetworkInterfaceAttributeRequest&, const DescribeNetworkInterfaceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNetworkInterfaceAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNetworkInterfacePermissionsResult> DescribeNetworkInterfacePermissionsOutcome;
|
||||
typedef std::future<DescribeNetworkInterfacePermissionsOutcome> DescribeNetworkInterfacePermissionsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeNetworkInterfacePermissionsRequest&, const DescribeNetworkInterfacePermissionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNetworkInterfacePermissionsAsyncHandler;
|
||||
@@ -1859,6 +1864,9 @@ namespace AlibabaCloud
|
||||
DescribeNatGatewaysOutcome describeNatGateways(const Model::DescribeNatGatewaysRequest &request)const;
|
||||
void describeNatGatewaysAsync(const Model::DescribeNatGatewaysRequest& request, const DescribeNatGatewaysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNatGatewaysOutcomeCallable describeNatGatewaysCallable(const Model::DescribeNatGatewaysRequest& request) const;
|
||||
DescribeNetworkInterfaceAttributeOutcome describeNetworkInterfaceAttribute(const Model::DescribeNetworkInterfaceAttributeRequest &request)const;
|
||||
void describeNetworkInterfaceAttributeAsync(const Model::DescribeNetworkInterfaceAttributeRequest& request, const DescribeNetworkInterfaceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNetworkInterfaceAttributeOutcomeCallable describeNetworkInterfaceAttributeCallable(const Model::DescribeNetworkInterfaceAttributeRequest& request) const;
|
||||
DescribeNetworkInterfacePermissionsOutcome describeNetworkInterfacePermissions(const Model::DescribeNetworkInterfacePermissionsRequest &request)const;
|
||||
void describeNetworkInterfacePermissionsAsync(const Model::DescribeNetworkInterfacePermissionsRequest& request, const DescribeNetworkInterfacePermissionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNetworkInterfacePermissionsOutcomeCallable describeNetworkInterfacePermissionsCallable(const Model::DescribeNetworkInterfacePermissionsRequest& request) const;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTrunkNetworkInstanceId()const;
|
||||
void setTrunkNetworkInstanceId(const std::string& trunkNetworkInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string trunkNetworkInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getCopiedSnapshotsRetentionDays()const;
|
||||
void setCopiedSnapshotsRetentionDays(int copiedSnapshotsRetentionDays);
|
||||
std::string getTimePoints()const;
|
||||
void setTimePoints(const std::string& timePoints);
|
||||
std::string getRepeatWeekdays()const;
|
||||
@@ -51,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
bool getEnableCrossRegionCopy()const;
|
||||
void setEnableCrossRegionCopy(bool enableCrossRegionCopy);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -59,17 +63,22 @@ namespace AlibabaCloud
|
||||
void setAutoSnapshotPolicyName(const std::string& autoSnapshotPolicyName);
|
||||
int getRetentionDays()const;
|
||||
void setRetentionDays(int retentionDays);
|
||||
std::string getTargetCopyRegions()const;
|
||||
void setTargetCopyRegions(const std::string& targetCopyRegions);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int copiedSnapshotsRetentionDays_;
|
||||
std::string timePoints_;
|
||||
std::string repeatWeekdays_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
bool enableCrossRegionCopy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string autoSnapshotPolicyName_;
|
||||
int retentionDays_;
|
||||
std::string targetCopyRegions_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ namespace AlibabaCloud
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
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;
|
||||
@@ -87,6 +89,7 @@ namespace AlibabaCloud
|
||||
std::string businessType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string networkInterfaceName_;
|
||||
bool visible_;
|
||||
|
||||
@@ -42,14 +42,17 @@ namespace AlibabaCloud
|
||||
std::string status;
|
||||
std::string timePoints;
|
||||
int volumeNums;
|
||||
std::string creationTime;
|
||||
std::string autoSnapshotPolicyId;
|
||||
int retentionDays;
|
||||
std::string regionId;
|
||||
std::string repeatWeekdays;
|
||||
int diskNums;
|
||||
int copiedSnapshotsRetentionDays;
|
||||
std::string targetCopyRegions;
|
||||
bool enableCrossRegionCopy;
|
||||
std::string creationTime;
|
||||
std::string regionId;
|
||||
std::string autoSnapshotPolicyName;
|
||||
std::vector<AutoSnapshotPolicy::Tag> tags;
|
||||
int diskNums;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
EventType eventType;
|
||||
std::string eventTime;
|
||||
std::string impactLevel;
|
||||
std::string eventId;
|
||||
std::string eventEndTime;
|
||||
};
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setEventCycleStatus(const std::string& eventCycleStatus);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getImpactLevel()const;
|
||||
void setImpactLevel(const std::string& impactLevel);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
@@ -75,6 +77,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string eventCycleStatus_;
|
||||
int pageNumber_;
|
||||
std::string impactLevel_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::vector<std::string> instanceEventCycleStatus_;
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string eventPublishTime;
|
||||
EventType eventType;
|
||||
std::string instanceId;
|
||||
std::string impactLevel;
|
||||
ExtendedAttribute extendedAttribute;
|
||||
std::string eventId;
|
||||
std::string notBefore;
|
||||
|
||||
@@ -40,6 +40,8 @@ namespace AlibabaCloud
|
||||
int cpuCoreCount;
|
||||
long localStorageCapacity;
|
||||
int totalEniQueueQuantity;
|
||||
int eniTotalQuantity;
|
||||
bool eniTrunkSupported;
|
||||
std::string instanceTypeFamily;
|
||||
long instancePpsRx;
|
||||
int initialCredit;
|
||||
|
||||
@@ -73,6 +73,7 @@ namespace AlibabaCloud
|
||||
EventCycleStatus eventCycleStatus;
|
||||
std::string eventPublishTime;
|
||||
EventType eventType;
|
||||
std::string impactLevel;
|
||||
ExtendedAttribute extendedAttribute;
|
||||
std::string eventId;
|
||||
std::string notBefore;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContentEncoding()const;
|
||||
void setContentEncoding(const std::string& contentEncoding);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getInvokeId()const;
|
||||
@@ -65,6 +67,7 @@ namespace AlibabaCloud
|
||||
std::string commandId_;
|
||||
long pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string contentEncoding_;
|
||||
long pageSize_;
|
||||
std::string invokeId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -36,14 +36,20 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct InvocationResult
|
||||
{
|
||||
int dropped;
|
||||
std::string invocationStatus;
|
||||
std::string instanceId;
|
||||
std::string output;
|
||||
long exitCode;
|
||||
std::string errorInfo;
|
||||
std::string startTime;
|
||||
std::string commandId;
|
||||
int repeats;
|
||||
std::string invokeRecordStatus;
|
||||
std::string finishedTime;
|
||||
std::string output;
|
||||
std::string commandId;
|
||||
std::string errorCode;
|
||||
std::string invokeId;
|
||||
std::string stopTime;
|
||||
};
|
||||
std::vector<InvocationResult> invocationResults;
|
||||
long totalCount;
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string stopTime;
|
||||
};
|
||||
std::string commandContent;
|
||||
std::string invocationStatus;
|
||||
std::string invokeStatus;
|
||||
std::string parameters;
|
||||
std::string commandType;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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_DESCRIBENETWORKINTERFACEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBENETWORKINTERFACEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeNetworkInterfaceAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeNetworkInterfaceAttributeRequest();
|
||||
~DescribeNetworkInterfaceAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getAttribute()const;
|
||||
void setAttribute(const std::string& attribute);
|
||||
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 getNetworkInterfaceId()const;
|
||||
void setNetworkInterfaceId(const std::string& networkInterfaceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string attribute_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string networkInterfaceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBENETWORKINTERFACEATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* 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_DESCRIBENETWORKINTERFACEATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBENETWORKINTERFACEATTRIBUTERESULT_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 DescribeNetworkInterfaceAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AssociatedPublicIp
|
||||
{
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
struct Attachment
|
||||
{
|
||||
std::string instanceId;
|
||||
int deviceIndex;
|
||||
std::vector<std::string> memberNetworkInterfaceIds;
|
||||
std::string trunkNetworkInterfaceId;
|
||||
};
|
||||
struct PrivateIpSet
|
||||
{
|
||||
struct AssociatedPublicIp1
|
||||
{
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
AssociatedPublicIp1 associatedPublicIp1;
|
||||
std::string privateIpAddress;
|
||||
bool primary;
|
||||
};
|
||||
struct Ipv6Set
|
||||
{
|
||||
std::string ipv6Address;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
DescribeNetworkInterfaceAttributeResult();
|
||||
explicit DescribeNetworkInterfaceAttributeResult(const std::string &payload);
|
||||
~DescribeNetworkInterfaceAttributeResult();
|
||||
std::string getStatus()const;
|
||||
std::string getPrivateIpAddress()const;
|
||||
std::string getDescription()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getResourceGroupId()const;
|
||||
bool getServiceManaged()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getVSwitchId()const;
|
||||
std::string getNetworkInterfaceName()const;
|
||||
Attachment getAttachment()const;
|
||||
std::string getNetworkInterfaceId()const;
|
||||
std::string getMacAddress()const;
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
long getServiceID()const;
|
||||
std::string getType()const;
|
||||
std::vector<Ipv6Set> getIpv6Sets()const;
|
||||
int getQueueNumber()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getOwnerId()const;
|
||||
AssociatedPublicIp getAssociatedPublicIp()const;
|
||||
std::string getCreationTime()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
std::vector<PrivateIpSet> getPrivateIpSets()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string privateIpAddress_;
|
||||
std::string description_;
|
||||
std::string zoneId_;
|
||||
std::string resourceGroupId_;
|
||||
bool serviceManaged_;
|
||||
std::string instanceId_;
|
||||
std::string vSwitchId_;
|
||||
std::string networkInterfaceName_;
|
||||
Attachment attachment_;
|
||||
std::string networkInterfaceId_;
|
||||
std::string macAddress_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
long serviceID_;
|
||||
std::string type_;
|
||||
std::vector<Ipv6Set> ipv6Sets_;
|
||||
int queueNumber_;
|
||||
std::string vpcId_;
|
||||
std::string ownerId_;
|
||||
AssociatedPublicIp associatedPublicIp_;
|
||||
std::string creationTime_;
|
||||
std::vector<Tag> tags_;
|
||||
std::vector<PrivateIpSet> privateIpSets_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBENETWORKINTERFACEATTRIBUTERESULT_H_
|
||||
@@ -39,6 +39,12 @@ namespace AlibabaCloud
|
||||
std::string publicIpAddress;
|
||||
std::string allocationId;
|
||||
};
|
||||
struct Attachment
|
||||
{
|
||||
std::string instanceId;
|
||||
int deviceIndex;
|
||||
std::string trunkNetworkInterfaceId;
|
||||
};
|
||||
struct PrivateIpSet
|
||||
{
|
||||
struct AssociatedPublicIp1
|
||||
@@ -68,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
std::string vSwitchId;
|
||||
std::string networkInterfaceName;
|
||||
Attachment attachment;
|
||||
std::string networkInterfaceId;
|
||||
std::string macAddress;
|
||||
std::vector<std::string> securityGroupIds;
|
||||
|
||||
@@ -73,6 +73,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityGroupIds()const;
|
||||
void setSecurityGroupIds(const std::string& securityGroupIds);
|
||||
std::string getSecurityGroupType()const;
|
||||
void setSecurityGroupType(const std::string& securityGroupType);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
|
||||
@@ -93,6 +95,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string securityGroupIds_;
|
||||
std::string securityGroupType_;
|
||||
std::string vpcId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -44,11 +44,13 @@ namespace AlibabaCloud
|
||||
std::string securityGroupName;
|
||||
std::string vpcId;
|
||||
std::string resourceGroupId;
|
||||
bool serviceManaged;
|
||||
std::string securityGroupId;
|
||||
std::string creationTime;
|
||||
std::string securityGroupType;
|
||||
std::vector<SecurityGroup::Tag> tags;
|
||||
int availableInstanceAmount;
|
||||
long serviceID;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -89,6 +89,8 @@ namespace AlibabaCloud
|
||||
void setSnapshotType(const std::string& snapshotType);
|
||||
std::string getKMSKeyId()const;
|
||||
void setKMSKeyId(const std::string& kMSKeyId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
@@ -117,6 +119,7 @@ namespace AlibabaCloud
|
||||
bool encrypted_;
|
||||
std::string snapshotType_;
|
||||
std::string kMSKeyId_;
|
||||
std::string category_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTrunkNetworkInstanceId()const;
|
||||
void setTrunkNetworkInstanceId(const std::string& trunkNetworkInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string regionId_;
|
||||
std::string trunkNetworkInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -39,12 +39,16 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAutoSnapshotPolicyId()const;
|
||||
void setAutoSnapshotPolicyId(const std::string& autoSnapshotPolicyId);
|
||||
int getCopiedSnapshotsRetentionDays()const;
|
||||
void setCopiedSnapshotsRetentionDays(int copiedSnapshotsRetentionDays);
|
||||
std::string getTimePoints()const;
|
||||
void setTimePoints(const std::string& timePoints);
|
||||
std::string getRepeatWeekdays()const;
|
||||
void setRepeatWeekdays(const std::string& repeatWeekdays);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnableCrossRegionCopy()const;
|
||||
void setEnableCrossRegionCopy(bool enableCrossRegionCopy);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -53,17 +57,22 @@ namespace AlibabaCloud
|
||||
void setAutoSnapshotPolicyName(const std::string& autoSnapshotPolicyName);
|
||||
int getRetentionDays()const;
|
||||
void setRetentionDays(int retentionDays);
|
||||
std::string getTargetCopyRegions()const;
|
||||
void setTargetCopyRegions(const std::string& targetCopyRegions);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string autoSnapshotPolicyId_;
|
||||
int copiedSnapshotsRetentionDays_;
|
||||
std::string timePoints_;
|
||||
std::string repeatWeekdays_;
|
||||
std::string regionId_;
|
||||
bool enableCrossRegionCopy_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string autoSnapshotPolicyName_;
|
||||
int retentionDays_;
|
||||
std::string targetCopyRegions_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,8 +37,12 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDiskCategory()const;
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
std::string getDiskId()const;
|
||||
void setDiskId(const std::string& diskId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPerformanceLevel()const;
|
||||
@@ -50,7 +54,9 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string diskCategory_;
|
||||
std::string diskId_;
|
||||
bool dryRun_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string performanceLevel_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -37,10 +37,12 @@ namespace AlibabaCloud
|
||||
ModifyDiskSpecResult();
|
||||
explicit ModifyDiskSpecResult(const std::string &payload);
|
||||
~ModifyDiskSpecResult();
|
||||
std::string getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setImageId(const std::string& imageId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getBootMode()const;
|
||||
void setBootMode(const std::string& bootMode);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getImageName()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string imageId_;
|
||||
std::string description_;
|
||||
std::string bootMode_;
|
||||
std::string regionId_;
|
||||
std::string imageName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<std::string> getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::vector<std::string>& securityGroupId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -49,15 +51,19 @@ namespace AlibabaCloud
|
||||
void setPrivateIpAddress(const std::string& privateIpAddress);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<std::string> securityGroupId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string instanceId_;
|
||||
std::string vpcId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user