Condividi tramite


ArmContainerServiceModelFactory.ManagedClusterRunCommandResult Method

Definition

Initializes a new instance of ManagedClusterRunCommandResult.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult ManagedClusterRunCommandResult (string id = default, string provisioningState = default, int? exitCode = default, DateTimeOffset? startedOn = default, DateTimeOffset? finishedOn = default, string logs = default, string reason = default);
static member ManagedClusterRunCommandResult : string * string * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.ContainerService.Models.ManagedClusterRunCommandResult
Public Shared Function ManagedClusterRunCommandResult (Optional id As String = Nothing, Optional provisioningState As String = Nothing, Optional exitCode As Nullable(Of Integer) = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional finishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional logs As String = Nothing, Optional reason As String = Nothing) As ManagedClusterRunCommandResult

Parameters

id
String

The command id.

provisioningState
String

provisioning State.

exitCode
Nullable<Int32>

The exit code of the command.

startedOn
Nullable<DateTimeOffset>

The time when the command started.

finishedOn
Nullable<DateTimeOffset>

The time when the command finished.

logs
String

The command output.

reason
String

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

Returns

A new ManagedClusterRunCommandResult instance for mocking.

Applies to