Share via


ArmAppComplianceAutomationModelFactory.AppComplianceControl Method

Definition

Initializes a new instance of AppComplianceControl.

public static Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceControl AppComplianceControl (string controlId = default, string controlName = default, string controlFullName = default, string controlDescription = default, Uri controlDescriptionHyperLink = default, Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceControlStatus? controlStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.CustomerResponsibility> responsibilities = default);
static member AppComplianceControl : string * string * string * string * Uri * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceControlStatus> * seq<Azure.ResourceManager.AppComplianceAutomation.Models.CustomerResponsibility> -> Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceControl
Public Shared Function AppComplianceControl (Optional controlId As String = Nothing, Optional controlName As String = Nothing, Optional controlFullName As String = Nothing, Optional controlDescription As String = Nothing, Optional controlDescriptionHyperLink As Uri = Nothing, Optional controlStatus As Nullable(Of AppComplianceControlStatus) = Nothing, Optional responsibilities As IEnumerable(Of CustomerResponsibility) = Nothing) As AppComplianceControl

Parameters

controlId
String

The Id of the control. e.g. "Operational_Security_10".

controlName
String

The 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.".

controlDescription
String

The control's description.

controlDescriptionHyperLink
Uri

The hyper link to the control's description'.

controlStatus
Nullable<AppComplianceControlStatus>

Control status.

responsibilities
IEnumerable<CustomerResponsibility>

List of customer responsibility.

Returns

A new AppComplianceControl instance for mocking.

Applies to