Supported Jumbo for HDENI and LENI.

This commit is contained in:
sdk-team
2024-12-24 10:07:48 +00:00
parent 48362f9159
commit 1d1099683e
18 changed files with 410 additions and 1 deletions

View File

@@ -126,6 +126,8 @@
#include "model/ListNodeInfosForPodResult.h"
#include "model/ListSubnetsRequest.h"
#include "model/ListSubnetsResult.h"
#include "model/ListVccFlowInfosRequest.h"
#include "model/ListVccFlowInfosResult.h"
#include "model/ListVccGrantRulesRequest.h"
#include "model/ListVccGrantRulesResult.h"
#include "model/ListVccRouteEntriesRequest.h"
@@ -327,6 +329,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListSubnetsResult> ListSubnetsOutcome;
typedef std::future<ListSubnetsOutcome> ListSubnetsOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListSubnetsRequest&, const ListSubnetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSubnetsAsyncHandler;
typedef Outcome<Error, Model::ListVccFlowInfosResult> ListVccFlowInfosOutcome;
typedef std::future<ListVccFlowInfosOutcome> ListVccFlowInfosOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListVccFlowInfosRequest&, const ListVccFlowInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVccFlowInfosAsyncHandler;
typedef Outcome<Error, Model::ListVccGrantRulesResult> ListVccGrantRulesOutcome;
typedef std::future<ListVccGrantRulesOutcome> ListVccGrantRulesOutcomeCallable;
typedef std::function<void(const EfloClient*, const Model::ListVccGrantRulesRequest&, const ListVccGrantRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVccGrantRulesAsyncHandler;
@@ -542,6 +547,9 @@ namespace AlibabaCloud
ListSubnetsOutcome listSubnets(const Model::ListSubnetsRequest &request)const;
void listSubnetsAsync(const Model::ListSubnetsRequest& request, const ListSubnetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSubnetsOutcomeCallable listSubnetsCallable(const Model::ListSubnetsRequest& request) const;
ListVccFlowInfosOutcome listVccFlowInfos(const Model::ListVccFlowInfosRequest &request)const;
void listVccFlowInfosAsync(const Model::ListVccFlowInfosRequest& request, const ListVccFlowInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVccFlowInfosOutcomeCallable listVccFlowInfosCallable(const Model::ListVccFlowInfosRequest& request) const;
ListVccGrantRulesOutcome listVccGrantRules(const Model::ListVccGrantRulesRequest &request)const;
void listVccGrantRulesAsync(const Model::ListVccGrantRulesRequest& request, const ListVccGrantRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVccGrantRulesOutcomeCallable listVccGrantRulesCallable(const Model::ListVccGrantRulesRequest& request) const;

View File

@@ -40,6 +40,8 @@ public:
void setRegionId(const std::string &regionId);
std::string getNodeId() const;
void setNodeId(const std::string &nodeId);
bool getEnableJumboFrame() const;
void setEnableJumboFrame(bool enableJumboFrame);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getVpcId() const;
@@ -53,6 +55,7 @@ private:
std::string description_;
std::string regionId_;
std::string nodeId_;
bool enableJumboFrame_;
std::string vSwitchId_;
std::string vpcId_;
std::string zoneId_;

View File

@@ -42,6 +42,8 @@ public:
void setDescription(const std::string &description);
std::string getCenOwnerId() const;
void setCenOwnerId(const std::string &cenOwnerId);
long getBgpAsn() const;
void setBgpAsn(long bgpAsn);
bool getAccessCouldService() const;
void setAccessCouldService(bool accessCouldService);
std::string getResourceGroupId() const;
@@ -72,6 +74,7 @@ private:
std::string cenId_;
std::string description_;
std::string cenOwnerId_;
long bgpAsn_;
bool accessCouldService_;
std::string resourceGroupId_;
std::string vccName_;

View File

@@ -46,6 +46,18 @@ namespace AlibabaCloud
std::string gmtModified;
std::string regionId;
};
struct Ipv6Addresse
{
std::string status;
std::string elasticNetworkInterfaceId;
std::string ipName;
std::string gmtCreate;
std::string description;
std::string message;
std::string gmtModified;
std::string regionId;
std::string ipv6Address;
};
std::string status;
std::string description;
std::vector<PrivateIpAddress> privateIpAddresses;
@@ -57,10 +69,12 @@ namespace AlibabaCloud
std::string securityGroupId;
std::string mask;
std::string gmtModified;
std::vector<Ipv6Addresse> ipv6Addresses;
std::string mac;
std::string elasticNetworkInterfaceId;
std::string type;
std::string vpcId;
bool enableJumboFrame;
std::string gateway;
std::string nodeId;
std::string regionId;

View File

@@ -120,6 +120,7 @@ namespace AlibabaCloud
std::string duration;
std::string payType;
std::vector<AliyunRouterInfoItem> aliyunRouterInfo;
std::string bgpAsn;
std::string internetChargeType;
std::string bandwidthStr;
std::vector<CisRouterInfoItem> cisRouterInfo;

View File

@@ -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_EFLO_MODEL_LISTVCCFLOWINFOSREQUEST_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSREQUEST_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 ListVccFlowInfosRequest : public RpcServiceRequest {
public:
ListVccFlowInfosRequest();
~ListVccFlowInfosRequest();
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
long getFrom() const;
void setFrom(long from);
long getTo() const;
void setTo(long to);
std::string getVccId() const;
void setVccId(const std::string &vccId);
std::string getMetricName() const;
void setMetricName(const std::string &metricName);
std::string getDirection() const;
void setDirection(const std::string &direction);
private:
std::string regionId_;
long from_;
long to_;
std::string vccId_;
std::string metricName_;
std::string direction_;
};
} // namespace Model
} // namespace Eflo
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_LISTVCCFLOWINFOSRESULT_H_
#define ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSRESULT_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 ListVccFlowInfosResult : public ServiceResult
{
public:
struct Content
{
struct DataItem
{
std::string metricName;
double value;
std::string regionId;
std::string vccId;
std::string direction;
long timestamp;
};
long total;
std::vector<DataItem> data;
};
ListVccFlowInfosResult();
explicit ListVccFlowInfosResult(const std::string &payload);
~ListVccFlowInfosResult();
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_LISTVCCFLOWINFOSRESULT_H_

View File

@@ -79,6 +79,7 @@ namespace AlibabaCloud
std::string connectionType;
double rate;
std::string createTime;
std::string bgpAsn;
std::string bandwidthStr;
std::string tenantId;
std::string vpcId;