ArmNginxModelFactory.NginxDiagnosticItem Method
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.
Initializes a new instance of NginxDiagnosticItem.
public static Azure.ResourceManager.Nginx.Models.NginxDiagnosticItem NginxDiagnosticItem(string id = default, string directive = default, string description = default, string file = default, float line = 0, string message = default, string rule = default, Azure.ResourceManager.Nginx.Models.NginxDiagnosticLevel level = default, string category = default);
static member NginxDiagnosticItem : string * string * string * string * single * string * string * Azure.ResourceManager.Nginx.Models.NginxDiagnosticLevel * string -> Azure.ResourceManager.Nginx.Models.NginxDiagnosticItem
Public Shared Function NginxDiagnosticItem (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, Optional level As NginxDiagnosticLevel = Nothing, Optional category As String = Nothing) As NginxDiagnosticItem
Parameters
- id
- String
Unique identifier for the diagnostic.
- directive
- String
- description
- String
- file
- String
The filepath of the most relevant config file.
- line
- Single
- message
- String
- rule
- String
- level
- NginxDiagnosticLevel
Warning or Info.
- category
- String
Category of warning like Best-practices, Recommendation, Security etc.
Returns
A new NginxDiagnosticItem instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET