Add service label api.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "EasExport.h"
|
||||
#include "model/CommitServiceRequest.h"
|
||||
#include "model/CommitServiceResult.h"
|
||||
#include "model/CreateBenchmarkTaskRequest.h"
|
||||
#include "model/CreateBenchmarkTaskResult.h"
|
||||
#include "model/CreateResourceRequest.h"
|
||||
@@ -56,12 +58,16 @@
|
||||
#include "model/DeleteServiceCronScalerResult.h"
|
||||
#include "model/DeleteServiceInstancesRequest.h"
|
||||
#include "model/DeleteServiceInstancesResult.h"
|
||||
#include "model/DeleteServiceLabelRequest.h"
|
||||
#include "model/DeleteServiceLabelResult.h"
|
||||
#include "model/DeleteServiceMirrorRequest.h"
|
||||
#include "model/DeleteServiceMirrorResult.h"
|
||||
#include "model/DescribeBenchmarkTaskRequest.h"
|
||||
#include "model/DescribeBenchmarkTaskResult.h"
|
||||
#include "model/DescribeBenchmarkTaskReportRequest.h"
|
||||
#include "model/DescribeBenchmarkTaskReportResult.h"
|
||||
#include "model/DescribeGroupRequest.h"
|
||||
#include "model/DescribeGroupResult.h"
|
||||
#include "model/DescribeResourceRequest.h"
|
||||
#include "model/DescribeResourceResult.h"
|
||||
#include "model/DescribeResourceDLinkRequest.h"
|
||||
@@ -74,12 +80,18 @@
|
||||
#include "model/DescribeServiceAutoScalerResult.h"
|
||||
#include "model/DescribeServiceCronScalerRequest.h"
|
||||
#include "model/DescribeServiceCronScalerResult.h"
|
||||
#include "model/DescribeServiceEventRequest.h"
|
||||
#include "model/DescribeServiceEventResult.h"
|
||||
#include "model/DescribeServiceLogRequest.h"
|
||||
#include "model/DescribeServiceLogResult.h"
|
||||
#include "model/DescribeServiceMirrorRequest.h"
|
||||
#include "model/DescribeServiceMirrorResult.h"
|
||||
#include "model/DevelopServiceRequest.h"
|
||||
#include "model/DevelopServiceResult.h"
|
||||
#include "model/ListBenchmarkTaskRequest.h"
|
||||
#include "model/ListBenchmarkTaskResult.h"
|
||||
#include "model/ListGroupsRequest.h"
|
||||
#include "model/ListGroupsResult.h"
|
||||
#include "model/ListResourceInstanceWorkerRequest.h"
|
||||
#include "model/ListResourceInstanceWorkerResult.h"
|
||||
#include "model/ListResourceInstancesRequest.h"
|
||||
@@ -90,6 +102,8 @@
|
||||
#include "model/ListResourcesResult.h"
|
||||
#include "model/ListServiceInstancesRequest.h"
|
||||
#include "model/ListServiceInstancesResult.h"
|
||||
#include "model/ListServiceVersionsRequest.h"
|
||||
#include "model/ListServiceVersionsResult.h"
|
||||
#include "model/ListServicesRequest.h"
|
||||
#include "model/ListServicesResult.h"
|
||||
#include "model/ReleaseServiceRequest.h"
|
||||
@@ -108,14 +122,20 @@
|
||||
#include "model/UpdateResourceResult.h"
|
||||
#include "model/UpdateResourceDLinkRequest.h"
|
||||
#include "model/UpdateResourceDLinkResult.h"
|
||||
#include "model/UpdateResourceInstanceRequest.h"
|
||||
#include "model/UpdateResourceInstanceResult.h"
|
||||
#include "model/UpdateServiceRequest.h"
|
||||
#include "model/UpdateServiceResult.h"
|
||||
#include "model/UpdateServiceAutoScalerRequest.h"
|
||||
#include "model/UpdateServiceAutoScalerResult.h"
|
||||
#include "model/UpdateServiceCronScalerRequest.h"
|
||||
#include "model/UpdateServiceCronScalerResult.h"
|
||||
#include "model/UpdateServiceLabelRequest.h"
|
||||
#include "model/UpdateServiceLabelResult.h"
|
||||
#include "model/UpdateServiceMirrorRequest.h"
|
||||
#include "model/UpdateServiceMirrorResult.h"
|
||||
#include "model/UpdateServiceSafetyLockRequest.h"
|
||||
#include "model/UpdateServiceSafetyLockResult.h"
|
||||
#include "model/UpdateServiceVersionRequest.h"
|
||||
#include "model/UpdateServiceVersionResult.h"
|
||||
|
||||
@@ -127,6 +147,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_EAS_EXPORT EasClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CommitServiceResult> CommitServiceOutcome;
|
||||
typedef std::future<CommitServiceOutcome> CommitServiceOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::CommitServiceRequest&, const CommitServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CommitServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateBenchmarkTaskResult> CreateBenchmarkTaskOutcome;
|
||||
typedef std::future<CreateBenchmarkTaskOutcome> CreateBenchmarkTaskOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::CreateBenchmarkTaskRequest&, const CreateBenchmarkTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBenchmarkTaskAsyncHandler;
|
||||
@@ -178,6 +201,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteServiceInstancesResult> DeleteServiceInstancesOutcome;
|
||||
typedef std::future<DeleteServiceInstancesOutcome> DeleteServiceInstancesOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DeleteServiceInstancesRequest&, const DeleteServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteServiceLabelResult> DeleteServiceLabelOutcome;
|
||||
typedef std::future<DeleteServiceLabelOutcome> DeleteServiceLabelOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DeleteServiceLabelRequest&, const DeleteServiceLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteServiceMirrorResult> DeleteServiceMirrorOutcome;
|
||||
typedef std::future<DeleteServiceMirrorOutcome> DeleteServiceMirrorOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DeleteServiceMirrorRequest&, const DeleteServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceMirrorAsyncHandler;
|
||||
@@ -187,6 +213,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeBenchmarkTaskReportResult> DescribeBenchmarkTaskReportOutcome;
|
||||
typedef std::future<DescribeBenchmarkTaskReportOutcome> DescribeBenchmarkTaskReportOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeBenchmarkTaskReportRequest&, const DescribeBenchmarkTaskReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBenchmarkTaskReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGroupResult> DescribeGroupOutcome;
|
||||
typedef std::future<DescribeGroupOutcome> DescribeGroupOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeGroupRequest&, const DescribeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeResourceResult> DescribeResourceOutcome;
|
||||
typedef std::future<DescribeResourceOutcome> DescribeResourceOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeResourceRequest&, const DescribeResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceAsyncHandler;
|
||||
@@ -205,15 +234,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeServiceCronScalerResult> DescribeServiceCronScalerOutcome;
|
||||
typedef std::future<DescribeServiceCronScalerOutcome> DescribeServiceCronScalerOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceCronScalerRequest&, const DescribeServiceCronScalerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceCronScalerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceEventResult> DescribeServiceEventOutcome;
|
||||
typedef std::future<DescribeServiceEventOutcome> DescribeServiceEventOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceEventRequest&, const DescribeServiceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceLogResult> DescribeServiceLogOutcome;
|
||||
typedef std::future<DescribeServiceLogOutcome> DescribeServiceLogOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceLogRequest&, const DescribeServiceLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeServiceMirrorResult> DescribeServiceMirrorOutcome;
|
||||
typedef std::future<DescribeServiceMirrorOutcome> DescribeServiceMirrorOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceMirrorRequest&, const DescribeServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceMirrorAsyncHandler;
|
||||
typedef Outcome<Error, Model::DevelopServiceResult> DevelopServiceOutcome;
|
||||
typedef std::future<DevelopServiceOutcome> DevelopServiceOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::DevelopServiceRequest&, const DevelopServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DevelopServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListBenchmarkTaskResult> ListBenchmarkTaskOutcome;
|
||||
typedef std::future<ListBenchmarkTaskOutcome> ListBenchmarkTaskOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::ListBenchmarkTaskRequest&, const ListBenchmarkTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBenchmarkTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
|
||||
typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListResourceInstanceWorkerResult> ListResourceInstanceWorkerOutcome;
|
||||
typedef std::future<ListResourceInstanceWorkerOutcome> ListResourceInstanceWorkerOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::ListResourceInstanceWorkerRequest&, const ListResourceInstanceWorkerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceInstanceWorkerAsyncHandler;
|
||||
@@ -229,6 +267,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListServiceInstancesResult> ListServiceInstancesOutcome;
|
||||
typedef std::future<ListServiceInstancesOutcome> ListServiceInstancesOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::ListServiceInstancesRequest&, const ListServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListServiceVersionsResult> ListServiceVersionsOutcome;
|
||||
typedef std::future<ListServiceVersionsOutcome> ListServiceVersionsOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::ListServiceVersionsRequest&, const ListServiceVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceVersionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListServicesResult> ListServicesOutcome;
|
||||
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::ListServicesRequest&, const ListServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServicesAsyncHandler;
|
||||
@@ -256,6 +297,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateResourceDLinkResult> UpdateResourceDLinkOutcome;
|
||||
typedef std::future<UpdateResourceDLinkOutcome> UpdateResourceDLinkOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateResourceDLinkRequest&, const UpdateResourceDLinkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateResourceDLinkAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateResourceInstanceResult> UpdateResourceInstanceOutcome;
|
||||
typedef std::future<UpdateResourceInstanceOutcome> UpdateResourceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateResourceInstanceRequest&, const UpdateResourceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateResourceInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceResult> UpdateServiceOutcome;
|
||||
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceRequest&, const UpdateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceAsyncHandler;
|
||||
@@ -265,9 +309,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateServiceCronScalerResult> UpdateServiceCronScalerOutcome;
|
||||
typedef std::future<UpdateServiceCronScalerOutcome> UpdateServiceCronScalerOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceCronScalerRequest&, const UpdateServiceCronScalerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceCronScalerAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceLabelResult> UpdateServiceLabelOutcome;
|
||||
typedef std::future<UpdateServiceLabelOutcome> UpdateServiceLabelOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceLabelRequest&, const UpdateServiceLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceMirrorResult> UpdateServiceMirrorOutcome;
|
||||
typedef std::future<UpdateServiceMirrorOutcome> UpdateServiceMirrorOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceMirrorRequest&, const UpdateServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceMirrorAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceSafetyLockResult> UpdateServiceSafetyLockOutcome;
|
||||
typedef std::future<UpdateServiceSafetyLockOutcome> UpdateServiceSafetyLockOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceSafetyLockRequest&, const UpdateServiceSafetyLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceSafetyLockAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateServiceVersionResult> UpdateServiceVersionOutcome;
|
||||
typedef std::future<UpdateServiceVersionOutcome> UpdateServiceVersionOutcomeCallable;
|
||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceVersionRequest&, const UpdateServiceVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceVersionAsyncHandler;
|
||||
@@ -276,6 +326,9 @@ namespace AlibabaCloud
|
||||
EasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
EasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~EasClient();
|
||||
CommitServiceOutcome commitService(const Model::CommitServiceRequest &request)const;
|
||||
void commitServiceAsync(const Model::CommitServiceRequest& request, const CommitServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CommitServiceOutcomeCallable commitServiceCallable(const Model::CommitServiceRequest& request) const;
|
||||
CreateBenchmarkTaskOutcome createBenchmarkTask(const Model::CreateBenchmarkTaskRequest &request)const;
|
||||
void createBenchmarkTaskAsync(const Model::CreateBenchmarkTaskRequest& request, const CreateBenchmarkTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBenchmarkTaskOutcomeCallable createBenchmarkTaskCallable(const Model::CreateBenchmarkTaskRequest& request) const;
|
||||
@@ -327,6 +380,9 @@ namespace AlibabaCloud
|
||||
DeleteServiceInstancesOutcome deleteServiceInstances(const Model::DeleteServiceInstancesRequest &request)const;
|
||||
void deleteServiceInstancesAsync(const Model::DeleteServiceInstancesRequest& request, const DeleteServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceInstancesOutcomeCallable deleteServiceInstancesCallable(const Model::DeleteServiceInstancesRequest& request) const;
|
||||
DeleteServiceLabelOutcome deleteServiceLabel(const Model::DeleteServiceLabelRequest &request)const;
|
||||
void deleteServiceLabelAsync(const Model::DeleteServiceLabelRequest& request, const DeleteServiceLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceLabelOutcomeCallable deleteServiceLabelCallable(const Model::DeleteServiceLabelRequest& request) const;
|
||||
DeleteServiceMirrorOutcome deleteServiceMirror(const Model::DeleteServiceMirrorRequest &request)const;
|
||||
void deleteServiceMirrorAsync(const Model::DeleteServiceMirrorRequest& request, const DeleteServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServiceMirrorOutcomeCallable deleteServiceMirrorCallable(const Model::DeleteServiceMirrorRequest& request) const;
|
||||
@@ -336,6 +392,9 @@ namespace AlibabaCloud
|
||||
DescribeBenchmarkTaskReportOutcome describeBenchmarkTaskReport(const Model::DescribeBenchmarkTaskReportRequest &request)const;
|
||||
void describeBenchmarkTaskReportAsync(const Model::DescribeBenchmarkTaskReportRequest& request, const DescribeBenchmarkTaskReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBenchmarkTaskReportOutcomeCallable describeBenchmarkTaskReportCallable(const Model::DescribeBenchmarkTaskReportRequest& request) const;
|
||||
DescribeGroupOutcome describeGroup(const Model::DescribeGroupRequest &request)const;
|
||||
void describeGroupAsync(const Model::DescribeGroupRequest& request, const DescribeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGroupOutcomeCallable describeGroupCallable(const Model::DescribeGroupRequest& request) const;
|
||||
DescribeResourceOutcome describeResource(const Model::DescribeResourceRequest &request)const;
|
||||
void describeResourceAsync(const Model::DescribeResourceRequest& request, const DescribeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeResourceOutcomeCallable describeResourceCallable(const Model::DescribeResourceRequest& request) const;
|
||||
@@ -354,15 +413,24 @@ namespace AlibabaCloud
|
||||
DescribeServiceCronScalerOutcome describeServiceCronScaler(const Model::DescribeServiceCronScalerRequest &request)const;
|
||||
void describeServiceCronScalerAsync(const Model::DescribeServiceCronScalerRequest& request, const DescribeServiceCronScalerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceCronScalerOutcomeCallable describeServiceCronScalerCallable(const Model::DescribeServiceCronScalerRequest& request) const;
|
||||
DescribeServiceEventOutcome describeServiceEvent(const Model::DescribeServiceEventRequest &request)const;
|
||||
void describeServiceEventAsync(const Model::DescribeServiceEventRequest& request, const DescribeServiceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceEventOutcomeCallable describeServiceEventCallable(const Model::DescribeServiceEventRequest& request) const;
|
||||
DescribeServiceLogOutcome describeServiceLog(const Model::DescribeServiceLogRequest &request)const;
|
||||
void describeServiceLogAsync(const Model::DescribeServiceLogRequest& request, const DescribeServiceLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceLogOutcomeCallable describeServiceLogCallable(const Model::DescribeServiceLogRequest& request) const;
|
||||
DescribeServiceMirrorOutcome describeServiceMirror(const Model::DescribeServiceMirrorRequest &request)const;
|
||||
void describeServiceMirrorAsync(const Model::DescribeServiceMirrorRequest& request, const DescribeServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeServiceMirrorOutcomeCallable describeServiceMirrorCallable(const Model::DescribeServiceMirrorRequest& request) const;
|
||||
DevelopServiceOutcome developService(const Model::DevelopServiceRequest &request)const;
|
||||
void developServiceAsync(const Model::DevelopServiceRequest& request, const DevelopServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DevelopServiceOutcomeCallable developServiceCallable(const Model::DevelopServiceRequest& request) const;
|
||||
ListBenchmarkTaskOutcome listBenchmarkTask(const Model::ListBenchmarkTaskRequest &request)const;
|
||||
void listBenchmarkTaskAsync(const Model::ListBenchmarkTaskRequest& request, const ListBenchmarkTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListBenchmarkTaskOutcomeCallable listBenchmarkTaskCallable(const Model::ListBenchmarkTaskRequest& request) const;
|
||||
ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
|
||||
void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
|
||||
ListResourceInstanceWorkerOutcome listResourceInstanceWorker(const Model::ListResourceInstanceWorkerRequest &request)const;
|
||||
void listResourceInstanceWorkerAsync(const Model::ListResourceInstanceWorkerRequest& request, const ListResourceInstanceWorkerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListResourceInstanceWorkerOutcomeCallable listResourceInstanceWorkerCallable(const Model::ListResourceInstanceWorkerRequest& request) const;
|
||||
@@ -378,6 +446,9 @@ namespace AlibabaCloud
|
||||
ListServiceInstancesOutcome listServiceInstances(const Model::ListServiceInstancesRequest &request)const;
|
||||
void listServiceInstancesAsync(const Model::ListServiceInstancesRequest& request, const ListServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListServiceInstancesOutcomeCallable listServiceInstancesCallable(const Model::ListServiceInstancesRequest& request) const;
|
||||
ListServiceVersionsOutcome listServiceVersions(const Model::ListServiceVersionsRequest &request)const;
|
||||
void listServiceVersionsAsync(const Model::ListServiceVersionsRequest& request, const ListServiceVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListServiceVersionsOutcomeCallable listServiceVersionsCallable(const Model::ListServiceVersionsRequest& request) const;
|
||||
ListServicesOutcome listServices(const Model::ListServicesRequest &request)const;
|
||||
void listServicesAsync(const Model::ListServicesRequest& request, const ListServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListServicesOutcomeCallable listServicesCallable(const Model::ListServicesRequest& request) const;
|
||||
@@ -405,6 +476,9 @@ namespace AlibabaCloud
|
||||
UpdateResourceDLinkOutcome updateResourceDLink(const Model::UpdateResourceDLinkRequest &request)const;
|
||||
void updateResourceDLinkAsync(const Model::UpdateResourceDLinkRequest& request, const UpdateResourceDLinkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateResourceDLinkOutcomeCallable updateResourceDLinkCallable(const Model::UpdateResourceDLinkRequest& request) const;
|
||||
UpdateResourceInstanceOutcome updateResourceInstance(const Model::UpdateResourceInstanceRequest &request)const;
|
||||
void updateResourceInstanceAsync(const Model::UpdateResourceInstanceRequest& request, const UpdateResourceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateResourceInstanceOutcomeCallable updateResourceInstanceCallable(const Model::UpdateResourceInstanceRequest& request) const;
|
||||
UpdateServiceOutcome updateService(const Model::UpdateServiceRequest &request)const;
|
||||
void updateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceOutcomeCallable updateServiceCallable(const Model::UpdateServiceRequest& request) const;
|
||||
@@ -414,9 +488,15 @@ namespace AlibabaCloud
|
||||
UpdateServiceCronScalerOutcome updateServiceCronScaler(const Model::UpdateServiceCronScalerRequest &request)const;
|
||||
void updateServiceCronScalerAsync(const Model::UpdateServiceCronScalerRequest& request, const UpdateServiceCronScalerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceCronScalerOutcomeCallable updateServiceCronScalerCallable(const Model::UpdateServiceCronScalerRequest& request) const;
|
||||
UpdateServiceLabelOutcome updateServiceLabel(const Model::UpdateServiceLabelRequest &request)const;
|
||||
void updateServiceLabelAsync(const Model::UpdateServiceLabelRequest& request, const UpdateServiceLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceLabelOutcomeCallable updateServiceLabelCallable(const Model::UpdateServiceLabelRequest& request) const;
|
||||
UpdateServiceMirrorOutcome updateServiceMirror(const Model::UpdateServiceMirrorRequest &request)const;
|
||||
void updateServiceMirrorAsync(const Model::UpdateServiceMirrorRequest& request, const UpdateServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceMirrorOutcomeCallable updateServiceMirrorCallable(const Model::UpdateServiceMirrorRequest& request) const;
|
||||
UpdateServiceSafetyLockOutcome updateServiceSafetyLock(const Model::UpdateServiceSafetyLockRequest &request)const;
|
||||
void updateServiceSafetyLockAsync(const Model::UpdateServiceSafetyLockRequest& request, const UpdateServiceSafetyLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceSafetyLockOutcomeCallable updateServiceSafetyLockCallable(const Model::UpdateServiceSafetyLockRequest& request) const;
|
||||
UpdateServiceVersionOutcome updateServiceVersion(const Model::UpdateServiceVersionRequest &request)const;
|
||||
void updateServiceVersionAsync(const Model::UpdateServiceVersionRequest& request, const UpdateServiceVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateServiceVersionOutcomeCallable updateServiceVersionCallable(const Model::UpdateServiceVersionRequest& request) const;
|
||||
|
||||
45
eas/include/alibabacloud/eas/model/CommitServiceRequest.h
Normal file
45
eas/include/alibabacloud/eas/model/CommitServiceRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_COMMITSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_COMMITSERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT CommitServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
CommitServiceRequest();
|
||||
~CommitServiceRequest();
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_COMMITSERVICEREQUEST_H_
|
||||
51
eas/include/alibabacloud/eas/model/CommitServiceResult.h
Normal file
51
eas/include/alibabacloud/eas/model/CommitServiceResult.h
Normal 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_EAS_MODEL_COMMITSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_COMMITSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT CommitServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CommitServiceResult();
|
||||
explicit CommitServiceResult(const std::string &payload);
|
||||
~CommitServiceResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_COMMITSERVICERESULT_H_
|
||||
@@ -30,11 +30,11 @@ class ALIBABACLOUD_EAS_EXPORT CreateBenchmarkTaskRequest : public RoaServiceRequ
|
||||
public:
|
||||
CreateBenchmarkTaskRequest();
|
||||
~CreateBenchmarkTaskRequest();
|
||||
string getBody() const;
|
||||
void setBody(string body);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string body_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -38,15 +38,15 @@ namespace AlibabaCloud
|
||||
explicit CreateBenchmarkTaskResult(const std::string &payload);
|
||||
~CreateBenchmarkTaskResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTaskName()const;
|
||||
std::string getRegion()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string taskName_;
|
||||
std::string region_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateResourceInstancesRequest : public RoaService
|
||||
public:
|
||||
CreateResourceInstancesRequest();
|
||||
~CreateResourceInstancesRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateResourceLogRequest : public RoaServiceReques
|
||||
public:
|
||||
CreateResourceLogRequest();
|
||||
~CreateResourceLogRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceAutoScalerRequest : public RoaService
|
||||
public:
|
||||
CreateServiceAutoScalerRequest();
|
||||
~CreateServiceAutoScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceCronScalerRequest : public RoaService
|
||||
public:
|
||||
CreateServiceCronScalerRequest();
|
||||
~CreateServiceCronScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceMirrorRequest : public RoaServiceRequ
|
||||
public:
|
||||
CreateServiceMirrorRequest();
|
||||
~CreateServiceMirrorRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,11 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
CreateServiceRequest();
|
||||
~CreateServiceRequest();
|
||||
string getBody() const;
|
||||
void setBody(string body);
|
||||
std::string getDevelop() const;
|
||||
void setDevelop(const std::string &develop);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getLabels() const;
|
||||
void setLabels(const std::string &labels);
|
||||
|
||||
private:
|
||||
string body_;
|
||||
std::string develop_;
|
||||
std::string body_;
|
||||
std::string labels_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteBenchmarkTaskRequest : public RoaServiceRequ
|
||||
public:
|
||||
DeleteBenchmarkTaskRequest();
|
||||
~DeleteBenchmarkTaskRequest();
|
||||
string getTaskName() const;
|
||||
void setTaskName(string taskName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getTaskName() const;
|
||||
void setTaskName(const std::string &taskName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string taskName_;
|
||||
string clusterId_;
|
||||
std::string taskName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceDLinkRequest : public RoaServiceRequ
|
||||
public:
|
||||
DeleteResourceDLinkRequest();
|
||||
~DeleteResourceDLinkRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceInstancesRequest : public RoaService
|
||||
public:
|
||||
DeleteResourceInstancesRequest();
|
||||
~DeleteResourceInstancesRequest();
|
||||
string getInstanceList() const;
|
||||
void setInstanceList(string instanceList);
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
boolean getAllFailed() const;
|
||||
void setAllFailed(boolean allFailed);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getInstanceList() const;
|
||||
void setInstanceList(const std::string &instanceList);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
bool getAllFailed() const;
|
||||
void setAllFailed(bool allFailed);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string instanceList_;
|
||||
string resourceId_;
|
||||
boolean allFailed_;
|
||||
string clusterId_;
|
||||
std::string instanceList_;
|
||||
std::string resourceId_;
|
||||
bool allFailed_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceLogRequest : public RoaServiceReques
|
||||
public:
|
||||
DeleteResourceLogRequest();
|
||||
~DeleteResourceLogRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DeleteResourceRequest();
|
||||
~DeleteResourceRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceAutoScalerRequest : public RoaService
|
||||
public:
|
||||
DeleteServiceAutoScalerRequest();
|
||||
~DeleteServiceAutoScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceCronScalerRequest : public RoaService
|
||||
public:
|
||||
DeleteServiceCronScalerRequest();
|
||||
~DeleteServiceCronScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceInstancesRequest : public RoaServiceR
|
||||
public:
|
||||
DeleteServiceInstancesRequest();
|
||||
~DeleteServiceInstancesRequest();
|
||||
string getInstanceList() const;
|
||||
void setInstanceList(string instanceList);
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getInstanceList() const;
|
||||
void setInstanceList(const std::string &instanceList);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string instanceList_;
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string instanceList_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_DELETESERVICELABELREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT DeleteServiceLabelRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DeleteServiceLabelRequest();
|
||||
~DeleteServiceLabelRequest();
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELREQUEST_H_
|
||||
@@ -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_EAS_MODEL_DELETESERVICELABELRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT DeleteServiceLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteServiceLabelResult();
|
||||
explicit DeleteServiceLabelResult(const std::string &payload);
|
||||
~DeleteServiceLabelResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELRESULT_H_
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceMirrorRequest : public RoaServiceRequ
|
||||
public:
|
||||
DeleteServiceMirrorRequest();
|
||||
~DeleteServiceMirrorRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DeleteServiceRequest();
|
||||
~DeleteServiceRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT DescribeBenchmarkTaskReportRequest : public RoaSer
|
||||
public:
|
||||
DescribeBenchmarkTaskReportRequest();
|
||||
~DescribeBenchmarkTaskReportRequest();
|
||||
string getTaskName() const;
|
||||
void setTaskName(string taskName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getReportType() const;
|
||||
void setReportType(const std::string &reportType);
|
||||
std::string getTaskName() const;
|
||||
void setTaskName(const std::string &taskName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string taskName_;
|
||||
string clusterId_;
|
||||
std::string reportType_;
|
||||
std::string taskName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -38,11 +38,13 @@ namespace AlibabaCloud
|
||||
explicit DescribeBenchmarkTaskReportResult(const std::string &payload);
|
||||
~DescribeBenchmarkTaskReportResult();
|
||||
std::string getReportUrl()const;
|
||||
ObjectOfAny getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string reportUrl_;
|
||||
ObjectOfAny data_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeBenchmarkTaskRequest : public RoaServiceRe
|
||||
public:
|
||||
DescribeBenchmarkTaskRequest();
|
||||
~DescribeBenchmarkTaskRequest();
|
||||
string getTaskName() const;
|
||||
void setTaskName(string taskName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getTaskName() const;
|
||||
void setTaskName(const std::string &taskName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string taskName_;
|
||||
string clusterId_;
|
||||
std::string taskName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
long getAvailableAgent()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getMessage()const;
|
||||
std::string getEndpoint()const;
|
||||
std::string getTaskName()const;
|
||||
std::string getServiceName()const;
|
||||
long getDesiredAgent()const;
|
||||
@@ -56,6 +57,7 @@ namespace AlibabaCloud
|
||||
long availableAgent_;
|
||||
std::string taskId_;
|
||||
std::string message_;
|
||||
std::string endpoint_;
|
||||
std::string taskName_;
|
||||
std::string serviceName_;
|
||||
long desiredAgent_;
|
||||
|
||||
45
eas/include/alibabacloud/eas/model/DescribeGroupRequest.h
Normal file
45
eas/include/alibabacloud/eas/model/DescribeGroupRequest.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_DESCRIBEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT DescribeGroupRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DescribeGroupRequest();
|
||||
~DescribeGroupRequest();
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string groupName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPREQUEST_H_
|
||||
65
eas/include/alibabacloud/eas/model/DescribeGroupResult.h
Normal file
65
eas/include/alibabacloud/eas/model/DescribeGroupResult.h
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_DESCRIBEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT DescribeGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeGroupResult();
|
||||
explicit DescribeGroupResult(const std::string &payload);
|
||||
~DescribeGroupResult();
|
||||
std::string getClusterId()const;
|
||||
std::string getAccessToken()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getUpdateTime()const;
|
||||
std::string getInternetEndpoint()const;
|
||||
std::string getQueueService()const;
|
||||
std::string getIntranetEndpoint()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string clusterId_;
|
||||
std::string accessToken_;
|
||||
std::string createTime_;
|
||||
std::string updateTime_;
|
||||
std::string internetEndpoint_;
|
||||
std::string queueService_;
|
||||
std::string intranetEndpoint_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPRESULT_H_
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeResourceDLinkRequest : public RoaServiceRe
|
||||
public:
|
||||
DescribeResourceDLinkRequest();
|
||||
~DescribeResourceDLinkRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeResourceLogRequest : public RoaServiceRequ
|
||||
public:
|
||||
DescribeResourceLogRequest();
|
||||
~DescribeResourceLogRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeResourceRequest : public RoaServiceRequest
|
||||
public:
|
||||
DescribeResourceRequest();
|
||||
~DescribeResourceRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceAutoScalerRequest : public RoaServi
|
||||
public:
|
||||
DescribeServiceAutoScalerRequest();
|
||||
~DescribeServiceAutoScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -32,25 +32,39 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_EAS_EXPORT DescribeServiceAutoScalerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ScaleStrategy
|
||||
{
|
||||
std::string metricName;
|
||||
std::string service;
|
||||
float threshold;
|
||||
};
|
||||
struct CurrentMetric
|
||||
{
|
||||
std::string metricName;
|
||||
float value;
|
||||
std::string service;
|
||||
};
|
||||
|
||||
|
||||
DescribeServiceAutoScalerResult();
|
||||
explicit DescribeServiceAutoScalerResult(const std::string &payload);
|
||||
~DescribeServiceAutoScalerResult();
|
||||
std::vector<CurrentMetric> getCurrentMetrics()const;
|
||||
int getMaxReplica()const;
|
||||
std::string getServiceName()const;
|
||||
std::string getStrategies()const;
|
||||
int getMinReplica()const;
|
||||
std::string getCurrentValues()const;
|
||||
std::vector<ScaleStrategy> getScaleStrategies()const;
|
||||
std::string getBehavior()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CurrentMetric> currentMetrics_;
|
||||
int maxReplica_;
|
||||
std::string serviceName_;
|
||||
std::string strategies_;
|
||||
int minReplica_;
|
||||
std::string currentValues_;
|
||||
std::vector<ScaleStrategy> scaleStrategies_;
|
||||
std::string behavior_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceCronScalerRequest : public RoaServi
|
||||
public:
|
||||
DescribeServiceCronScalerRequest();
|
||||
~DescribeServiceCronScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -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_EAS_MODEL_DESCRIBESERVICEEVENTREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT DescribeServiceEventRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DescribeServiceEventRequest();
|
||||
~DescribeServiceEventRequest();
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getPageNum() const;
|
||||
void setPageNum(const std::string &pageNum);
|
||||
|
||||
private:
|
||||
std::string pageSize_;
|
||||
std::string endTime_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string startTime_;
|
||||
std::string pageNum_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_DESCRIBESERVICEEVENTRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT DescribeServiceEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EventsItem
|
||||
{
|
||||
std::string type;
|
||||
std::string message;
|
||||
std::string time;
|
||||
std::string reason;
|
||||
};
|
||||
|
||||
|
||||
DescribeServiceEventResult();
|
||||
explicit DescribeServiceEventResult(const std::string &payload);
|
||||
~DescribeServiceEventResult();
|
||||
long getTotalCount()const;
|
||||
long getPageNum()const;
|
||||
std::vector<EventsItem> getEvents()const;
|
||||
long getTotalPageNum()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageNum_;
|
||||
std::vector<EventsItem> events_;
|
||||
long totalPageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTRESULT_H_
|
||||
@@ -30,32 +30,32 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceLogRequest : public RoaServiceReque
|
||||
public:
|
||||
DescribeServiceLogRequest();
|
||||
~DescribeServiceLogRequest();
|
||||
string getIp() const;
|
||||
void setIp(string ip);
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
string getEndTime() const;
|
||||
void setEndTime(string endTime);
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getStartTime() const;
|
||||
void setStartTime(string startTime);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
integer getPageNum() const;
|
||||
void setPageNum(integer pageNum);
|
||||
string getKeyword() const;
|
||||
void setKeyword(string keyword);
|
||||
std::string getIp() const;
|
||||
void setIp(const std::string &ip);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
long getPageNum() const;
|
||||
void setPageNum(long pageNum);
|
||||
std::string getKeyword() const;
|
||||
void setKeyword(const std::string &keyword);
|
||||
|
||||
private:
|
||||
string ip_;
|
||||
integer pageSize_;
|
||||
string endTime_;
|
||||
string serviceName_;
|
||||
string startTime_;
|
||||
string clusterId_;
|
||||
integer pageNum_;
|
||||
string keyword_;
|
||||
std::string ip_;
|
||||
long pageSize_;
|
||||
std::string endTime_;
|
||||
std::string serviceName_;
|
||||
std::string startTime_;
|
||||
std::string clusterId_;
|
||||
long pageNum_;
|
||||
std::string keyword_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceMirrorRequest : public RoaServiceRe
|
||||
public:
|
||||
DescribeServiceMirrorRequest();
|
||||
~DescribeServiceMirrorRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceRequest : public RoaServiceRequest
|
||||
public:
|
||||
DescribeServiceRequest();
|
||||
~DescribeServiceRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -32,12 +32,18 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_EAS_EXPORT DescribeServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LabelsItem
|
||||
{
|
||||
std::string labelValue;
|
||||
std::string labelKey;
|
||||
};
|
||||
|
||||
|
||||
DescribeServiceResult();
|
||||
explicit DescribeServiceResult(const std::string &payload);
|
||||
~DescribeServiceResult();
|
||||
std::string getMessage()const;
|
||||
std::string getServiceGroup()const;
|
||||
int getMemory()const;
|
||||
int getCurrentVersion()const;
|
||||
int getRunningInstance()const;
|
||||
@@ -52,23 +58,31 @@ namespace AlibabaCloud
|
||||
std::string getServiceConfig()const;
|
||||
std::string getAccessToken()const;
|
||||
std::string getInternetEndpoint()const;
|
||||
std::string getResourceAlias()const;
|
||||
std::string getStatus()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getResource()const;
|
||||
std::vector<LabelsItem> getLabels()const;
|
||||
std::string get_Namespace()const;
|
||||
std::string getExtraData()const;
|
||||
int getWeight()const;
|
||||
std::string getRole()const;
|
||||
int getPendingInstance()const;
|
||||
int getLatestVersion()const;
|
||||
std::string getServiceName()const;
|
||||
std::string getSafetyLock()const;
|
||||
std::string getUpdateTime()const;
|
||||
std::string getServiceUid()const;
|
||||
std::string getRegion()const;
|
||||
std::string getParentUid()const;
|
||||
std::string getIntranetEndpoint()const;
|
||||
std::string getRoleAttrs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string serviceGroup_;
|
||||
int memory_;
|
||||
int currentVersion_;
|
||||
int runningInstance_;
|
||||
@@ -83,18 +97,25 @@ namespace AlibabaCloud
|
||||
std::string serviceConfig_;
|
||||
std::string accessToken_;
|
||||
std::string internetEndpoint_;
|
||||
std::string resourceAlias_;
|
||||
std::string status_;
|
||||
std::string createTime_;
|
||||
std::string resource_;
|
||||
std::vector<LabelsItem> labels_;
|
||||
std::string _namespace_;
|
||||
std::string extraData_;
|
||||
int weight_;
|
||||
std::string role_;
|
||||
int pendingInstance_;
|
||||
int latestVersion_;
|
||||
std::string serviceName_;
|
||||
std::string safetyLock_;
|
||||
std::string updateTime_;
|
||||
std::string serviceUid_;
|
||||
std::string region_;
|
||||
std::string parentUid_;
|
||||
std::string intranetEndpoint_;
|
||||
std::string roleAttrs_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
48
eas/include/alibabacloud/eas/model/DevelopServiceRequest.h
Normal file
48
eas/include/alibabacloud/eas/model/DevelopServiceRequest.h
Normal 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_EAS_MODEL_DEVELOPSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT DevelopServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DevelopServiceRequest();
|
||||
~DevelopServiceRequest();
|
||||
std::string getExit() const;
|
||||
void setExit(const std::string &exit);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
std::string exit_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICEREQUEST_H_
|
||||
51
eas/include/alibabacloud/eas/model/DevelopServiceResult.h
Normal file
51
eas/include/alibabacloud/eas/model/DevelopServiceResult.h
Normal 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_EAS_MODEL_DEVELOPSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT DevelopServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DevelopServiceResult();
|
||||
explicit DevelopServiceResult(const std::string &payload);
|
||||
~DevelopServiceResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICERESULT_H_
|
||||
@@ -30,8 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListBenchmarkTaskRequest : public RoaServiceReques
|
||||
public:
|
||||
ListBenchmarkTaskRequest();
|
||||
~ListBenchmarkTaskRequest();
|
||||
std::string getFilter() const;
|
||||
void setFilter(const std::string &filter);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getPageNumber() const;
|
||||
void setPageNumber(const std::string &pageNumber);
|
||||
|
||||
private:
|
||||
std::string filter_;
|
||||
std::string pageSize_;
|
||||
std::string serviceName_;
|
||||
std::string pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -49,12 +49,18 @@ namespace AlibabaCloud
|
||||
ListBenchmarkTaskResult();
|
||||
explicit ListBenchmarkTaskResult(const std::string &payload);
|
||||
~ListBenchmarkTaskResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<Task> getTasks()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<Task> tasks_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
48
eas/include/alibabacloud/eas/model/ListGroupsRequest.h
Normal file
48
eas/include/alibabacloud/eas/model/ListGroupsRequest.h
Normal 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_EAS_MODEL_LISTGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_LISTGROUPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT ListGroupsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListGroupsRequest();
|
||||
~ListGroupsRequest();
|
||||
std::string getFilter() const;
|
||||
void setFilter(const std::string &filter);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getPageNumber() const;
|
||||
void setPageNumber(const std::string &pageNumber);
|
||||
|
||||
private:
|
||||
std::string filter_;
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_LISTGROUPSREQUEST_H_
|
||||
68
eas/include/alibabacloud/eas/model/ListGroupsResult.h
Normal file
68
eas/include/alibabacloud/eas/model/ListGroupsResult.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_LISTGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_LISTGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT ListGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct 服务组列表
|
||||
{
|
||||
std::string clusterId;
|
||||
std::string accessToken;
|
||||
std::string createTime;
|
||||
std::string updateTime;
|
||||
std::string internetEndpoint;
|
||||
std::string queueService;
|
||||
std::string intranetEndpoint;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListGroupsResult();
|
||||
explicit ListGroupsResult(const std::string &payload);
|
||||
~ListGroupsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<服务组列表> getGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<服务组列表> groups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_LISTGROUPSRESULT_H_
|
||||
@@ -30,23 +30,23 @@ class ALIBABACLOUD_EAS_EXPORT ListResourceInstanceWorkerRequest : public RoaServ
|
||||
public:
|
||||
ListResourceInstanceWorkerRequest();
|
||||
~ListResourceInstanceWorkerRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getInstanceName() const;
|
||||
void setInstanceName(string instanceName);
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
integer getPageNumber() const;
|
||||
void setPageNumber(integer pageNumber);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string instanceName_;
|
||||
integer pageSize_;
|
||||
string clusterId_;
|
||||
integer pageNumber_;
|
||||
std::string resourceId_;
|
||||
std::string instanceName_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,23 +30,29 @@ class ALIBABACLOUD_EAS_EXPORT ListResourceInstancesRequest : public RoaServiceRe
|
||||
public:
|
||||
ListResourceInstancesRequest();
|
||||
~ListResourceInstancesRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
string getChargeType() const;
|
||||
void setChargeType(string chargeType);
|
||||
integer getPageNumber() const;
|
||||
void setPageNumber(integer pageNumber);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getChargeType() const;
|
||||
void setChargeType(const std::string &chargeType);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
integer pageSize_;
|
||||
string clusterId_;
|
||||
string chargeType_;
|
||||
integer pageNumber_;
|
||||
std::string resourceId_;
|
||||
std::string instanceName_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
std::string chargeType_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -35,18 +35,24 @@ namespace AlibabaCloud
|
||||
struct InstancesItem
|
||||
{
|
||||
std::string instanceId;
|
||||
std::string zone;
|
||||
std::string createTime;
|
||||
std::string instanceUsedMemory;
|
||||
std::string instanceIp;
|
||||
std::string arch;
|
||||
std::string instanceGpuMemory;
|
||||
int instanceGpuCount;
|
||||
std::string instanceName;
|
||||
std::string instanceMemory;
|
||||
std::string instanceUsedGpuMemory;
|
||||
int instanceCpuCount;
|
||||
int instanceUsedGpu;
|
||||
float instanceUsedGpu;
|
||||
bool autoRenewal;
|
||||
std::string instanceTenantIp;
|
||||
std::string instanceStatus;
|
||||
std::string chargeType;
|
||||
std::string expiredTime;
|
||||
std::string region;
|
||||
std::string instanceType;
|
||||
float instanceUsedCpu;
|
||||
};
|
||||
|
||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListResourceServicesRequest : public RoaServiceReq
|
||||
public:
|
||||
ListResourceServicesRequest();
|
||||
~ListResourceServicesRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
integer getPageNumber() const;
|
||||
void setPageNumber(integer pageNumber);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
integer pageSize_;
|
||||
string clusterId_;
|
||||
integer pageNumber_;
|
||||
std::string resourceId_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -34,7 +34,13 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ServicesItem
|
||||
{
|
||||
struct LabelsItem
|
||||
{
|
||||
std::string labelValue;
|
||||
std::string labelKey;
|
||||
};
|
||||
std::string message;
|
||||
std::string serviceGroup;
|
||||
int memory;
|
||||
int currentVersion;
|
||||
int runningInstance;
|
||||
@@ -49,19 +55,26 @@ namespace AlibabaCloud
|
||||
std::string serviceConfig;
|
||||
std::string accessToken;
|
||||
std::string internetEndpoint;
|
||||
std::string resourceAlias;
|
||||
std::string status;
|
||||
std::string requestId;
|
||||
std::string createTime;
|
||||
std::string resource;
|
||||
std::vector<ServicesItem::LabelsItem> labels;
|
||||
std::string _namespace;
|
||||
std::string extraData;
|
||||
int weight;
|
||||
std::string role;
|
||||
int pendingInstance;
|
||||
int latestVersion;
|
||||
std::string serviceName;
|
||||
std::string safetyLock;
|
||||
std::string updateTime;
|
||||
std::string serviceUid;
|
||||
std::string region;
|
||||
std::string parentUid;
|
||||
std::string intranetEndpoint;
|
||||
std::string roleAttrs;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,14 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListResourcesRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListResourcesRequest();
|
||||
~ListResourcesRequest();
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
integer getPageNumber() const;
|
||||
void setPageNumber(integer pageNumber);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceName() const;
|
||||
void setResourceName(const std::string &resourceName);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
integer pageSize_;
|
||||
integer pageNumber_;
|
||||
std::string resourceId_;
|
||||
int pageSize_;
|
||||
std::string resourceName_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListServiceInstancesRequest : public RoaServiceReq
|
||||
public:
|
||||
ListServiceInstancesRequest();
|
||||
~ListServiceInstancesRequest();
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
integer getPageNumber() const;
|
||||
void setPageNumber(integer pageNumber);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
integer pageSize_;
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
integer pageNumber_;
|
||||
int pageSize_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -39,13 +39,17 @@ namespace AlibabaCloud
|
||||
std::string innerIP;
|
||||
int instancePort;
|
||||
std::string _namespace;
|
||||
std::string resourceType;
|
||||
std::string tenantInstanceIP;
|
||||
std::string reason;
|
||||
std::string instanceName;
|
||||
int restartCount;
|
||||
int totalProcesses;
|
||||
std::string role;
|
||||
std::vector<std::string> lastState;
|
||||
int readyProcesses;
|
||||
std::string startAt;
|
||||
std::string tenantHostIP;
|
||||
std::string hostName;
|
||||
};
|
||||
|
||||
|
||||
@@ -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_EAS_MODEL_LISTSERVICEVERSIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT ListServiceVersionsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListServiceVersionsRequest();
|
||||
~ListServiceVersionsRequest();
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_LISTSERVICEVERSIONSRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT ListServiceVersionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VersionsItem
|
||||
{
|
||||
std::string message;
|
||||
std::string imageAvailable;
|
||||
int imageId;
|
||||
std::string buildTime;
|
||||
std::string serviceRunnable;
|
||||
};
|
||||
|
||||
|
||||
ListServiceVersionsResult();
|
||||
explicit ListServiceVersionsResult(const std::string &payload);
|
||||
~ListServiceVersionsResult();
|
||||
long getTotalCount()const;
|
||||
std::vector<VersionsItem> getVersions()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::vector<VersionsItem> versions_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSRESULT_H_
|
||||
@@ -30,23 +30,35 @@ class ALIBABACLOUD_EAS_EXPORT ListServicesRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListServicesRequest();
|
||||
~ListServicesRequest();
|
||||
string getFilter() const;
|
||||
void setFilter(string filter);
|
||||
integer getPageSize() const;
|
||||
void setPageSize(integer pageSize);
|
||||
string getSort() const;
|
||||
void setSort(string sort);
|
||||
integer getPageNumber() const;
|
||||
void setPageNumber(integer pageNumber);
|
||||
string getOrder() const;
|
||||
void setOrder(string order);
|
||||
std::string getFilter() const;
|
||||
void setFilter(const std::string &filter);
|
||||
std::string getServiceType() const;
|
||||
void setServiceType(const std::string &serviceType);
|
||||
std::string getParentServiceUid() const;
|
||||
void setParentServiceUid(const std::string &parentServiceUid);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSort() const;
|
||||
void setSort(const std::string &sort);
|
||||
std::string getLabel() const;
|
||||
void setLabel(const std::string &label);
|
||||
std::string getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getOrder() const;
|
||||
void setOrder(const std::string &order);
|
||||
|
||||
private:
|
||||
string filter_;
|
||||
integer pageSize_;
|
||||
string sort_;
|
||||
integer pageNumber_;
|
||||
string order_;
|
||||
std::string filter_;
|
||||
std::string serviceType_;
|
||||
std::string parentServiceUid_;
|
||||
int pageSize_;
|
||||
std::string sort_;
|
||||
std::string label_;
|
||||
std::string groupName_;
|
||||
int pageNumber_;
|
||||
std::string order_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -34,7 +34,13 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ServicesItem
|
||||
{
|
||||
struct LabelsItem
|
||||
{
|
||||
std::string labelValue;
|
||||
std::string labelKey;
|
||||
};
|
||||
std::string message;
|
||||
std::string serviceGroup;
|
||||
int memory;
|
||||
int currentVersion;
|
||||
int runningInstance;
|
||||
@@ -49,19 +55,26 @@ namespace AlibabaCloud
|
||||
std::string serviceConfig;
|
||||
std::string accessToken;
|
||||
std::string internetEndpoint;
|
||||
std::string resourceAlias;
|
||||
std::string status;
|
||||
std::string requestId;
|
||||
std::string createTime;
|
||||
std::string resource;
|
||||
std::vector<ServicesItem::LabelsItem> labels;
|
||||
std::string _namespace;
|
||||
std::string extraData;
|
||||
int weight;
|
||||
std::string role;
|
||||
int pendingInstance;
|
||||
int latestVersion;
|
||||
std::string serviceName;
|
||||
std::string safetyLock;
|
||||
std::string updateTime;
|
||||
std::string serviceUid;
|
||||
std::string region;
|
||||
std::string parentUid;
|
||||
std::string intranetEndpoint;
|
||||
std::string roleAttrs;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT ReleaseServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ReleaseServiceRequest();
|
||||
~ReleaseServiceRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StartBenchmarkTaskRequest : public RoaServiceReque
|
||||
public:
|
||||
StartBenchmarkTaskRequest();
|
||||
~StartBenchmarkTaskRequest();
|
||||
string getTaskName() const;
|
||||
void setTaskName(string taskName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getTaskName() const;
|
||||
void setTaskName(const std::string &taskName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string taskName_;
|
||||
string clusterId_;
|
||||
std::string taskName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StartServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
StartServiceRequest();
|
||||
~StartServiceRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StopBenchmarkTaskRequest : public RoaServiceReques
|
||||
public:
|
||||
StopBenchmarkTaskRequest();
|
||||
~StopBenchmarkTaskRequest();
|
||||
string getTaskName() const;
|
||||
void setTaskName(string taskName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getTaskName() const;
|
||||
void setTaskName(const std::string &taskName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string taskName_;
|
||||
string clusterId_;
|
||||
std::string taskName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StopServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
StopServiceRequest();
|
||||
~StopServiceRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT UpdateBenchmarkTaskRequest : public RoaServiceRequ
|
||||
public:
|
||||
UpdateBenchmarkTaskRequest();
|
||||
~UpdateBenchmarkTaskRequest();
|
||||
string getTaskName() const;
|
||||
void setTaskName(string taskName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
string getBody() const;
|
||||
void setBody(string body);
|
||||
std::string getTaskName() const;
|
||||
void setTaskName(const std::string &taskName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string taskName_;
|
||||
string clusterId_;
|
||||
string body_;
|
||||
std::string taskName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateResourceDLinkRequest : public RoaServiceRequ
|
||||
public:
|
||||
UpdateResourceDLinkRequest();
|
||||
~UpdateResourceDLinkRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -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_EAS_MODEL_UPDATERESOURCEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT UpdateResourceInstanceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateResourceInstanceRequest();
|
||||
~UpdateResourceInstanceRequest();
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string instanceId_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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_EAS_MODEL_UPDATERESOURCEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT UpdateResourceInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateResourceInstanceResult();
|
||||
explicit UpdateResourceInstanceResult(const std::string &payload);
|
||||
~UpdateResourceInstanceResult();
|
||||
std::string getResourceId()const;
|
||||
std::string getInstanceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCERESULT_H_
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateResourceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateResourceRequest();
|
||||
~UpdateResourceRequest();
|
||||
string getResourceId() const;
|
||||
void setResourceId(string resourceId);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string resourceId_;
|
||||
string clusterId_;
|
||||
std::string resourceId_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceAutoScalerRequest : public RoaService
|
||||
public:
|
||||
UpdateServiceAutoScalerRequest();
|
||||
~UpdateServiceAutoScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceCronScalerRequest : public RoaService
|
||||
public:
|
||||
UpdateServiceCronScalerRequest();
|
||||
~UpdateServiceCronScalerRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -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_EAS_MODEL_UPDATESERVICELABELREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT UpdateServiceLabelRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateServiceLabelRequest();
|
||||
~UpdateServiceLabelRequest();
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELREQUEST_H_
|
||||
@@ -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_EAS_MODEL_UPDATESERVICELABELRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT UpdateServiceLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateServiceLabelResult();
|
||||
explicit UpdateServiceLabelResult(const std::string &payload);
|
||||
~UpdateServiceLabelResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELRESULT_H_
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceMirrorRequest : public RoaServiceRequ
|
||||
public:
|
||||
UpdateServiceMirrorRequest();
|
||||
~UpdateServiceMirrorRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateServiceRequest();
|
||||
~UpdateServiceRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
string getBody() const;
|
||||
void setBody(string body);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
string body_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
|
||||
@@ -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_EAS_MODEL_UPDATESERVICESAFETYLOCKREQUEST_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eas {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EAS_EXPORT UpdateServiceSafetyLockRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateServiceSafetyLockRequest();
|
||||
~UpdateServiceSafetyLockRequest();
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eas
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKREQUEST_H_
|
||||
@@ -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_EAS_MODEL_UPDATESERVICESAFETYLOCKRESULT_H_
|
||||
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eas/EasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EAS_EXPORT UpdateServiceSafetyLockResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateServiceSafetyLockResult();
|
||||
explicit UpdateServiceSafetyLockResult(const std::string &payload);
|
||||
~UpdateServiceSafetyLockResult();
|
||||
std::string getMessage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKRESULT_H_
|
||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceVersionRequest : public RoaServiceReq
|
||||
public:
|
||||
UpdateServiceVersionRequest();
|
||||
~UpdateServiceVersionRequest();
|
||||
string getServiceName() const;
|
||||
void setServiceName(string serviceName);
|
||||
string getClusterId() const;
|
||||
void setClusterId(string clusterId);
|
||||
std::string getServiceName() const;
|
||||
void setServiceName(const std::string &serviceName);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
string serviceName_;
|
||||
string clusterId_;
|
||||
std::string serviceName_;
|
||||
std::string clusterId_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
Reference in New Issue
Block a user