ArmAppComplianceAutomationModelFactory.Assessment 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 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.
- 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
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