Share via


NginxAnalysisDiagnostic Class

Definition

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

public class NginxAnalysisDiagnostic : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Nginx.Models.NginxAnalysisDiagnostic>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Nginx.Models.NginxAnalysisDiagnostic>
type NginxAnalysisDiagnostic = class
    interface IJsonModel<NginxAnalysisDiagnostic>
    interface IPersistableModel<NginxAnalysisDiagnostic>
Public Class NginxAnalysisDiagnostic
Implements IJsonModel(Of NginxAnalysisDiagnostic), IPersistableModel(Of NginxAnalysisDiagnostic)
Inheritance
NginxAnalysisDiagnostic
Implements

Properties

Description

Gets the description.

Directive

Gets the directive.

File

the filepath of the most relevant config file.

Id

Unique identifier for the error.

Line

Gets the line.

Message

Gets the message.

Rule

Gets the rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NginxAnalysisDiagnostic>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NginxAnalysisDiagnostic>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NginxAnalysisDiagnostic>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NginxAnalysisDiagnostic>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NginxAnalysisDiagnostic>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to