ArmAppComplianceAutomationModelFactory.Assessment Method

Definition

Initializes a new instance of Assessment.

public static Azure.ResourceManager.AppComplianceAutomation.Models.Assessment Assessment (string name = default, Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentSeverity? severity = default, string description = default, string remediation = default, Azure.ResourceManager.AppComplianceAutomation.Models.IsPass? isPass = default, string policyId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentResourceContent> resourceList = default);
static member Assessment : string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentSeverity> * string * string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.IsPass> * string * seq<Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentResourceContent> -> Azure.ResourceManager.AppComplianceAutomation.Models.Assessment
Public Shared Function Assessment (Optional name As String = Nothing, Optional severity As Nullable(Of AssessmentSeverity) = Nothing, Optional description As String = Nothing, Optional remediation As String = Nothing, Optional isPass As Nullable(Of IsPass) = Nothing, Optional policyId As String = Nothing, Optional resourceList As IEnumerable(Of AssessmentResourceContent) = Nothing) As Assessment

Parameters

name
String

The name of the assessment.

severity
Nullable<AssessmentSeverity>

The severity level of this assessment.

description
String

The description of the assessment.

remediation
String

The remediation of the assessment.

isPass
Nullable<IsPass>

Indicates whether all the resource(s) are compliant.

policyId
String

The policy id mapping to this assessment.

resourceList
IEnumerable<AssessmentResourceContent>

List of resource assessments.

Returns

A new Assessment instance for mocking.

Applies to