ArmAppComplianceAutomationModelFactory.AppComplianceResult Method

Definition

Initializes a new instance of AppComplianceResult.

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

Parameters

complianceName
String

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

categories
IEnumerable<AppComplianceCategory>

List of categories.

Returns

A new AppComplianceResult instance for mocking.

Applies to