Share via


RunCommandResult Class

Definition

run command result.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.RunCommandResultTypeConverter))]
public class RunCommandResult : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IRunCommandResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.RunCommandResultTypeConverter))>]
type RunCommandResult = class
    interface IRunCommandResult
    interface IJsonSerializable
Public Class RunCommandResult
Implements IRunCommandResult
Inheritance
RunCommandResult
Attributes
Implements

Constructors

RunCommandResult()

Creates an new RunCommandResult instance.

Properties

ExitCode

The exit code of the command

FinishedAt

The time when the command finished.

Id

The command id.

Log

The command output.

ProvisioningState

provisioning State

Reason

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

StartedAt

The time when the command started.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RunCommandResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RunCommandResult.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IRunCommandResult.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RunCommandResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to