The script library stores and manages script files centrally. By executing scripts on VM instances, you can complete complex O&M operations and automated jobs.
Name | Description | Optional | Valid Values | Starting Version |
---|---|---|---|---|
uuid | The resource UUID. | 5.2.0 | ||
name | The resource name. | 5.2.0 | ||
description | The detailed description of the resource. | 5.2.0 | ||
scriptContent | The script content. | 5.2.0 | ||
renderParams | The custom parameters. | 5.2.0 | ||
platform | The platform. | 5.2.0 | ||
scriptType | The script type. | 5.2.0 | ||
scriptTimeout | The timeout period. | 5.2.0 | ||
createDate | The last operation data. See Resource Property | 5.2.0 | ||
lastOpDate | The last operation data. See Resource Property | 5.2.0 | ||
userTags | The user tags. For more information, see CreateUserTag. | 5.2.0 | ||
systemTags | The system tags. For more information, see CreateSystemTag. | 5.2.0 | ||
groupBy | 5.2.0 |
Name | Description | Optional | Valid Values | Starting Version |
---|---|---|---|---|
uuid | The resource UUID. | 5.2.0 | ||
scriptUuid | The script UUID. | 5.2.0 | ||
recordName | The execution record name. | 5.2.0 | ||
scriptTimeout | The timeout period. | 5.2.0 | ||
status | The execution status. | 5.2.0 | ||
executor | The executor. | 5.2.0 | ||
executionCount | The execution times. | 5.2.0 | ||
version | The version. | 5.2.0 | ||
scriptContent | The script content. | 5.2.0 | ||
startTime | The start time. | 5.2.0 | ||
endTime | The end time. | 5.2.0 | ||
tagUuid | The tag UUID list. | 5.2.0 | ||
userTags | The user tags. For more information, see CreateUserTag. | 5.2.0 | ||
systemTags | The system tags. For more information, see CreateSystemTag. | 5.2.0 | ||
groupBy | 5.2.0 |
{ "inventories": [ { "endTime": "Sep 4, 2024 5:42:39 PM", "executionCount": 1, "executor": "admin", "recordName": "20240904053437_system_info.ps1", "scriptTimeout": 480, "scriptUuid": "94e251dbd63f43d79077d62edfc694f0", "startTime": "Sep 4, 2024 5:34:37 PM", "status": "Failed", "uuid": "de2ea20623b545699d4f8d7561f8dd8f", "version": 3 } ], "success": true }
Name | Description | Optional | Valid Values | Starting Version |
---|---|---|---|---|
recordUuid | The execution record UUID. | 5.2.0 | ||
vmInstanceUuid | The VM instance UUID. | 5.2.0 | ||
vmName | The VM instance UUID. | 5.2.0 | ||
status | The execution status. | 5.2.0 | ||
exitCode | The exist code. | 5.2.0 | ||
stdout | The standard output. | 5.2.0 | ||
errCause | The error cause. | 5.2.0 | ||
stderr | The error output. | 5.2.0 | ||
startTime | The start time. | 5.2.0 | ||
endTime | The end time. | 5.2.0 | ||
tagUuid | The tag UUID list. | 5.2.0 | ||
userTags | The user tags. For more information, see CreateUserTag. | 5.2.0 | ||
systemTags | The system tags. For more information, see CreateSystemTag. | 5.2.0 | ||
groupBy | 5.2.0 |
{ "inventories": [ { "recordUuid": "ab90a0142aef36fd97c3c759bc7e459d", "vmInstanceUuid": "4708f0f6f76e39e882886241761d0c27", "status": "Completed", "stdout": "helloworld", "errCause": "", "stderr": "1/0 is not a goodScript", "startTime": "Sep 23, 2024 11:53:03 AM", "endTime": "Sep 23, 2024 11:53:03 AM" } ] }
Back to Top
Email Us
contact@zstack.ioEmail Us
contact@zstack.ioEmail Us
contact@zstack.ioThe download link is sent to your email address.
If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.Thank you for using ZStack products and services.
Submit successfully.
We'll connect soon.Thank you for using ZStack products and services.