ArmSecurityCenterModelFactory.SecurityAssessmentMetadataProperties Method
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 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.
- categories
- IEnumerable<SecurityAssessmentResourceCategory>
- 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.
- threats
- IEnumerable<SecurityThreat>
- 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
Azure SDK for .NET