Partager via


RunCommandResult Constructors

Definition

Overloads

RunCommandResult()

Initializes a new instance of the RunCommandResult class.

RunCommandResult(String, String, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>, String, String)

Initializes a new instance of the RunCommandResult class.

RunCommandResult()

Initializes a new instance of the RunCommandResult class.

public RunCommandResult ();
Public Sub New ()

Applies to

RunCommandResult(String, String, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>, String, String)

Initializes a new instance of the RunCommandResult class.

public RunCommandResult (string id = default, string provisioningState = default, int? exitCode = default, DateTime? startedAt = default, DateTime? finishedAt = default, string logs = default, string reason = default);
new Microsoft.Azure.Management.ContainerService.Models.RunCommandResult : string * string * Nullable<int> * Nullable<DateTime> * Nullable<DateTime> * string * string -> Microsoft.Azure.Management.ContainerService.Models.RunCommandResult
Public Sub New (Optional id As String = Nothing, Optional provisioningState As String = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional startedAt As Nullable(Of DateTime) = Nothing, Optional finishedAt As Nullable(Of DateTime) = Nothing, Optional logs As String = Nothing, Optional reason As String = Nothing)

Parameters

id
String

The command id.

provisioningState
String

provisioning State

exitCode
Nullable<Int32>

The exit code of the command

startedAt
Nullable<DateTime>

The time when the command started.

finishedAt
Nullable<DateTime>

The time when the command finished.

logs
String

The command output.

reason
String

An explanation of why provisioningState is set to failed (if so).

Applies to