调用SetJobUser设置提交作业的用户。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | SetJobUser |
系统规定参数。取值:SetJobUser |
ClusterId | String | 是 | ehpc-hz-FYUr32**** |
集群ID。 |
RunasUser | String | 是 | root |
提交作业的用户名称。 |
RunasUserPassword | String | 是 | 02**** |
用户密码。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
请求ID。 |
示例
请求示例
https://ehpc.cn-hangzhou.aliyuncs.com/?Action=SetJobUser
&ClusterId=ehpc-hz-FYUr32****
&RunasUser=./LammpsTest/lammps.pbs
&RunasUser=root
&RunasUserPassword=02****
&<公共请求参数>
正常返回示例
XML
格式
<SetJobUserResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</SetJobUserResponse>
JSON
格式
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | 请求失败,服务暂时不可用 |
访问错误中心查看更多错误码。