Add DescribePluginApis.
This commit is contained in:
@@ -208,6 +208,8 @@
|
||||
#include "model/DescribeMarketRemainsQuotaResult.h"
|
||||
#include "model/DescribeModelsRequest.h"
|
||||
#include "model/DescribeModelsResult.h"
|
||||
#include "model/DescribePluginApisRequest.h"
|
||||
#include "model/DescribePluginApisResult.h"
|
||||
#include "model/DescribePluginSchemasRequest.h"
|
||||
#include "model/DescribePluginSchemasResult.h"
|
||||
#include "model/DescribePluginTemplatesRequest.h"
|
||||
@@ -642,6 +644,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeModelsResult> DescribeModelsOutcome;
|
||||
typedef std::future<DescribeModelsOutcome> DescribeModelsOutcomeCallable;
|
||||
typedef std::function<void(const CloudAPIClient*, const Model::DescribeModelsRequest&, const DescribeModelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModelsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePluginApisResult> DescribePluginApisOutcome;
|
||||
typedef std::future<DescribePluginApisOutcome> DescribePluginApisOutcomeCallable;
|
||||
typedef std::function<void(const CloudAPIClient*, const Model::DescribePluginApisRequest&, const DescribePluginApisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePluginApisAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePluginSchemasResult> DescribePluginSchemasOutcome;
|
||||
typedef std::future<DescribePluginSchemasOutcome> DescribePluginSchemasOutcomeCallable;
|
||||
typedef std::function<void(const CloudAPIClient*, const Model::DescribePluginSchemasRequest&, const DescribePluginSchemasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePluginSchemasAsyncHandler;
|
||||
@@ -1145,6 +1150,9 @@ namespace AlibabaCloud
|
||||
DescribeModelsOutcome describeModels(const Model::DescribeModelsRequest &request)const;
|
||||
void describeModelsAsync(const Model::DescribeModelsRequest& request, const DescribeModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeModelsOutcomeCallable describeModelsCallable(const Model::DescribeModelsRequest& request) const;
|
||||
DescribePluginApisOutcome describePluginApis(const Model::DescribePluginApisRequest &request)const;
|
||||
void describePluginApisAsync(const Model::DescribePluginApisRequest& request, const DescribePluginApisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePluginApisOutcomeCallable describePluginApisCallable(const Model::DescribePluginApisRequest& request) const;
|
||||
DescribePluginSchemasOutcome describePluginSchemas(const Model::DescribePluginSchemasRequest &request)const;
|
||||
void describePluginSchemasAsync(const Model::DescribePluginSchemasRequest& request, const DescribePluginSchemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePluginSchemasOutcomeCallable describePluginSchemasCallable(const Model::DescribePluginSchemasRequest& request) const;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CreateAccessControlListRequest();
|
||||
std::string getAclName() const;
|
||||
void setAclName(const std::string &aclName);
|
||||
std::string getAddressIPVersion() const;
|
||||
void setAddressIPVersion(const std::string &addressIPVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string aclName_;
|
||||
std::string addressIPVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
};
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
~CreateAppRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
long getAppOwnerUserId() const;
|
||||
void setAppOwnerUserId(long appOwnerUserId);
|
||||
std::string getSource() const;
|
||||
void setSource(const std::string &source);
|
||||
std::string getAccessKeyId() const;
|
||||
@@ -55,6 +57,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
long appOwnerUserId_;
|
||||
std::string source_;
|
||||
std::string accessKeyId_;
|
||||
std::string appName_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
};
|
||||
DeleteAppRequest();
|
||||
~DeleteAppRequest();
|
||||
long getAppOwnerUserId() const;
|
||||
void setAppOwnerUserId(long appOwnerUserId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
@@ -44,6 +46,7 @@ public:
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
long appOwnerUserId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
long appId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DescribeAccessControlListsRequest();
|
||||
std::string getAclName() const;
|
||||
void setAclName(const std::string &aclName);
|
||||
std::string getAddressIPVersion() const;
|
||||
void setAddressIPVersion(const std::string &addressIPVersion);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string aclName_;
|
||||
std::string addressIPVersion_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct Acl
|
||||
{
|
||||
std::string aclId;
|
||||
std::string addressIPVersion;
|
||||
std::string aclName;
|
||||
};
|
||||
|
||||
|
||||
@@ -47,12 +47,14 @@ namespace AlibabaCloud
|
||||
std::string zoneLocalName;
|
||||
std::string instanceChargeType;
|
||||
int instanceRpsLimit;
|
||||
std::string iPV6AclName;
|
||||
bool vpcSlbIntranetEnable;
|
||||
std::string intranetSegments;
|
||||
std::string userVpcId;
|
||||
std::string expiredTime;
|
||||
std::string instanceType;
|
||||
std::string userVswitchId;
|
||||
std::string iPV6AclId;
|
||||
std::string status;
|
||||
std::string vpcEgressAddress;
|
||||
std::string zoneId;
|
||||
@@ -60,11 +62,13 @@ namespace AlibabaCloud
|
||||
std::string aclId;
|
||||
long vpcOwnerId;
|
||||
std::string aclName;
|
||||
std::string iPV6AclStatus;
|
||||
std::string instanceName;
|
||||
bool egressIpv6Enable;
|
||||
std::string aclStatus;
|
||||
bool vpcIntranetEnable;
|
||||
std::string httpsPolicies;
|
||||
std::string iPV6AclType;
|
||||
bool supportIpv6;
|
||||
std::string aclType;
|
||||
std::string regionId;
|
||||
|
||||
@@ -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_CLOUDAPI_MODEL_DESCRIBEPLUGINAPISREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPLUGINAPISREQUEST_H_
|
||||
|
||||
#include <alibabacloud/cloudapi/CloudAPIExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace CloudAPI {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePluginApisRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribePluginApisRequest();
|
||||
~DescribePluginApisRequest();
|
||||
std::string getMethod() const;
|
||||
void setMethod(const std::string &method);
|
||||
std::string getPluginId() const;
|
||||
void setPluginId(const std::string &pluginId);
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getPath() const;
|
||||
void setPath(const std::string &path);
|
||||
std::string getApiName() const;
|
||||
void setApiName(const std::string &apiName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApiId() const;
|
||||
void setApiId(const std::string &apiId);
|
||||
|
||||
private:
|
||||
std::string method_;
|
||||
std::string pluginId_;
|
||||
std::string groupId_;
|
||||
std::string description_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string path_;
|
||||
std::string apiName_;
|
||||
std::string securityToken_;
|
||||
int pageSize_;
|
||||
std::string apiId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace CloudAPI
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPLUGINAPISREQUEST_H_
|
||||
@@ -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_CLOUDAPI_MODEL_DESCRIBEPLUGINAPISRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPLUGINAPISRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudapi/CloudAPIExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CloudAPI
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAPI_EXPORT DescribePluginApisResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ApiPluginSummary
|
||||
{
|
||||
std::string groupName;
|
||||
std::string path;
|
||||
std::string description;
|
||||
std::string stageName;
|
||||
std::string apiName;
|
||||
std::string method;
|
||||
std::string regionId;
|
||||
std::string apiId;
|
||||
std::string groupId;
|
||||
};
|
||||
|
||||
|
||||
DescribePluginApisResult();
|
||||
explicit DescribePluginApisResult(const std::string &payload);
|
||||
~DescribePluginApisResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ApiPluginSummary> getApiSummarys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<ApiPluginSummary> apiSummarys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_DESCRIBEPLUGINAPISRESULT_H_
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DisableInstanceAccessControlRequest();
|
||||
std::string getAclId() const;
|
||||
void setAclId(const std::string &aclId);
|
||||
std::string getAddressIPVersion() const;
|
||||
void setAddressIPVersion(const std::string &addressIPVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getInstanceId() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string aclId_;
|
||||
std::string addressIPVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string securityToken_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~EnableInstanceAccessControlRequest();
|
||||
std::string getAclId() const;
|
||||
void setAclId(const std::string &aclId);
|
||||
std::string getAddressIPVersion() const;
|
||||
void setAddressIPVersion(const std::string &addressIPVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAclType() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string aclId_;
|
||||
std::string addressIPVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string aclType_;
|
||||
std::string instanceId_;
|
||||
|
||||
Reference in New Issue
Block a user