Share via


ArmSecurityCenterModelFactory.SecurityAssessmentMetadataProperties Method

Definition

Initializes a new instance of SecurityAssessmentMetadataProperties.

public static Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties SecurityAssessmentMetadataProperties (string displayName = default, Azure.Core.ResourceIdentifier policyDefinitionId = default, string description = default, string remediationDescription = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentResourceCategory> categories = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentSeverity severity = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentUserImpact? userImpact = default, Azure.ResourceManager.SecurityCenter.Models.ImplementationEffort? implementationEffort = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityThreat> threats = default, bool? isPreview = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentType assessmentType = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataPartner partnerData = default);
static member SecurityAssessmentMetadataProperties : string * Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentResourceCategory> * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentSeverity * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentUserImpact> * Nullable<Azure.ResourceManager.SecurityCenter.Models.ImplementationEffort> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityThreat> * Nullable<bool> * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentType * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataPartner -> Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties
Public Shared Function SecurityAssessmentMetadataProperties (Optional displayName As String = Nothing, Optional policyDefinitionId As ResourceIdentifier = Nothing, Optional description As String = Nothing, Optional remediationDescription As String = Nothing, Optional categories As IEnumerable(Of SecurityAssessmentResourceCategory) = Nothing, Optional severity As SecurityAssessmentSeverity = Nothing, Optional userImpact As Nullable(Of SecurityAssessmentUserImpact) = Nothing, Optional implementationEffort As Nullable(Of ImplementationEffort) = Nothing, Optional threats As IEnumerable(Of SecurityThreat) = Nothing, Optional isPreview As Nullable(Of Boolean) = Nothing, Optional assessmentType As SecurityAssessmentType = Nothing, Optional partnerData As SecurityAssessmentMetadataPartner = Nothing) As SecurityAssessmentMetadataProperties

Parameters

displayName
String

User friendly display name of the assessment.

policyDefinitionId
ResourceIdentifier

Azure resource ID of the policy definition that turns this assessment calculation on.

description
String

Human readable description of the assessment.

remediationDescription
String

Human readable description of what you should do to mitigate this security issue.

severity
SecurityAssessmentSeverity

The severity level of the assessment.

userImpact
Nullable<SecurityAssessmentUserImpact>

The user impact of the assessment.

implementationEffort
Nullable<ImplementationEffort>

The implementation effort required to remediate this assessment.

isPreview
Nullable<Boolean>

True if this assessment is in preview release status.

assessmentType
SecurityAssessmentType

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

partnerData
SecurityAssessmentMetadataPartner

Describes the partner that created the assessment.

Returns

A new SecurityAssessmentMetadataProperties instance for mocking.

Applies to