Parameter | Type | Description | Example |
---|---|---|---|
object | |||
ScriptName | string | The name of the script. This parameter is required. The name must be 1 to 64 characters in length and must start with a letter. The name cannot start with http:// or https://. The name can contain letters, digits, underscores (_), and hyphens (-). | Script name -1 |
ScriptPath | string | The Object Storage Service (OSS) path in which the script is stored. This parameter is required. The path must start with oss://. | oss://bucket1/update_hosts.sh |
ScriptArgs | string | The runtime parameters of the script. This parameter is optional. | -host 10.0.10.5 -m 30 |
Prioritydeprecated | integer | Note
This parameter is deprecated. The sequence in which scripts are executed is the same as the sequence in which scripts are defined.
| 1 |
NodeSelector | NodeSelector | The node selector. | |
ExecutionMoment | string | The time based on which the system executes the script. Valid values:
| BEFORE_INSTALL |
ExecutionFailStrategy | string | The policy that is used to handle an execution failure of the script. Valid values:
| FAILED_CONTINUE |