Share via


VirtualMachineRunCommandInstanceView Constructors

Definition

Overloads

VirtualMachineRunCommandInstanceView()

Initializes a new instance of the VirtualMachineRunCommandInstanceView class.

VirtualMachineRunCommandInstanceView(String, String, Nullable<Int32>, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<InstanceViewStatus>)

Initializes a new instance of the VirtualMachineRunCommandInstanceView class.

VirtualMachineRunCommandInstanceView()

Initializes a new instance of the VirtualMachineRunCommandInstanceView class.

public VirtualMachineRunCommandInstanceView ();
Public Sub New ()

Applies to

VirtualMachineRunCommandInstanceView(String, String, Nullable<Int32>, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<InstanceViewStatus>)

Initializes a new instance of the VirtualMachineRunCommandInstanceView class.

public VirtualMachineRunCommandInstanceView (string executionState = default, string executionMessage = default, int? exitCode = default, string output = default, string error = default, DateTime? startTime = default, DateTime? endTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> statuses = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommandInstanceView : string * string * Nullable<int> * string * string * Nullable<DateTime> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.InstanceViewStatus> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommandInstanceView
Public Sub New (Optional executionState As String = Nothing, Optional executionMessage As String = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional output As String = Nothing, Optional error As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional statuses As IList(Of InstanceViewStatus) = Nothing)

Parameters

executionState
String

Script execution status. Possible values include: 'Unknown', 'Pending', 'Running', 'Failed', 'Succeeded', 'TimedOut', 'Canceled'

executionMessage
String

Communicate script configuration errors or execution messages.

exitCode
Nullable<Int32>

Exit code returned from script execution.

output
String

Script output stream.

error
String

Script error stream.

startTime
Nullable<DateTime>

Script start time.

endTime
Nullable<DateTime>

Script end time.

statuses
IList<InstanceViewStatus>

The resource status information.

Applies to