Share via


ArmErrorResponseBody Class

Definition

ARM error response body.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ArmErrorResponseBodyTypeConverter))]
public class ArmErrorResponseBody : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IArmErrorResponseBody
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ArmErrorResponseBodyTypeConverter))>]
type ArmErrorResponseBody = class
    interface IArmErrorResponseBody
    interface IJsonSerializable
Public Class ArmErrorResponseBody
Implements IArmErrorResponseBody
Inheritance
ArmErrorResponseBody
Attributes
Implements

Constructors

ArmErrorResponseBody()

Creates an new ArmErrorResponseBody instance.

Properties

Code

Gets or sets the string that can be used to programmatically identify the error.

Message

Gets or sets the string that describes the error in detail and provides debugging information.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ArmErrorResponseBody.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ArmErrorResponseBody.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IArmErrorResponseBody.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ArmErrorResponseBody into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to