ArmAppComplianceAutomationModelFactory.Control Method

Definition

Initializes a new instance of Control.

public static Azure.ResourceManager.AppComplianceAutomation.Models.Control Control (string controlId = default, string controlShortName = default, string controlFullName = default, Azure.ResourceManager.AppComplianceAutomation.Models.ControlType? controlType = default, string controlDescription = default, string controlDescriptionHyperLink = default, Azure.ResourceManager.AppComplianceAutomation.Models.ControlStatus? controlStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.Assessment> assessments = default);
static member Control : string * string * string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ControlType> * string * string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ControlStatus> * seq<Azure.ResourceManager.AppComplianceAutomation.Models.Assessment> -> Azure.ResourceManager.AppComplianceAutomation.Models.Control
Public Shared Function Control (Optional controlId As String = Nothing, Optional controlShortName As String = Nothing, Optional controlFullName As String = Nothing, Optional controlType As Nullable(Of ControlType) = Nothing, Optional controlDescription As String = Nothing, Optional controlDescriptionHyperLink As String = Nothing, Optional controlStatus As Nullable(Of ControlStatus) = Nothing, Optional assessments As IEnumerable(Of Assessment) = Nothing) As Control

Parameters

controlId
String

The Id of the control. e.g. "Operational Security#10".

controlShortName
String

The short name of the control. e.g. "Unsupported OS and Software.".

controlFullName
String

The full name of the control. e.g. "Validate that unsupported operating systems and software components are not in use.".

controlType
Nullable<ControlType>

The control type.

controlDescription
String

The control's description.

controlDescriptionHyperLink
String

The hyper link to the control's description'.

controlStatus
Nullable<ControlStatus>

Control status.

assessments
IEnumerable<Assessment>

List of assessments.

Returns

A new Control instance for mocking.

Applies to