GraphQueryError Class

Definition

Error message body that will indicate why the operation failed.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.GraphQueryErrorTypeConverter))]
public class GraphQueryError : Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.IGraphQueryError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.GraphQueryErrorTypeConverter))>]
type GraphQueryError = class
    interface IGraphQueryError
    interface IJsonSerializable
Public Class GraphQueryError
Implements IGraphQueryError
Inheritance
GraphQueryError
Attributes
Implements

Constructors

GraphQueryError()

Creates an new GraphQueryError instance.

Properties

Code

Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

Detail

The list of invalid fields send in request, in case of validation error.

Message

Human-readable representation of the error.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GraphQueryError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GraphQueryError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.IGraphQueryError.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GraphQueryError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to