ScriptExecution Constructors

Definition

Overloads

ScriptExecution()

Initializes a new instance of the ScriptExecution class.

ScriptExecution(String, String, String, String, String, IList<ScriptExecutionParameter>, IList<ScriptExecutionParameter>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, IList<String>, IDictionary<String,Object>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the ScriptExecution class.

ScriptExecution()

Initializes a new instance of the ScriptExecution class.

public ScriptExecution ();
Public Sub New ()

Applies to

ScriptExecution(String, String, String, String, String, IList<ScriptExecutionParameter>, IList<ScriptExecutionParameter>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String, IList<String>, IDictionary<String,Object>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the ScriptExecution class.

public ScriptExecution (string timeout, string id = default, string name = default, string type = default, string scriptCmdletId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Avs.Models.ScriptExecutionParameter> parameters = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Avs.Models.ScriptExecutionParameter> hiddenParameters = default, string failureReason = default, string retention = default, DateTime? submittedAt = default, DateTime? startedAt = default, DateTime? finishedAt = default, string provisioningState = default, System.Collections.Generic.IList<string> output = default, System.Collections.Generic.IDictionary<string,object> namedOutputs = default, System.Collections.Generic.IList<string> information = default, System.Collections.Generic.IList<string> warnings = default, System.Collections.Generic.IList<string> errors = default);
new Microsoft.Azure.Management.Avs.Models.ScriptExecution : string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Avs.Models.ScriptExecutionParameter> * System.Collections.Generic.IList<Microsoft.Azure.Management.Avs.Models.ScriptExecutionParameter> * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Avs.Models.ScriptExecution
Public Sub New (timeout As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional scriptCmdletId As String = Nothing, Optional parameters As IList(Of ScriptExecutionParameter) = Nothing, Optional hiddenParameters As IList(Of ScriptExecutionParameter) = Nothing, Optional failureReason As String = Nothing, Optional retention As String = Nothing, Optional submittedAt As Nullable(Of DateTime) = Nothing, Optional startedAt As Nullable(Of DateTime) = Nothing, Optional finishedAt As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional output As IList(Of String) = Nothing, Optional namedOutputs As IDictionary(Of String, Object) = Nothing, Optional information As IList(Of String) = Nothing, Optional warnings As IList(Of String) = Nothing, Optional errors As IList(Of String) = Nothing)

Parameters

timeout
String

Time limit for execution

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

scriptCmdletId
String

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

parameters
IList<ScriptExecutionParameter>

Parameters the script will accept

hiddenParameters
IList<ScriptExecutionParameter>

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

failureReason
String

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

retention
String

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

submittedAt
Nullable<DateTime>

Time the script execution was submitted

startedAt
Nullable<DateTime>

Time the script execution was started

finishedAt
Nullable<DateTime>

Time the script execution was finished

provisioningState
String

The state of the script execution resource. Possible values include: 'Pending', 'Running', 'Succeeded', 'Failed', 'Cancelling', 'Cancelled', 'Deleting'

output
IList<String>

Standard output stream from the powershell execution

namedOutputs
IDictionary<String,Object>

User-defined dictionary.

information
IList<String>

Standard information out stream from the powershell execution

warnings
IList<String>

Standard warning out stream from the powershell execution

errors
IList<String>

Standard error output stream from the powershell execution

Applies to