ScriptExecution Class
An instance of a script executed by a user - custom or AVS.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.avs.models._models_py3.ProxyResourceScriptExecution
Constructor
ScriptExecution(*, script_cmdlet_id: str | None = None, parameters: List[_models.ScriptExecutionParameter] | None = None, hidden_parameters: List[_models.ScriptExecutionParameter] | None = None, failure_reason: str | None = None, timeout: str | None = None, retention: str | None = None, output: List[str] | None = None, named_outputs: Dict[str, MutableMapping[str, Any]] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
script_cmdlet_id
|
A reference to the script cmdlet resource if user is running a AVS script. |
parameters
|
Parameters the script will accept. |
hidden_parameters
|
Parameters that will be hidden/not visible to ARM, such as passwords and credentials. |
failure_reason
|
Error message if the script was able to run, but if the script itself had errors or powershell threw an exception. |
timeout
|
Time limit for execution. |
retention
|
Time to live for the resource. If not provided, will be available for 60 days. |
output
|
Standard output stream from the powershell execution. |
named_outputs
|
User-defined dictionary. |
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
script_cmdlet_id
|
A reference to the script cmdlet resource if user is running a AVS script. |
parameters
|
Parameters the script will accept. |
hidden_parameters
|
Parameters that will be hidden/not visible to ARM, such as passwords and credentials. |
failure_reason
|
Error message if the script was able to run, but if the script itself had errors or powershell threw an exception. |
timeout
|
Time limit for execution. |
retention
|
Time to live for the resource. If not provided, will be available for 60 days. |
submitted_at
|
Time the script execution was submitted. |
started_at
|
Time the script execution was started. |
finished_at
|
Time the script execution was finished. |
provisioning_state
|
The state of the script execution resource. Known values are: "Pending", "Running", "Succeeded", "Failed", "Cancelling", "Cancelled", "Deleting", and "Canceled". |
output
|
Standard output stream from the powershell execution. |
named_outputs
|
User-defined dictionary. |
information
|
Standard information out stream from the powershell execution. |
warnings
|
Standard warning out stream from the powershell execution. |
errors
|
Standard error output stream from the powershell execution. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for