SecuritySubAssessmentData Class

Definition

A class representing the SecuritySubAssessment data model. Security sub-assessment on a resource

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

Constructors

SecuritySubAssessmentData()

Initializes a new instance of SecuritySubAssessmentData.

Properties

AdditionalData

Details of the sub-assessment Please note SecuritySubAssessmentAdditionalInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContainerRegistryVulnerabilityProperties, ServerVulnerabilityProperties and SqlServerVulnerabilityProperties.

Category

Category of the sub-assessment.

Description

Human readable description of the assessment status.

DisplayName

User friendly display name of the sub-assessment.

GeneratedOn

The date and time the sub-assessment was generated.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Impact

Description of the impact of this sub-assessment.

Name

The name of the resource.

(Inherited from ResourceData)
Remediation

Information on how to remediate this sub-assessment.

ResourceDetails

Details of the resource that was assessed Please note SecurityCenterResourceDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureResourceDetails, OnPremiseResourceDetails and OnPremiseSqlResourceDetails.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Status

Status of the sub-assessment.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
VulnerabilityId

Vulnerability ID.

Explicit Interface Implementations

IJsonModel<SecuritySubAssessmentData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecuritySubAssessmentData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecuritySubAssessmentData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecuritySubAssessmentData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecuritySubAssessmentData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to