Language

DiscoveryError Class

Definition

Error details for a failed discovery operation

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryErrorTypeConverter))]
public class DiscoveryError : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryError
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.DiscoveryErrorTypeConverter))>]
type DiscoveryError = class
    interface IDiscoveryError
    interface IJsonSerializable
Public Class DiscoveryError
Implements IDiscoveryError
Inheritance
DiscoveryError
Attributes
Implements

Constructors

Name Description
DiscoveryError()

Creates an new DiscoveryError instance.

Properties

Name Description
Context

Additional context information, like resource IDs or query details

Message

Error message

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiscoveryError.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiscoveryError.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IDiscoveryError.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiscoveryError into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to