Partager via


ErrorResponseCommonV2 Class

Definition

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ErrorResponseCommonV2TypeConverter))]
public class ErrorResponseCommonV2 : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IErrorResponseCommonV2
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ErrorResponseCommonV2TypeConverter))>]
type ErrorResponseCommonV2 = class
    interface IErrorResponseCommonV2
    interface IJsonSerializable
Public Class ErrorResponseCommonV2
Implements IErrorResponseCommonV2
Inheritance
ErrorResponseCommonV2
Attributes
Implements

Constructors

ErrorResponseCommonV2()

Creates an new ErrorResponseCommonV2 instance.

Properties

AdditionalInfo

The error additional info.

Code

The error code.

Detail

The error details.

Message

The error message.

Target

The error target.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ErrorResponseCommonV2.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ErrorResponseCommonV2.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IErrorResponseCommonV2.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ErrorResponseCommonV2 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to