ScriptExecution Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An instance of a script executed by a user - custom or AVS
[Microsoft.Rest.Serialization.JsonTransformation]
public class ScriptExecution : Microsoft.Azure.Management.Avs.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ScriptExecution = class
inherit ProxyResource
Public Class ScriptExecution
Inherits ProxyResource
- Inheritance
- Attributes
Constructors
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. |
Properties
Errors |
Gets standard error output stream from the powershell execution |
FailureReason |
Gets or sets error message if the script was able to run, but if the script itself had errors or powershell threw an exception |
FinishedAt |
Gets time the script execution was finished |
HiddenParameters |
Gets or sets parameters that will be hidden/not visible to ARM, such as passwords and credentials |
Id |
Gets resource ID. (Inherited from Resource) |
Information |
Gets standard information out stream from the powershell execution |
Name |
Gets resource name. (Inherited from Resource) |
NamedOutputs |
Gets or sets user-defined dictionary. |
Output |
Gets or sets standard output stream from the powershell execution |
Parameters |
Gets or sets parameters the script will accept |
ProvisioningState |
Gets the state of the script execution resource. Possible values include: 'Pending', 'Running', 'Succeeded', 'Failed', 'Cancelling', 'Cancelled', 'Deleting' |
Retention |
Gets or sets time to live for the resource. If not provided, will be available for 60 days |
ScriptCmdletId |
Gets or sets a reference to the script cmdlet resource if user is running a AVS script |
StartedAt |
Gets time the script execution was started |
SubmittedAt |
Gets time the script execution was submitted |
Timeout |
Gets or sets time limit for execution |
Type |
Gets resource type. (Inherited from Resource) |
Warnings |
Gets standard warning out stream from the powershell execution |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET