你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AnalysisDiagnostic Class

Definition

An error object found during the analysis of an NGINX configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.AnalysisDiagnosticTypeConverter))]
public class AnalysisDiagnostic : Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.IAnalysisDiagnostic
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.AnalysisDiagnosticTypeConverter))>]
type AnalysisDiagnostic = class
    interface IAnalysisDiagnostic
    interface IJsonSerializable
Public Class AnalysisDiagnostic
Implements IAnalysisDiagnostic
Inheritance
AnalysisDiagnostic
Attributes
Implements

Constructors

AnalysisDiagnostic()

Creates an new AnalysisDiagnostic instance.

Properties

Description
Directive
File

the filepath of the most relevant config file

Id

Unique identifier for the error

Line
Message
Rule

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AnalysisDiagnostic.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AnalysisDiagnostic.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Nginx.Models.Api202401Preview.IAnalysisDiagnostic.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AnalysisDiagnostic into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to