1 つ以上のジョブを再実行します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ehpc:RerunJobs |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClusterId |
string |
必須 |
クラスターの ID。 ListClusters 操作を呼び出して、クラスター ID を照会できます。 |
ehpc-sh-3VeFyR**** |
| Jobs |
string |
必須 |
再実行するジョブのリスト。ジョブの最大数:100。ジョブの最小数:1。 フォーマット: ListJobs 操作を呼び出して、ジョブ ID を照会できます。 説明
RUNNING または QUEUED 状態のジョブのみ再実行できます。 |
[{"Id":"1.scheduler"}] |
| Async |
boolean |
任意 |
非同期リンクを使用してジョブを再実行するかどうかを指定します。 デフォルト値:false |
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
04F0F334-1335-436C-A1D7-6C044FE7**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | |
| 400 | NotEnabled | You have not enabled this service | |
| 400 | InDebt | Your account has overdue payments. | |
| 500 | UnknownError | An unknown error occurred. | |
| 403 | InvalidClusterStatus | The operation failed due to invalid cluster status. | |
| 403 | ConflictOpt | A conflicting operation is running. | |
| 403 | UsernameExist | The username already exists. | |
| 403 | IncorrectCredential | The username or password is incorrect. | |
| 404 | ClusterNotFound | The specified cluster does not exist. | |
| 404 | ManagerNotFound | The manager nodes do not exist or their status is abnormal. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | |
| 406 | AgentError.Job.RerunFailure | Failed to run the job again: %s. | |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | |
| 406 | AgentResponseTimeout | Agent response timeout: %s | |
| 406 | AgentError | The agent service request failed: %s | |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | |
| 409 | PartFailure | Part of the batch operation failed. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。