Share via


AzureResourceErrorInfo Class

Definition

The azure resource error info.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AzureResourceErrorInfoTypeConverter))]
public class AzureResourceErrorInfo : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAzureResourceErrorInfo, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.AzureResourceErrorInfoTypeConverter))>]
type AzureResourceErrorInfo = class
    interface IAzureResourceErrorInfo
    interface IJsonSerializable
    interface IErrorInfo
    interface IValidates
Public Class AzureResourceErrorInfo
Implements IAzureResourceErrorInfo, IValidates
Inheritance
AzureResourceErrorInfo
Attributes
Implements

Constructors

AzureResourceErrorInfo()

Creates an new AzureResourceErrorInfo instance.

Properties

Code

The error code.

Detail

The error details.

Message

The error message.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureResourceErrorInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureResourceErrorInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IAzureResourceErrorInfo.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureResourceErrorInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to