Diagnostic Class

Definition

Properties returned with in an insight.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.DiagnosticTypeConverter))]
public class Diagnostic : Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiagnostic
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.DiagnosticTypeConverter))>]
type Diagnostic = class
    interface IDiagnostic
    interface IJsonSerializable
Public Class Diagnostic
Implements IDiagnostic
Inheritance
Diagnostic
Attributes
Implements

Constructors

Name Description
Diagnostic()

Creates an new Diagnostic instance.

Properties

Name Description
Code

Service specific error code which serves as the substatus for the HTTP error code.

Detail

An array of additional nested error response info objects, as described by this contract.

Insight

The problems (if any) detected by this insight.

Message

Description of the error.

SolutionId

Solution Id

Status

Denotes the status of the diagnostic resource.

Type

Service specific error type which serves as additional context for the error herein.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Diagnostic.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Diagnostic.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiagnostic.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Diagnostic into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to