你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SecurityAssessmentMetadataProperties 构造函数

定义

初始化 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)

参数

displayName
String

评估的用户友好显示名称。

severity
SecurityAssessmentSeverity

评估的严重性级别。

assessmentType
SecurityAssessmentType

如果基于内置Azure Policy定义的评估,则为 BuiltIn;如果评估基于自定义Azure Policy定义,则为自定义。

例外

displayName 为 null。

适用于