ArmAppComplianceAutomationModelFactory.ComplianceResult Method

Definition

Initializes a new instance of ComplianceResult.

public static Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceResult ComplianceResult (string complianceName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.Category> categories = default);
static member ComplianceResult : string * seq<Azure.ResourceManager.AppComplianceAutomation.Models.Category> -> Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceResult
Public Shared Function ComplianceResult (Optional complianceName As String = Nothing, Optional categories As IEnumerable(Of Category) = Nothing) As ComplianceResult

Parameters

complianceName
String

The name of the compliance. e.g. "M365".

categories
IEnumerable<Category>

List of categories.

Returns

A new ComplianceResult instance for mocking.

Applies to