다음을 통해 공유


ScriptExecutionProperties Class

Definition

Properties of a user-invoked script

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionPropertiesTypeConverter))]
public class ScriptExecutionProperties : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IScriptExecutionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.ScriptExecutionPropertiesTypeConverter))>]
type ScriptExecutionProperties = class
    interface IScriptExecutionProperties
    interface IJsonSerializable
Public Class ScriptExecutionProperties
Implements IScriptExecutionProperties
Inheritance
ScriptExecutionProperties
Attributes
Implements

Constructors

ScriptExecutionProperties()

Creates an new ScriptExecutionProperties 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

Information

Standard information out stream from the powershell execution

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

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

Warning

Standard warning out stream from the powershell execution

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScriptExecutionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScriptExecutionProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScriptExecutionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to