ScriptExecution Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionTypeConverter))]
public class ScriptExecution : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IScriptExecution, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.ScriptExecutionTypeConverter))>]
type ScriptExecution = class
    interface IScriptExecution
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ScriptExecution
Implements IScriptExecution, IValidates
Inheritance
ScriptExecution
Attributes
Implements

Constructors

ScriptExecution()

Creates an new ScriptExecution instance.

Properties

Error

Standard error output stream from the powershell execution

FailureReason

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

FinishedAt

Time the script execution was finished

HiddenParameter

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

Id

Resource ID.

Information

Standard information out stream from the powershell execution

Name

Resource name.

NamedOutput

User-defined dictionary.

Output

Standard output stream from the powershell execution

Parameter

Parameters the script will accept

ProvisioningState

The state of the script execution resource

ResourceGroupName

Gets the resource group name

Retention

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

ScriptCmdletId

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

StartedAt

Time the script execution was started

SubmittedAt

Time the script execution was submitted

Timeout

Time limit for execution

Type

Resource type.

Warning

Standard warning out stream from the powershell execution

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScriptExecution.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScriptExecution.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IScriptExecution.

FromJsonString(String)

Creates a new instance of ScriptExecution, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScriptExecution into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to