Auf Englisch lesen

Freigeben über


NginxDiagnosticItem Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A diagnostic is a message associated with an NGINX config. The Analyzer returns diagnostics with a level indicating the importance of the diagnostic with optional category.

C#
public class NginxDiagnosticItem : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Nginx.Models.NginxDiagnosticItem>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Nginx.Models.NginxDiagnosticItem>
Inheritance
NginxDiagnosticItem
Implements

Properties

Category

Category of warning like Best-practices, Recommendation, Security etc.

Description

Gets the description.

Directive

Gets the directive.

File

The filepath of the most relevant config file.

Id

Unique identifier for the diagnostic.

Level

Warning or Info.

Line

Gets the line.

Message

Gets the message.

Rule

Gets the rule.

Methods

Explicit Interface Implementations

IJsonModel<NginxDiagnosticItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NginxDiagnosticItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NginxDiagnosticItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NginxDiagnosticItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NginxDiagnosticItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Produkt Versionen
Azure SDK for .NET Preview