Sdílet prostřednictvím


CommandResultProperties Class

Definition

The results of a run command

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

Constructors

CommandResultProperties()

Creates an new CommandResultProperties instance.

Properties

ExitCode

The exit code of the command

FinishedAt

The time when the command finished.

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 CommandResultProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CommandResultProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CommandResultProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to