ArmAppComplianceAutomationModelFactory.ControlFamily Method

Definition

Initializes a new instance of ControlFamily.

public static Azure.ResourceManager.AppComplianceAutomation.Models.ControlFamily ControlFamily (string familyName = default, Azure.ResourceManager.AppComplianceAutomation.Models.ControlFamilyType? familyType = default, Azure.ResourceManager.AppComplianceAutomation.Models.ControlFamilyStatus? familyStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.Control> controls = default);
static member ControlFamily : string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ControlFamilyType> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ControlFamilyStatus> * seq<Azure.ResourceManager.AppComplianceAutomation.Models.Control> -> Azure.ResourceManager.AppComplianceAutomation.Models.ControlFamily
Public Shared Function ControlFamily (Optional familyName As String = Nothing, Optional familyType As Nullable(Of ControlFamilyType) = Nothing, Optional familyStatus As Nullable(Of ControlFamilyStatus) = Nothing, Optional controls As IEnumerable(Of Control) = Nothing) As ControlFamily

Parameters

familyName
String

The name of the control family. e.g. "Malware Protection - Anti-Virus".

familyType
Nullable<ControlFamilyType>

The control family type.

familyStatus
Nullable<ControlFamilyStatus>

Control family status.

controls
IEnumerable<Control>

List of controls.

Returns

A new ControlFamily instance for mocking.

Applies to