Share via


VulnerabilityAssessmentRule Class

Definition

vulnerability assessment rule metadata details.

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

Constructors

VulnerabilityAssessmentRule()

Initializes a new instance of VulnerabilityAssessmentRule.

Properties

BenchmarkReferences

The benchmark references.

Category

The rule category.

Description

The rule description.

QueryCheck

The rule query details.

Rationale

The rule rationale.

RuleId

The rule Id.

RuleType

The rule type.

Severity

The rule severity.

Title

The rule title.

Explicit Interface Implementations

IJsonModel<VulnerabilityAssessmentRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VulnerabilityAssessmentRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VulnerabilityAssessmentRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VulnerabilityAssessmentRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VulnerabilityAssessmentRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to