Configures post-processing scripts for a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:SetPostScripts |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the cluster. You can call the ListRegions operation to query the latest region list. |
cn-shanghai |
| ClusterId |
string |
Yes |
The cluster ID. You can call the ListClusters operation to obtain the cluster ID. |
ehpc-sh-EnjshUxn |
| PostInstallScripts |
array<object> |
No |
The post-processing scripts. |
|
|
object |
No |
|||
| Args |
string |
No |
The runtime parameter of the post-processing script. |
-h |
| Url |
string |
No |
The download URL of the post-processing script. |
https://bucket.oss-cn-shanghai.aliyuncs.com/postscript_examples.sh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
B745C159-3155-4B94-95D0-4B73D4D2**** |
Examples
Success response
JSON format
{
"RequestId": "B745C159-3155-4B94-95D0-4B73D4D2****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | The specified parameter %s is invalid. |
| 500 | UnknownError | An unknown error occurred. | An unknown error occurred. |
| 404 | ClusterNotFound | The specified cluster does not exist. | The specified instance does not exist. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.