Add tag of list instance parameters.

This commit is contained in:
sdk-team
2020-02-24 11:17:10 +08:00
parent 0f5b8d4fb0
commit 2dccf2d4e8
99 changed files with 902 additions and 241 deletions

View File

@@ -174,6 +174,8 @@
#include "model/UpdateLogstashSettingsResult.h"
#include "model/UpdatePipelineManagementConfigRequest.h"
#include "model/UpdatePipelineManagementConfigResult.h"
#include "model/UpdatePipelinesRequest.h"
#include "model/UpdatePipelinesResult.h"
#include "model/UpdatePrivateNetworkWhiteIpsRequest.h"
#include "model/UpdatePrivateNetworkWhiteIpsResult.h"
#include "model/UpdatePublicNetworkRequest.h"
@@ -186,6 +188,8 @@
#include "model/UpdateSynonymsDictsResult.h"
#include "model/UpdateWhiteIpsRequest.h"
#include "model/UpdateWhiteIpsResult.h"
#include "model/UpgradeEngineVersionRequest.h"
#include "model/UpgradeEngineVersionResult.h"
#include "model/ValidateShrinkNodesRequest.h"
#include "model/ValidateShrinkNodesResult.h"
#include "model/ValidateTransferableNodesRequest.h"
@@ -427,6 +431,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdatePipelineManagementConfigResult> UpdatePipelineManagementConfigOutcome;
typedef std::future<UpdatePipelineManagementConfigOutcome> UpdatePipelineManagementConfigOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePipelineManagementConfigRequest&, const UpdatePipelineManagementConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePipelineManagementConfigAsyncHandler;
typedef Outcome<Error, Model::UpdatePipelinesResult> UpdatePipelinesOutcome;
typedef std::future<UpdatePipelinesOutcome> UpdatePipelinesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePipelinesRequest&, const UpdatePipelinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePipelinesAsyncHandler;
typedef Outcome<Error, Model::UpdatePrivateNetworkWhiteIpsResult> UpdatePrivateNetworkWhiteIpsOutcome;
typedef std::future<UpdatePrivateNetworkWhiteIpsOutcome> UpdatePrivateNetworkWhiteIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePrivateNetworkWhiteIpsRequest&, const UpdatePrivateNetworkWhiteIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrivateNetworkWhiteIpsAsyncHandler;
@@ -445,6 +452,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateWhiteIpsResult> UpdateWhiteIpsOutcome;
typedef std::future<UpdateWhiteIpsOutcome> UpdateWhiteIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateWhiteIpsRequest&, const UpdateWhiteIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWhiteIpsAsyncHandler;
typedef Outcome<Error, Model::UpgradeEngineVersionResult> UpgradeEngineVersionOutcome;
typedef std::future<UpgradeEngineVersionOutcome> UpgradeEngineVersionOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpgradeEngineVersionRequest&, const UpgradeEngineVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeEngineVersionAsyncHandler;
typedef Outcome<Error, Model::ValidateShrinkNodesResult> ValidateShrinkNodesOutcome;
typedef std::future<ValidateShrinkNodesOutcome> ValidateShrinkNodesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ValidateShrinkNodesRequest&, const ValidateShrinkNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateShrinkNodesAsyncHandler;
@@ -684,6 +694,9 @@ namespace AlibabaCloud
UpdatePipelineManagementConfigOutcome updatePipelineManagementConfig(const Model::UpdatePipelineManagementConfigRequest &request)const;
void updatePipelineManagementConfigAsync(const Model::UpdatePipelineManagementConfigRequest& request, const UpdatePipelineManagementConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePipelineManagementConfigOutcomeCallable updatePipelineManagementConfigCallable(const Model::UpdatePipelineManagementConfigRequest& request) const;
UpdatePipelinesOutcome updatePipelines(const Model::UpdatePipelinesRequest &request)const;
void updatePipelinesAsync(const Model::UpdatePipelinesRequest& request, const UpdatePipelinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePipelinesOutcomeCallable updatePipelinesCallable(const Model::UpdatePipelinesRequest& request) const;
UpdatePrivateNetworkWhiteIpsOutcome updatePrivateNetworkWhiteIps(const Model::UpdatePrivateNetworkWhiteIpsRequest &request)const;
void updatePrivateNetworkWhiteIpsAsync(const Model::UpdatePrivateNetworkWhiteIpsRequest& request, const UpdatePrivateNetworkWhiteIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePrivateNetworkWhiteIpsOutcomeCallable updatePrivateNetworkWhiteIpsCallable(const Model::UpdatePrivateNetworkWhiteIpsRequest& request) const;
@@ -702,6 +715,9 @@ namespace AlibabaCloud
UpdateWhiteIpsOutcome updateWhiteIps(const Model::UpdateWhiteIpsRequest &request)const;
void updateWhiteIpsAsync(const Model::UpdateWhiteIpsRequest& request, const UpdateWhiteIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateWhiteIpsOutcomeCallable updateWhiteIpsCallable(const Model::UpdateWhiteIpsRequest& request) const;
UpgradeEngineVersionOutcome upgradeEngineVersion(const Model::UpgradeEngineVersionRequest &request)const;
void upgradeEngineVersionAsync(const Model::UpgradeEngineVersionRequest& request, const UpgradeEngineVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeEngineVersionOutcomeCallable upgradeEngineVersionCallable(const Model::UpgradeEngineVersionRequest& request) const;
ValidateShrinkNodesOutcome validateShrinkNodes(const Model::ValidateShrinkNodesRequest &request)const;
void validateShrinkNodesAsync(const Model::ValidateShrinkNodesRequest& request, const ValidateShrinkNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateShrinkNodesOutcomeCallable validateShrinkNodesCallable(const Model::ValidateShrinkNodesRequest& request) const;

View File

@@ -105,6 +105,11 @@ namespace AlibabaCloud
std::string name;
long fileSize;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
MasterConfiguration masterConfiguration;
std::string description;
bool dedicateMaster;
@@ -131,6 +136,7 @@ namespace AlibabaCloud
std::string updatedAt;
std::vector<DictListItem> dictList;
std::string kibanaDomain;
std::vector<Tag> tags;
std::string publicDomain;
std::string esConfig;
std::vector<std::string> esIPWhitelist;

View File

@@ -35,6 +35,14 @@ namespace AlibabaCloud
ListInstanceRequest();
~ListInstanceRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getInstanceCategory()const;
void setInstanceCategory(const std::string& instanceCategory);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
@@ -43,21 +51,28 @@ namespace AlibabaCloud
void setSize(int size);
std::string getEsVersion()const;
void setEsVersion(const std::string& esVersion);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
int getPage()const;
void setPage(int page);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getPaymentType()const;
void setPaymentType(const std::string& paymentType);
private:
std::string description_;
std::string instanceCategory_;
std::string ownerId_;
std::string tags_;
std::string resourceGroupId_;
std::string instanceId_;
int size_;
std::string esVersion_;
std::string description_;
std::string vpcId_;
std::string zoneId_;
int page_;
std::string ownerId_;
std::string paymentType_;
};
}

View File

@@ -65,6 +65,11 @@ namespace AlibabaCloud
std::string spec;
int disk;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
MasterConfiguration masterConfiguration;
std::string status;
std::string description;
@@ -75,6 +80,7 @@ namespace AlibabaCloud
int nodeAmount;
std::string esVersion;
std::string updatedAt;
std::vector<Instance::Tag> tags;
KibanaConfiguration kibanaConfiguration;
bool advancedDedicateMaster;
NodeSpec nodeSpec;

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_ELASTICSEARCH_MODEL_UPDATEPIPELINESREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdatePipelinesRequest : public RoaServiceRequest
{
public:
UpdatePipelinesRequest();
~UpdatePipelinesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
bool getTrigger()const;
void setTrigger(bool trigger);
private:
std::string instanceId_;
std::string clientToken_;
bool trigger_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINESREQUEST_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_ELASTICSEARCH_MODEL_UPDATEPIPELINESRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdatePipelinesResult : public ServiceResult
{
public:
UpdatePipelinesResult();
explicit UpdatePipelinesResult(const std::string &payload);
~UpdatePipelinesResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINESRESULT_H_

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_ELASTICSEARCH_MODEL_UPGRADEENGINEVERSIONREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPGRADEENGINEVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpgradeEngineVersionRequest : public RoaServiceRequest
{
public:
UpgradeEngineVersionRequest();
~UpgradeEngineVersionRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
bool dryRun_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPGRADEENGINEVERSIONREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* 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_ELASTICSEARCH_MODEL_UPGRADEENGINEVERSIONRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPGRADEENGINEVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpgradeEngineVersionResult : public ServiceResult
{
public:
struct Result
{
struct ValidateResult
{
std::string errorType;
std::string errorMsg;
std::string errorCode;
};
std::string status;
ValidateResult validateResult;
std::string validateType;
};
UpgradeEngineVersionResult();
explicit UpgradeEngineVersionResult(const std::string &payload);
~UpgradeEngineVersionResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPGRADEENGINEVERSIONRESULT_H_