Udostępnij za pośrednictwem


ArmNginxModelFactory.NginxAnalysisDiagnostic Method

Definition

Initializes a new instance of NginxAnalysisDiagnostic.

public static Azure.ResourceManager.Nginx.Models.NginxAnalysisDiagnostic NginxAnalysisDiagnostic (string id = default, string directive = default, string description = default, string file = default, float line = 0, string message = default, string rule = default);
static member NginxAnalysisDiagnostic : string * string * string * string * single * string * string -> Azure.ResourceManager.Nginx.Models.NginxAnalysisDiagnostic
Public Shared Function NginxAnalysisDiagnostic (Optional id As String = Nothing, Optional directive As String = Nothing, Optional description As String = Nothing, Optional file As String = Nothing, Optional line As Single = 0, Optional message As String = Nothing, Optional rule As String = Nothing) As NginxAnalysisDiagnostic

Parameters

id
String

Unique identifier for the error.

directive
String
description
String
file
String

the filepath of the most relevant config file.

line
Single
message
String
rule
String

Returns

A new NginxAnalysisDiagnostic instance for mocking.

Applies to