EHPC SDK Auto Released By qianzheng.llc,Version:1.24.0
Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
This commit is contained in:
@@ -52,6 +52,8 @@
|
||||
#include "model/StopJobsResult.h"
|
||||
#include "model/StartNodesRequest.h"
|
||||
#include "model/StartNodesResult.h"
|
||||
#include "model/GetCloudMetricProfilingRequest.h"
|
||||
#include "model/GetCloudMetricProfilingResult.h"
|
||||
#include "model/GetAutoScaleConfigRequest.h"
|
||||
#include "model/GetAutoScaleConfigResult.h"
|
||||
#include "model/ListNodesRequest.h"
|
||||
@@ -120,6 +122,8 @@
|
||||
#include "model/ModifyImageGatewayConfigResult.h"
|
||||
#include "model/ListContainerAppsRequest.h"
|
||||
#include "model/ListContainerAppsResult.h"
|
||||
#include "model/ListCloudMetricProfilingsRequest.h"
|
||||
#include "model/ListCloudMetricProfilingsResult.h"
|
||||
#include "model/SetJobUserRequest.h"
|
||||
#include "model/SetJobUserResult.h"
|
||||
#include "model/ListClustersRequest.h"
|
||||
@@ -130,6 +134,8 @@
|
||||
#include "model/ListRegionsResult.h"
|
||||
#include "model/DescribeAutoScaleConfigRequest.h"
|
||||
#include "model/DescribeAutoScaleConfigResult.h"
|
||||
#include "model/RunCloudMetricProfilingRequest.h"
|
||||
#include "model/RunCloudMetricProfilingResult.h"
|
||||
#include "model/RerunJobsRequest.h"
|
||||
#include "model/RerunJobsResult.h"
|
||||
#include "model/EditJobTemplateRequest.h"
|
||||
@@ -198,6 +204,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartNodesResult> StartNodesOutcome;
|
||||
typedef std::future<StartNodesOutcome> StartNodesOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::StartNodesRequest&, const StartNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartNodesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCloudMetricProfilingResult> GetCloudMetricProfilingOutcome;
|
||||
typedef std::future<GetCloudMetricProfilingOutcome> GetCloudMetricProfilingOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::GetCloudMetricProfilingRequest&, const GetCloudMetricProfilingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCloudMetricProfilingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAutoScaleConfigResult> GetAutoScaleConfigOutcome;
|
||||
typedef std::future<GetAutoScaleConfigOutcome> GetAutoScaleConfigOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::GetAutoScaleConfigRequest&, const GetAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAutoScaleConfigAsyncHandler;
|
||||
@@ -300,6 +309,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListContainerAppsResult> ListContainerAppsOutcome;
|
||||
typedef std::future<ListContainerAppsOutcome> ListContainerAppsOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::ListContainerAppsRequest&, const ListContainerAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListContainerAppsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCloudMetricProfilingsResult> ListCloudMetricProfilingsOutcome;
|
||||
typedef std::future<ListCloudMetricProfilingsOutcome> ListCloudMetricProfilingsOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::ListCloudMetricProfilingsRequest&, const ListCloudMetricProfilingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCloudMetricProfilingsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetJobUserResult> SetJobUserOutcome;
|
||||
typedef std::future<SetJobUserOutcome> SetJobUserOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::SetJobUserRequest&, const SetJobUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetJobUserAsyncHandler;
|
||||
@@ -315,6 +327,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAutoScaleConfigResult> DescribeAutoScaleConfigOutcome;
|
||||
typedef std::future<DescribeAutoScaleConfigOutcome> DescribeAutoScaleConfigOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::DescribeAutoScaleConfigRequest&, const DescribeAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoScaleConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::RunCloudMetricProfilingResult> RunCloudMetricProfilingOutcome;
|
||||
typedef std::future<RunCloudMetricProfilingOutcome> RunCloudMetricProfilingOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::RunCloudMetricProfilingRequest&, const RunCloudMetricProfilingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunCloudMetricProfilingAsyncHandler;
|
||||
typedef Outcome<Error, Model::RerunJobsResult> RerunJobsOutcome;
|
||||
typedef std::future<RerunJobsOutcome> RerunJobsOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::RerunJobsRequest&, const RerunJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RerunJobsAsyncHandler;
|
||||
@@ -386,6 +401,9 @@ namespace AlibabaCloud
|
||||
StartNodesOutcome startNodes(const Model::StartNodesRequest &request)const;
|
||||
void startNodesAsync(const Model::StartNodesRequest& request, const StartNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartNodesOutcomeCallable startNodesCallable(const Model::StartNodesRequest& request) const;
|
||||
GetCloudMetricProfilingOutcome getCloudMetricProfiling(const Model::GetCloudMetricProfilingRequest &request)const;
|
||||
void getCloudMetricProfilingAsync(const Model::GetCloudMetricProfilingRequest& request, const GetCloudMetricProfilingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCloudMetricProfilingOutcomeCallable getCloudMetricProfilingCallable(const Model::GetCloudMetricProfilingRequest& request) const;
|
||||
GetAutoScaleConfigOutcome getAutoScaleConfig(const Model::GetAutoScaleConfigRequest &request)const;
|
||||
void getAutoScaleConfigAsync(const Model::GetAutoScaleConfigRequest& request, const GetAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAutoScaleConfigOutcomeCallable getAutoScaleConfigCallable(const Model::GetAutoScaleConfigRequest& request) const;
|
||||
@@ -488,6 +506,9 @@ namespace AlibabaCloud
|
||||
ListContainerAppsOutcome listContainerApps(const Model::ListContainerAppsRequest &request)const;
|
||||
void listContainerAppsAsync(const Model::ListContainerAppsRequest& request, const ListContainerAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListContainerAppsOutcomeCallable listContainerAppsCallable(const Model::ListContainerAppsRequest& request) const;
|
||||
ListCloudMetricProfilingsOutcome listCloudMetricProfilings(const Model::ListCloudMetricProfilingsRequest &request)const;
|
||||
void listCloudMetricProfilingsAsync(const Model::ListCloudMetricProfilingsRequest& request, const ListCloudMetricProfilingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCloudMetricProfilingsOutcomeCallable listCloudMetricProfilingsCallable(const Model::ListCloudMetricProfilingsRequest& request) const;
|
||||
SetJobUserOutcome setJobUser(const Model::SetJobUserRequest &request)const;
|
||||
void setJobUserAsync(const Model::SetJobUserRequest& request, const SetJobUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetJobUserOutcomeCallable setJobUserCallable(const Model::SetJobUserRequest& request) const;
|
||||
@@ -503,6 +524,9 @@ namespace AlibabaCloud
|
||||
DescribeAutoScaleConfigOutcome describeAutoScaleConfig(const Model::DescribeAutoScaleConfigRequest &request)const;
|
||||
void describeAutoScaleConfigAsync(const Model::DescribeAutoScaleConfigRequest& request, const DescribeAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAutoScaleConfigOutcomeCallable describeAutoScaleConfigCallable(const Model::DescribeAutoScaleConfigRequest& request) const;
|
||||
RunCloudMetricProfilingOutcome runCloudMetricProfiling(const Model::RunCloudMetricProfilingRequest &request)const;
|
||||
void runCloudMetricProfilingAsync(const Model::RunCloudMetricProfilingRequest& request, const RunCloudMetricProfilingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RunCloudMetricProfilingOutcomeCallable runCloudMetricProfilingCallable(const Model::RunCloudMetricProfilingRequest& request) const;
|
||||
RerunJobsOutcome rerunJobs(const Model::RerunJobsRequest &request)const;
|
||||
void rerunJobsAsync(const Model::RerunJobsRequest& request, const RerunJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RerunJobsOutcomeCallable rerunJobsCallable(const Model::RerunJobsRequest& request) const;
|
||||
|
||||
@@ -32,9 +32,9 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct User
|
||||
{
|
||||
std::string password;
|
||||
std::string name;
|
||||
std::string group;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct PostInstallScript
|
||||
{
|
||||
std::string url;
|
||||
std::string args;
|
||||
std::string url;
|
||||
};
|
||||
struct Application
|
||||
{
|
||||
@@ -86,6 +86,8 @@ namespace AlibabaCloud
|
||||
void setPeriod(int period);
|
||||
std::string getVolumeProtocol()const;
|
||||
void setVolumeProtocol(const std::string& volumeProtocol);
|
||||
std::string getClientVersion()const;
|
||||
void setClientVersion(const std::string& clientVersion);
|
||||
std::string getOsTag()const;
|
||||
void setOsTag(const std::string& osTag);
|
||||
std::string getRemoteDirectory()const;
|
||||
@@ -147,6 +149,7 @@ namespace AlibabaCloud
|
||||
int autoRenewPeriod_;
|
||||
int period_;
|
||||
std::string volumeProtocol_;
|
||||
std::string clientVersion_;
|
||||
std::string osTag_;
|
||||
std::string remoteDirectory_;
|
||||
int ecsOrderComputeCount_;
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setVolumeProtocol(const std::string& volumeProtocol);
|
||||
std::string getOnPremiseVolumeLocalPath()const;
|
||||
void setOnPremiseVolumeLocalPath(const std::string& onPremiseVolumeLocalPath);
|
||||
std::string getClientVersion()const;
|
||||
void setClientVersion(const std::string& clientVersion);
|
||||
std::string getOsTag()const;
|
||||
void setOsTag(const std::string& osTag);
|
||||
std::string getRemoteDirectory()const;
|
||||
@@ -107,6 +109,7 @@ namespace AlibabaCloud
|
||||
std::string onPremiseVolumeProtocol_;
|
||||
std::string volumeProtocol_;
|
||||
std::string onPremiseVolumeLocalPath_;
|
||||
std::string clientVersion_;
|
||||
std::string osTag_;
|
||||
std::string remoteDirectory_;
|
||||
std::string vSwitchId_;
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
void setFilter(const std::string& filter);
|
||||
std::string getMetricCategories()const;
|
||||
void setMetricCategories(const std::string& metricCategories);
|
||||
int getLine()const;
|
||||
void setLine(int line);
|
||||
std::string getMetricScope()const;
|
||||
void setMetricScope(const std::string& metricScope);
|
||||
int getFrom()const;
|
||||
@@ -62,7 +60,6 @@ namespace AlibabaCloud
|
||||
std::string aggregationType_;
|
||||
std::string filter_;
|
||||
std::string metricCategories_;
|
||||
int line_;
|
||||
std::string metricScope_;
|
||||
int from_;
|
||||
std::string clusterId_;
|
||||
|
||||
@@ -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_EHPC_MODEL_GETCLOUDMETRICPROFILINGREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT GetCloudMetricProfilingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetCloudMetricProfilingRequest();
|
||||
~GetCloudMetricProfilingRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProfilingId()const;
|
||||
void setProfilingId(const std::string& profilingId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string profilingId_;
|
||||
std::string clusterId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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_EHPC_MODEL_GETCLOUDMETRICPROFILINGRESULT_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT GetCloudMetricProfilingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SvgInfo
|
||||
{
|
||||
std::string type;
|
||||
int size;
|
||||
std::string url;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetCloudMetricProfilingResult();
|
||||
explicit GetCloudMetricProfilingResult(const std::string &payload);
|
||||
~GetCloudMetricProfilingResult();
|
||||
std::vector<SvgInfo> getSvgUrls()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SvgInfo> svgUrls_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_GETCLOUDMETRICPROFILINGRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EHPC_MODEL_LISTCLOUDMETRICPROFILINGSREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_LISTCLOUDMETRICPROFILINGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ListCloudMetricProfilingsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCloudMetricProfilingsRequest();
|
||||
~ListCloudMetricProfilingsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string clusterId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTCLOUDMETRICPROFILINGSREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EHPC_MODEL_LISTCLOUDMETRICPROFILINGSRESULT_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_LISTCLOUDMETRICPROFILINGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT ListCloudMetricProfilingsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProfilingInfo
|
||||
{
|
||||
std::string profilingId;
|
||||
std::string instanceId;
|
||||
std::string triggerTime;
|
||||
int freq;
|
||||
int pid;
|
||||
int duration;
|
||||
std::string hostName;
|
||||
};
|
||||
|
||||
|
||||
ListCloudMetricProfilingsResult();
|
||||
explicit ListCloudMetricProfilingsResult(const std::string &payload);
|
||||
~ListCloudMetricProfilingsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ProfilingInfo> getProfilings()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<ProfilingInfo> profilings_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_LISTCLOUDMETRICPROFILINGSRESULT_H_
|
||||
@@ -53,12 +53,14 @@ namespace AlibabaCloud
|
||||
std::string addTime;
|
||||
UsedResources usedResources;
|
||||
bool createdByEhpc;
|
||||
std::string version;
|
||||
TotalResources totalResources;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
std::string lockReason;
|
||||
std::string hostName;
|
||||
std::string spotStrategy;
|
||||
};
|
||||
|
||||
|
||||
@@ -53,12 +53,14 @@ namespace AlibabaCloud
|
||||
std::string addTime;
|
||||
UsedResources usedResources;
|
||||
bool createdByEhpc;
|
||||
std::string version;
|
||||
TotalResources totalResources;
|
||||
std::string expiredTime;
|
||||
std::string imageId;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
std::string lockReason;
|
||||
std::string hostName;
|
||||
std::string spotStrategy;
|
||||
std::string location;
|
||||
};
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Repo
|
||||
{
|
||||
std::string location;
|
||||
std::string auth;
|
||||
std::string location;
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct User
|
||||
{
|
||||
std::string name;
|
||||
std::string password;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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_EHPC_MODEL_RUNCLOUDMETRICPROFILINGREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_RUNCLOUDMETRICPROFILINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT RunCloudMetricProfilingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RunCloudMetricProfilingRequest();
|
||||
~RunCloudMetricProfilingRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getProcessId()const;
|
||||
void setProcessId(int processId);
|
||||
int getFreq()const;
|
||||
void setFreq(int freq);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string hostName_;
|
||||
std::string regionId_;
|
||||
int processId_;
|
||||
int freq_;
|
||||
std::string clusterId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_RUNCLOUDMETRICPROFILINGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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_EHPC_MODEL_RUNCLOUDMETRICPROFILINGRESULT_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_RUNCLOUDMETRICPROFILINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace EHPC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EHPC_EXPORT RunCloudMetricProfilingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RunCloudMetricProfilingResult();
|
||||
explicit RunCloudMetricProfilingResult(const std::string &payload);
|
||||
~RunCloudMetricProfilingResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_RUNCLOUDMETRICPROFILINGRESULT_H_
|
||||
Reference in New Issue
Block a user