Share via


AgentError Class

Definition

Agent Errors if any during agent or system component upgrade.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20240715Preview.AgentErrorTypeConverter))]
public class AgentError : Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20240715Preview.IAgentError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20240715Preview.AgentErrorTypeConverter))>]
type AgentError = class
    interface IAgentError
    interface IJsonSerializable
Public Class AgentError
Implements IAgentError
Inheritance
AgentError
Attributes
Implements

Constructors

AgentError()

Creates an new AgentError instance.

Properties

Component

Agent component where error message occured.

Message

Agent error message.

Severity

Severity of the error message.

Time

The timestamp of error occured (UTC).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api20240715Preview.IAgentError.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to