Share via


SecurityAssessmentMetadataProperties Constructor

Definition

Initializes a new instance of SecurityAssessmentMetadataProperties.

public SecurityAssessmentMetadataProperties (string displayName, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentSeverity severity, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentType assessmentType);
new Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties : string * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentSeverity * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentType -> Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties
Public Sub New (displayName As String, severity As SecurityAssessmentSeverity, assessmentType As SecurityAssessmentType)

Parameters

displayName
String

User friendly display name of the assessment.

severity
SecurityAssessmentSeverity

The severity level of the assessment.

assessmentType
SecurityAssessmentType

BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Exceptions

displayName is null.

Applies to