VaRule 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.
vulnerability assessment rule metadata details.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.VaRuleTypeConverter))]
public class VaRule : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IVaRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.VaRuleTypeConverter))>]
type VaRule = class
interface IVaRule
interface IJsonSerializable
Public Class VaRule
Implements IVaRule
- Inheritance
-
VaRule
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| VaRule() |
Creates an new VaRule instance. |
Properties
| Name | Description |
|---|---|
| BenchmarkReference |
The benchmark references. |
| Category |
The rule category. |
| Description |
The rule description. |
| QueryCheckColumnName |
Column names of expected result. |
| QueryCheckExpectedResult |
Expected result. |
| QueryCheckQuery |
The rule query. |
| Rationale |
The rule rationale. |
| RuleId |
The rule Id. |
| RuleType |
The rule type. |
| Severity |
The rule severity. |
| Title |
The rule title. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VaRule. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IVaRule. |
| FromJsonString(String) |
Creates a new instance of VaRule, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |