GetScriptExecutionResult

data class GetScriptExecutionResult(val errors: List<String>, val failureReason: String? = null, val finishedAt: String, val hiddenParameters: List<Any>? = null, val id: String, val information: List<String>, val name: String, val namedOutputs: Map<String, Any>? = null, val output: List<String>? = null, val parameters: List<Any>? = null, val provisioningState: String, val retention: String? = null, val scriptCmdletId: String? = null, val startedAt: String, val submittedAt: String, val timeout: String, val type: String, val warnings: List<String>)

An instance of a script executed by a user - custom or AVS

Constructors

Link copied to clipboard
constructor(errors: List<String>, failureReason: String? = null, finishedAt: String, hiddenParameters: List<Any>? = null, id: String, information: List<String>, name: String, namedOutputs: Map<String, Any>? = null, output: List<String>? = null, parameters: List<Any>? = null, provisioningState: String, retention: String? = null, scriptCmdletId: String? = null, startedAt: String, submittedAt: String, timeout: String, type: String, warnings: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Standard error output stream from the powershell execution

Link copied to clipboard
val failureReason: String? = null

Error message if the script was able to run, but if the script itself had errors or powershell threw an exception

Link copied to clipboard

Time the script execution was finished

Link copied to clipboard
val hiddenParameters: List<Any>? = null

Parameters that will be hidden/not visible to ARM, such as passwords and credentials

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

Standard information out stream from the powershell execution

Link copied to clipboard

Resource name.

Link copied to clipboard
val namedOutputs: Map<String, Any>? = null

User-defined dictionary.

Link copied to clipboard
val output: List<String>? = null

Standard output stream from the powershell execution

Link copied to clipboard
val parameters: List<Any>? = null

Parameters the script will accept

Link copied to clipboard

The state of the script execution resource

Link copied to clipboard
val retention: String? = null

Time to live for the resource. If not provided, will be available for 60 days

Link copied to clipboard
val scriptCmdletId: String? = null

A reference to the script cmdlet resource if user is running a AVS script

Link copied to clipboard

Time the script execution was started

Link copied to clipboard

Time the script execution was submitted

Link copied to clipboard

Time limit for execution

Link copied to clipboard

Resource type.

Link copied to clipboard

Standard warning out stream from the powershell execution