SecurityAssessmentMetadataProperties Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET