ErrorDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Error contract returned when some exception occurs in Rest API.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.ErrorDetailsTypeConverter))]
public class ErrorDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IErrorDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.ErrorDetailsTypeConverter))>]
type ErrorDetails = class
interface IErrorDetails
interface IJsonSerializable
Public Class ErrorDetails
Implements IErrorDetails
- Inheritance
-
ErrorDetails
- Attributes
- Implements
Constructors
ErrorDetails() |
Creates an new ErrorDetails instance. |
Properties
AgentErrorCode |
Agent error code. |
AgentErrorMessage |
Error message from the agent. |
AgentErrorPossibleCaus |
Possible causes for the agent error. |
AgentErrorRecommendedAction |
Recommended action for the agent error. |
Code |
Error code. |
IsAgentReportedError |
Value indicating whether the error originated from a agent or not. |
Message |
Error message. |
PossibleCaus |
Possible causes of error. |
RecommendedAction |
Recommended action to resolve error. |
Severity |
Error severity. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ErrorDetails. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ErrorDetails. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IErrorDetails. |
FromJsonString(String) |
Creates a new instance of ErrorDetails, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ErrorDetails into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |