RunasUserPassword is not required in CreateJobFile.
This commit is contained in:
@@ -124,6 +124,8 @@
|
||||
#include "model/GetHybridClusterConfigResult.h"
|
||||
#include "model/GetIfEcsTypeSupportHtConfigRequest.h"
|
||||
#include "model/GetIfEcsTypeSupportHtConfigResult.h"
|
||||
#include "model/GetJobLogRequest.h"
|
||||
#include "model/GetJobLogResult.h"
|
||||
#include "model/GetPostScriptsRequest.h"
|
||||
#include "model/GetPostScriptsResult.h"
|
||||
#include "model/GetSchedulerInfoRequest.h"
|
||||
@@ -448,6 +450,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetIfEcsTypeSupportHtConfigResult> GetIfEcsTypeSupportHtConfigOutcome;
|
||||
typedef std::future<GetIfEcsTypeSupportHtConfigOutcome> GetIfEcsTypeSupportHtConfigOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::GetIfEcsTypeSupportHtConfigRequest&, const GetIfEcsTypeSupportHtConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetIfEcsTypeSupportHtConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobLogResult> GetJobLogOutcome;
|
||||
typedef std::future<GetJobLogOutcome> GetJobLogOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::GetJobLogRequest&, const GetJobLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPostScriptsResult> GetPostScriptsOutcome;
|
||||
typedef std::future<GetPostScriptsOutcome> GetPostScriptsOutcomeCallable;
|
||||
typedef std::function<void(const EHPCClient*, const Model::GetPostScriptsRequest&, const GetPostScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPostScriptsAsyncHandler;
|
||||
@@ -849,6 +854,9 @@ namespace AlibabaCloud
|
||||
GetIfEcsTypeSupportHtConfigOutcome getIfEcsTypeSupportHtConfig(const Model::GetIfEcsTypeSupportHtConfigRequest &request)const;
|
||||
void getIfEcsTypeSupportHtConfigAsync(const Model::GetIfEcsTypeSupportHtConfigRequest& request, const GetIfEcsTypeSupportHtConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetIfEcsTypeSupportHtConfigOutcomeCallable getIfEcsTypeSupportHtConfigCallable(const Model::GetIfEcsTypeSupportHtConfigRequest& request) const;
|
||||
GetJobLogOutcome getJobLog(const Model::GetJobLogRequest &request)const;
|
||||
void getJobLogAsync(const Model::GetJobLogRequest& request, const GetJobLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobLogOutcomeCallable getJobLogCallable(const Model::GetJobLogRequest& request) const;
|
||||
GetPostScriptsOutcome getPostScripts(const Model::GetPostScriptsRequest &request)const;
|
||||
void getPostScriptsAsync(const Model::GetPostScriptsRequest& request, const GetPostScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPostScriptsOutcomeCallable getPostScriptsCallable(const Model::GetPostScriptsRequest& request) const;
|
||||
|
||||
57
ehpc/include/alibabacloud/ehpc/model/GetJobLogRequest.h
Normal file
57
ehpc/include/alibabacloud/ehpc/model/GetJobLogRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EHPC_MODEL_GETJOBLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_GETJOBLOGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/ehpc/EHPCExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace EHPC {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EHPC_EXPORT GetJobLogRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetJobLogRequest();
|
||||
~GetJobLogRequest();
|
||||
long getOffset() const;
|
||||
void setOffset(long offset);
|
||||
std::string getExecHost() const;
|
||||
void setExecHost(const std::string &execHost);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getJobId() const;
|
||||
void setJobId(const std::string &jobId);
|
||||
int getSize() const;
|
||||
void setSize(int size);
|
||||
|
||||
private:
|
||||
long offset_;
|
||||
std::string execHost_;
|
||||
std::string clusterId_;
|
||||
std::string accessKeyId_;
|
||||
std::string jobId_;
|
||||
int size_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace EHPC
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_GETJOBLOGREQUEST_H_
|
||||
55
ehpc/include/alibabacloud/ehpc/model/GetJobLogResult.h
Normal file
55
ehpc/include/alibabacloud/ehpc/model/GetJobLogResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_GETJOBLOGRESULT_H_
|
||||
#define ALIBABACLOUD_EHPC_MODEL_GETJOBLOGRESULT_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 GetJobLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetJobLogResult();
|
||||
explicit GetJobLogResult(const std::string &payload);
|
||||
~GetJobLogResult();
|
||||
std::string getOutputLog()const;
|
||||
std::string getErrorLog()const;
|
||||
std::string getJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string outputLog_;
|
||||
std::string errorLog_;
|
||||
std::string jobId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EHPC_MODEL_GETJOBLOGRESULT_H_
|
||||
Reference in New Issue
Block a user