Freigeben über


ArmAppComplianceAutomationModelFactory.Control Methode

Definition

Initialisiert eine neue instance der Steuerung.

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

Parameter

controlId
String

Die ID des Steuerelements. z. B. "Betriebssicherheit#10".

controlShortName
String

Der kurze Name des Steuerelements. z. B. "Nicht unterstütztes Betriebssystem und Software".

controlFullName
String

Der vollständige Name des Steuerelements. Beispiel: "Überprüfen, ob nicht unterstützte Betriebssysteme und Softwarekomponenten nicht verwendet werden."

controlType
Nullable<ControlType>

Der Steuerelementtyp.

controlDescription
String

Die Beschreibung des Steuerelements.

controlDescriptionHyperLink
String

Der Hyperlink zur Beschreibung des Steuerelements.

controlStatus
Nullable<ControlStatus>

Steuerungsstatus

assessments
IEnumerable<Assessment>

Liste der Bewertungen.

Gibt zurück

Eine neue Control instance zum Mocking.

Gilt für: