Update HDENI and LENI API.

This commit is contained in:
sdk-team
2024-05-06 08:43:09 +00:00
parent ac7c0da065
commit cbe97f842a
52 changed files with 1667 additions and 13 deletions

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "EfloExport.h"
#include "model/AssignLeniPrivateIpAddressRequest.h"
#include "model/AssignLeniPrivateIpAddressResult.h"
#include "model/AssignPrivateIpAddressRequest.h"
#include "model/AssignPrivateIpAddressResult.h"
#include "model/AssociateVpdCidrBlockRequest.h"
@@ -78,6 +80,8 @@
#include "model/GetErRouteMapResult.h"
#include "model/GetFabricTopologyRequest.h"
#include "model/GetFabricTopologyResult.h"
#include "model/GetLeniPrivateIpAddressRequest.h"
#include "model/GetLeniPrivateIpAddressResult.h"
#include "model/GetLniPrivateIpAddressRequest.h"
#include "model/GetLniPrivateIpAddressResult.h"
#include "model/GetNetworkInterfaceRequest.h"
@@ -112,6 +116,8 @@
#include "model/ListErsResult.h"
#include "model/ListInstancesByNcdRequest.h"
#include "model/ListInstancesByNcdResult.h"
#include "model/ListLeniPrivateIpAddressesRequest.h"
#include "model/ListLeniPrivateIpAddressesResult.h"
#include "model/ListLniPrivateIpAddressRequest.h"
#include "model/ListLniPrivateIpAddressResult.h"
#include "model/ListNetworkInterfacesRequest.h"
@@ -138,6 +144,8 @@
#include "model/UnAssignPrivateIpAddressResult.h"
#include "model/UnAssociateVpdCidrBlockRequest.h"
#include "model/UnAssociateVpdCidrBlockResult.h"
#include "model/UnassignLeniPrivateIpAddressRequest.h"
#include "model/UnassignLeniPrivateIpAddressResult.h"
#include "model/UpdateElasticNetworkInterfaceRequest.h"
#include "model/UpdateElasticNetworkInterfaceResult.h"
#include "model/UpdateErRequest.h"
@@ -146,6 +154,8 @@
#include "model/UpdateErAttachmentResult.h"
#include "model/UpdateErRouteMapRequest.h"
#include "model/UpdateErRouteMapResult.h"
#include "model/UpdateLeniPrivateIpAddressRequest.h"
#include "model/UpdateLeniPrivateIpAddressResult.h"
#include "model/UpdateSubnetRequest.h"
#include "model/UpdateSubnetResult.h"
#include "model/UpdateVccRequest.h"
@@ -161,6 +171,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_EFLO_EXPORT EfloClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AssignLeniPrivateIpAddressResult> AssignLeniPrivateIpAddressOutcome;
typedef std::future<AssignLeniPrivateIpAddressOutcome> AssignLeniPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::AssignLeniPrivateIpAddressRequest&, const AssignLeniPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignLeniPrivateIpAddressAsyncHandler;
typedef Outcome<Error, Model::AssignPrivateIpAddressResult> AssignPrivateIpAddressOutcome;
typedef std::future<AssignPrivateIpAddressOutcome> AssignPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::AssignPrivateIpAddressRequest&, const AssignPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AssignPrivateIpAddressAsyncHandler;
@@ -245,6 +258,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetFabricTopologyResult> GetFabricTopologyOutcome;
typedef std::future<GetFabricTopologyOutcome> GetFabricTopologyOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::GetFabricTopologyRequest&, const GetFabricTopologyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFabricTopologyAsyncHandler;
typedef Outcome<Error, Model::GetLeniPrivateIpAddressResult> GetLeniPrivateIpAddressOutcome;
typedef std::future<GetLeniPrivateIpAddressOutcome> GetLeniPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::GetLeniPrivateIpAddressRequest&, const GetLeniPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLeniPrivateIpAddressAsyncHandler;
typedef Outcome<Error, Model::GetLniPrivateIpAddressResult> GetLniPrivateIpAddressOutcome;
typedef std::future<GetLniPrivateIpAddressOutcome> GetLniPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::GetLniPrivateIpAddressRequest&, const GetLniPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLniPrivateIpAddressAsyncHandler;
@@ -296,6 +312,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListInstancesByNcdResult> ListInstancesByNcdOutcome;
typedef std::future<ListInstancesByNcdOutcome> ListInstancesByNcdOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListInstancesByNcdRequest&, const ListInstancesByNcdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstancesByNcdAsyncHandler;
typedef Outcome<Error, Model::ListLeniPrivateIpAddressesResult> ListLeniPrivateIpAddressesOutcome;
typedef std::future<ListLeniPrivateIpAddressesOutcome> ListLeniPrivateIpAddressesOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListLeniPrivateIpAddressesRequest&, const ListLeniPrivateIpAddressesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLeniPrivateIpAddressesAsyncHandler;
typedef Outcome<Error, Model::ListLniPrivateIpAddressResult> ListLniPrivateIpAddressOutcome;
typedef std::future<ListLniPrivateIpAddressOutcome> ListLniPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListLniPrivateIpAddressRequest&, const ListLniPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLniPrivateIpAddressAsyncHandler;
@@ -335,6 +354,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UnAssociateVpdCidrBlockResult> UnAssociateVpdCidrBlockOutcome;
typedef std::future<UnAssociateVpdCidrBlockOutcome> UnAssociateVpdCidrBlockOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UnAssociateVpdCidrBlockRequest&, const UnAssociateVpdCidrBlockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnAssociateVpdCidrBlockAsyncHandler;
typedef Outcome<Error, Model::UnassignLeniPrivateIpAddressResult> UnassignLeniPrivateIpAddressOutcome;
typedef std::future<UnassignLeniPrivateIpAddressOutcome> UnassignLeniPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UnassignLeniPrivateIpAddressRequest&, const UnassignLeniPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassignLeniPrivateIpAddressAsyncHandler;
typedef Outcome<Error, Model::UpdateElasticNetworkInterfaceResult> UpdateElasticNetworkInterfaceOutcome;
typedef std::future<UpdateElasticNetworkInterfaceOutcome> UpdateElasticNetworkInterfaceOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateElasticNetworkInterfaceRequest&, const UpdateElasticNetworkInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateElasticNetworkInterfaceAsyncHandler;
@@ -347,6 +369,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateErRouteMapResult> UpdateErRouteMapOutcome;
typedef std::future<UpdateErRouteMapOutcome> UpdateErRouteMapOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateErRouteMapRequest&, const UpdateErRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateErRouteMapAsyncHandler;
typedef Outcome<Error, Model::UpdateLeniPrivateIpAddressResult> UpdateLeniPrivateIpAddressOutcome;
typedef std::future<UpdateLeniPrivateIpAddressOutcome> UpdateLeniPrivateIpAddressOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateLeniPrivateIpAddressRequest&, const UpdateLeniPrivateIpAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLeniPrivateIpAddressAsyncHandler;
typedef Outcome<Error, Model::UpdateSubnetResult> UpdateSubnetOutcome;
typedef std::future<UpdateSubnetOutcome> UpdateSubnetOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::UpdateSubnetRequest&, const UpdateSubnetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSubnetAsyncHandler;
@@ -361,6 +386,9 @@ namespace AlibabaCloud
EfloClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
EfloClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~EfloClient();
AssignLeniPrivateIpAddressOutcome assignLeniPrivateIpAddress(const Model::AssignLeniPrivateIpAddressRequest &request)const;
void assignLeniPrivateIpAddressAsync(const Model::AssignLeniPrivateIpAddressRequest& request, const AssignLeniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssignLeniPrivateIpAddressOutcomeCallable assignLeniPrivateIpAddressCallable(const Model::AssignLeniPrivateIpAddressRequest& request) const;
AssignPrivateIpAddressOutcome assignPrivateIpAddress(const Model::AssignPrivateIpAddressRequest &request)const;
void assignPrivateIpAddressAsync(const Model::AssignPrivateIpAddressRequest& request, const AssignPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AssignPrivateIpAddressOutcomeCallable assignPrivateIpAddressCallable(const Model::AssignPrivateIpAddressRequest& request) const;
@@ -445,6 +473,9 @@ namespace AlibabaCloud
GetFabricTopologyOutcome getFabricTopology(const Model::GetFabricTopologyRequest &request)const;
void getFabricTopologyAsync(const Model::GetFabricTopologyRequest& request, const GetFabricTopologyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFabricTopologyOutcomeCallable getFabricTopologyCallable(const Model::GetFabricTopologyRequest& request) const;
GetLeniPrivateIpAddressOutcome getLeniPrivateIpAddress(const Model::GetLeniPrivateIpAddressRequest &request)const;
void getLeniPrivateIpAddressAsync(const Model::GetLeniPrivateIpAddressRequest& request, const GetLeniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLeniPrivateIpAddressOutcomeCallable getLeniPrivateIpAddressCallable(const Model::GetLeniPrivateIpAddressRequest& request) const;
GetLniPrivateIpAddressOutcome getLniPrivateIpAddress(const Model::GetLniPrivateIpAddressRequest &request)const;
void getLniPrivateIpAddressAsync(const Model::GetLniPrivateIpAddressRequest& request, const GetLniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLniPrivateIpAddressOutcomeCallable getLniPrivateIpAddressCallable(const Model::GetLniPrivateIpAddressRequest& request) const;
@@ -496,6 +527,9 @@ namespace AlibabaCloud
ListInstancesByNcdOutcome listInstancesByNcd(const Model::ListInstancesByNcdRequest &request)const;
void listInstancesByNcdAsync(const Model::ListInstancesByNcdRequest& request, const ListInstancesByNcdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstancesByNcdOutcomeCallable listInstancesByNcdCallable(const Model::ListInstancesByNcdRequest& request) const;
ListLeniPrivateIpAddressesOutcome listLeniPrivateIpAddresses(const Model::ListLeniPrivateIpAddressesRequest &request)const;
void listLeniPrivateIpAddressesAsync(const Model::ListLeniPrivateIpAddressesRequest& request, const ListLeniPrivateIpAddressesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLeniPrivateIpAddressesOutcomeCallable listLeniPrivateIpAddressesCallable(const Model::ListLeniPrivateIpAddressesRequest& request) const;
ListLniPrivateIpAddressOutcome listLniPrivateIpAddress(const Model::ListLniPrivateIpAddressRequest &request)const;
void listLniPrivateIpAddressAsync(const Model::ListLniPrivateIpAddressRequest& request, const ListLniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLniPrivateIpAddressOutcomeCallable listLniPrivateIpAddressCallable(const Model::ListLniPrivateIpAddressRequest& request) const;
@@ -535,6 +569,9 @@ namespace AlibabaCloud
UnAssociateVpdCidrBlockOutcome unAssociateVpdCidrBlock(const Model::UnAssociateVpdCidrBlockRequest &request)const;
void unAssociateVpdCidrBlockAsync(const Model::UnAssociateVpdCidrBlockRequest& request, const UnAssociateVpdCidrBlockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnAssociateVpdCidrBlockOutcomeCallable unAssociateVpdCidrBlockCallable(const Model::UnAssociateVpdCidrBlockRequest& request) const;
UnassignLeniPrivateIpAddressOutcome unassignLeniPrivateIpAddress(const Model::UnassignLeniPrivateIpAddressRequest &request)const;
void unassignLeniPrivateIpAddressAsync(const Model::UnassignLeniPrivateIpAddressRequest& request, const UnassignLeniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnassignLeniPrivateIpAddressOutcomeCallable unassignLeniPrivateIpAddressCallable(const Model::UnassignLeniPrivateIpAddressRequest& request) const;
UpdateElasticNetworkInterfaceOutcome updateElasticNetworkInterface(const Model::UpdateElasticNetworkInterfaceRequest &request)const;
void updateElasticNetworkInterfaceAsync(const Model::UpdateElasticNetworkInterfaceRequest& request, const UpdateElasticNetworkInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateElasticNetworkInterfaceOutcomeCallable updateElasticNetworkInterfaceCallable(const Model::UpdateElasticNetworkInterfaceRequest& request) const;
@@ -547,6 +584,9 @@ namespace AlibabaCloud
UpdateErRouteMapOutcome updateErRouteMap(const Model::UpdateErRouteMapRequest &request)const;
void updateErRouteMapAsync(const Model::UpdateErRouteMapRequest& request, const UpdateErRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateErRouteMapOutcomeCallable updateErRouteMapCallable(const Model::UpdateErRouteMapRequest& request) const;
UpdateLeniPrivateIpAddressOutcome updateLeniPrivateIpAddress(const Model::UpdateLeniPrivateIpAddressRequest &request)const;
void updateLeniPrivateIpAddressAsync(const Model::UpdateLeniPrivateIpAddressRequest& request, const UpdateLeniPrivateIpAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLeniPrivateIpAddressOutcomeCallable updateLeniPrivateIpAddressCallable(const Model::UpdateLeniPrivateIpAddressRequest& request) const;
UpdateSubnetOutcome updateSubnet(const Model::UpdateSubnetRequest &request)const;
void updateSubnetAsync(const Model::UpdateSubnetRequest& request, const UpdateSubnetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSubnetOutcomeCallable updateSubnetCallable(const Model::UpdateSubnetRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* 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_EFLO_MODEL_ASSIGNLENIPRIVATEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_ASSIGNLENIPRIVATEIPADDRESSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT AssignLeniPrivateIpAddressRequest : public RpcServiceRequest {
public:
AssignLeniPrivateIpAddressRequest();
~AssignLeniPrivateIpAddressRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getPrivateIpAddress() const;
void setPrivateIpAddress(const std::string &privateIpAddress);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getElasticNetworkInterfaceId() const;
void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
private:
std::string clientToken_;
std::string description_;
std::string privateIpAddress_;
std::string regionId_;
std::string elasticNetworkInterfaceId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_ASSIGNLENIPRIVATEIPADDRESSREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_EFLO_MODEL_ASSIGNLENIPRIVATEIPADDRESSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_ASSIGNLENIPRIVATEIPADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT AssignLeniPrivateIpAddressResult : public ServiceResult
{
public:
struct Content
{
std::string ipName;
std::string elasticNetworkInterfaceId;
};
AssignLeniPrivateIpAddressResult();
explicit AssignLeniPrivateIpAddressResult(const std::string &payload);
~AssignLeniPrivateIpAddressResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_ASSIGNLENIPRIVATEIPADDRESSRESULT_H_

View File

@@ -36,17 +36,17 @@ public:
void setGrantTenantId(const std::string &grantTenantId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getGrantRuleId() const;
void setGrantRuleId(const std::string &grantRuleId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getGrantRuleId() const;
void setGrantRuleId(const std::string &grantRuleId);
private:
std::string erId_;
std::string grantTenantId_;
std::string instanceId_;
std::string grantRuleId_;
std::string regionId_;
std::string grantRuleId_;
};
} // namespace Model
} // namespace Eflo

View File

@@ -54,6 +54,7 @@ namespace AlibabaCloud
std::string ip;
std::string vSwitchId;
std::string createTime;
std::string securityGroupId;
std::string mask;
std::string gmtModified;
std::string mac;

View File

@@ -0,0 +1,48 @@
/*
* 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_EFLO_MODEL_GETLENIPRIVATEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_GETLENIPRIVATEIPADDRESSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT GetLeniPrivateIpAddressRequest : public RpcServiceRequest {
public:
GetLeniPrivateIpAddressRequest();
~GetLeniPrivateIpAddressRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getIpName() const;
void setIpName(const std::string &ipName);
std::string getElasticNetworkInterfaceId() const;
void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
private:
std::string regionId_;
std::string ipName_;
std::string elasticNetworkInterfaceId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_GETLENIPRIVATEIPADDRESSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_EFLO_MODEL_GETLENIPRIVATEIPADDRESSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_GETLENIPRIVATEIPADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT GetLeniPrivateIpAddressResult : public ServiceResult
{
public:
struct Content
{
std::string status;
std::string elasticNetworkInterfaceId;
std::string gmtCreate;
std::string ipName;
std::string privateIpAddress;
std::string description;
std::string message;
std::string gmtModified;
std::string regionId;
};
GetLeniPrivateIpAddressResult();
explicit GetLeniPrivateIpAddressResult(const std::string &payload);
~GetLeniPrivateIpAddressResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_GETLENIPRIVATEIPADDRESSRESULT_H_

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
std::string zoneId;
std::string vpcId;
int hdeniQuota;
std::string clusterId;
int lniSipQuota;
std::string nodeId;

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string instanceName;
std::string tenantId;
std::string grantTenantId;
std::string resourceGroupId;
std::string instanceId;
bool used;
std::string createTime;

View File

@@ -30,6 +30,8 @@ class ALIBABACLOUD_EFLO_EXPORT GetVccRequest : public RpcServiceRequest {
public:
GetVccRequest();
~GetVccRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getRegionId() const;
@@ -42,6 +44,7 @@ public:
void setVccId(const std::string &vccId);
private:
std::string clientToken_;
int pageNumber_;
std::string regionId_;
bool enablePage_;

View File

@@ -84,6 +84,23 @@ namespace AlibabaCloud
std::string tagKey;
std::string tagValue;
};
struct VbrInfo
{
struct VbrBgpPeer
{
std::string status;
std::string bgpPeerId;
std::string peerIpAddress;
std::string peerAsn;
std::string bgpGroupId;
};
std::string status;
std::string gmtCreate;
std::vector<VbrInfo::VbrBgpPeer> vbrBgpPeers;
std::string cenId;
std::string gmtModified;
std::string vbrId;
};
std::string message;
std::string resourceGroupId;
std::string lineOperator;
@@ -112,6 +129,7 @@ namespace AlibabaCloud
std::string vpdId;
std::vector<ErInfo> erInfos;
std::string cenOwnerId;
std::vector<VbrInfo> vbrInfos;
bool attachErStatus;
std::string cenId;
std::string accessPointId;

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string nextHopType;
std::string tenantId;
std::string routeType;
std::string message;
std::string nextHopId;
std::string gmtModified;
std::string regionId;

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string instanceName;
std::string tenantId;
std::string grantTenantId;
std::string resourceGroupId;
std::string instanceId;
bool used;
std::string createTime;

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
std::string ip;
std::string vSwitchId;
std::string createTime;
std::string securityGroupId;
std::string mask;
std::string gmtModified;
std::string mac;

View File

@@ -0,0 +1,60 @@
/*
* 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_EFLO_MODEL_LISTLENIPRIVATEIPADDRESSESREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTLENIPRIVATEIPADDRESSESREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT ListLeniPrivateIpAddressesRequest : public RpcServiceRequest {
public:
ListLeniPrivateIpAddressesRequest();
~ListLeniPrivateIpAddressesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getPrivateIpAddress() const;
void setPrivateIpAddress(const std::string &privateIpAddress);
std::string getIpName() const;
void setIpName(const std::string &ipName);
std::string getElasticNetworkInterfaceId() const;
void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string privateIpAddress_;
std::string ipName_;
std::string elasticNetworkInterfaceId_;
std::string status_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTLENIPRIVATEIPADDRESSESREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_EFLO_MODEL_LISTLENIPRIVATEIPADDRESSESRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTLENIPRIVATEIPADDRESSESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT ListLeniPrivateIpAddressesResult : public ServiceResult
{
public:
struct Content
{
struct DataItem
{
std::string status;
std::string elasticNetworkInterfaceId;
std::string gmtCreate;
std::string ipName;
std::string privateIpAddress;
std::string description;
std::string message;
std::string gmtModified;
std::string regionId;
};
long total;
std::vector<DataItem> data;
};
ListLeniPrivateIpAddressesResult();
explicit ListLeniPrivateIpAddressesResult(const std::string &payload);
~ListLeniPrivateIpAddressesResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTLENIPRIVATEIPADDRESSESRESULT_H_

View File

@@ -34,6 +34,8 @@ public:
void setGrantTenantId(const std::string &grantTenantId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getGrantRuleId() const;
@@ -54,6 +56,7 @@ public:
private:
std::string grantTenantId_;
int pageNumber_;
std::string resourceGroupId_;
std::string regionId_;
std::string grantRuleId_;
int pageSize_;

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string instanceName;
std::string tenantId;
std::string grantTenantId;
std::string resourceGroupId;
std::string instanceId;
bool used;
std::string createTime;

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
std::string tenantId;
std::string resourceTenantId;
std::string routeType;
std::string message;
std::string nextHopId;
std::string gmtModified;
std::string vccId;

View File

@@ -34,6 +34,8 @@ public:
void setGrantTenantId(const std::string &grantTenantId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getGrantRuleId() const;
@@ -54,6 +56,7 @@ public:
private:
std::string grantTenantId_;
int pageNumber_;
std::string resourceGroupId_;
std::string regionId_;
std::string grantRuleId_;
int pageSize_;

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string instanceName;
std::string tenantId;
std::string grantTenantId;
std::string resourceGroupId;
std::string instanceId;
bool used;
std::string createTime;

View File

@@ -0,0 +1,51 @@
/*
* 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_EFLO_MODEL_UNASSIGNLENIPRIVATEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_UNASSIGNLENIPRIVATEIPADDRESSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT UnassignLeniPrivateIpAddressRequest : public RpcServiceRequest {
public:
UnassignLeniPrivateIpAddressRequest();
~UnassignLeniPrivateIpAddressRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getIpName() const;
void setIpName(const std::string &ipName);
std::string getElasticNetworkInterfaceId() const;
void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
private:
std::string clientToken_;
std::string regionId_;
std::string ipName_;
std::string elasticNetworkInterfaceId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_UNASSIGNLENIPRIVATEIPADDRESSREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_EFLO_MODEL_UNASSIGNLENIPRIVATEIPADDRESSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_UNASSIGNLENIPRIVATEIPADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT UnassignLeniPrivateIpAddressResult : public ServiceResult
{
public:
struct Content
{
std::string ipName;
std::string elasticNetworkInterfaceId;
};
UnassignLeniPrivateIpAddressResult();
explicit UnassignLeniPrivateIpAddressResult(const std::string &payload);
~UnassignLeniPrivateIpAddressResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_UNASSIGNLENIPRIVATEIPADDRESSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* 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_EFLO_MODEL_UPDATELENIPRIVATEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_UPDATELENIPRIVATEIPADDRESSREQUEST_H_
#include <alibabacloud/eflo/EfloExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eflo {
namespace Model {
class ALIBABACLOUD_EFLO_EXPORT UpdateLeniPrivateIpAddressRequest : public RpcServiceRequest {
public:
UpdateLeniPrivateIpAddressRequest();
~UpdateLeniPrivateIpAddressRequest();
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getIpName() const;
void setIpName(const std::string &ipName);
std::string getElasticNetworkInterfaceId() const;
void setElasticNetworkInterfaceId(const std::string &elasticNetworkInterfaceId);
private:
std::string description_;
std::string regionId_;
std::string ipName_;
std::string elasticNetworkInterfaceId_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATELENIPRIVATEIPADDRESSREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* 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_EFLO_MODEL_UPDATELENIPRIVATEIPADDRESSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_UPDATELENIPRIVATEIPADDRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eflo/EfloExport.h>
namespace AlibabaCloud
{
namespace Eflo
{
namespace Model
{
class ALIBABACLOUD_EFLO_EXPORT UpdateLeniPrivateIpAddressResult : public ServiceResult
{
public:
struct Content
{
std::string elasticNetworkInterfaceId;
std::string ipName;
};
UpdateLeniPrivateIpAddressResult();
explicit UpdateLeniPrivateIpAddressResult(const std::string &payload);
~UpdateLeniPrivateIpAddressResult();
std::string getMessage()const;
Content getContent()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Content content_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_EFLO_MODEL_UPDATELENIPRIVATEIPADDRESSRESULT_H_