Share via


VirtualMachineRunCommandInstanceView Constructors

Definition

Overloads

VirtualMachineRunCommandInstanceView()

Initializes a new instance of the VirtualMachineRunCommandInstanceView class.

VirtualMachineRunCommandInstanceView(ExecutionState, 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(ExecutionState, String, Nullable<Int32>, String, String, Nullable<DateTime>, Nullable<DateTime>, IList<InstanceViewStatus>)

Initializes a new instance of the VirtualMachineRunCommandInstanceView class.

public VirtualMachineRunCommandInstanceView (Microsoft.Azure.Management.Compute.Fluent.Models.ExecutionState 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.Fluent.Models.InstanceViewStatus> statuses = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInstanceView : Microsoft.Azure.Management.Compute.Fluent.Models.ExecutionState * string * Nullable<int> * string * string * Nullable<DateTime> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.InstanceViewStatus> -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInstanceView
Public Sub New (Optional executionState As ExecutionState = 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
ExecutionState

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