ArmSecurityCenterModelFactory.RegulatoryComplianceControlData Method

Definition

Initializes a new instance of RegulatoryComplianceControlData.

public static Azure.ResourceManager.SecurityCenter.RegulatoryComplianceControlData RegulatoryComplianceControlData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.ResourceManager.SecurityCenter.Models.RegulatoryComplianceState? state = default, int? passedAssessments = default, int? failedAssessments = default, int? skippedAssessments = default);
static member RegulatoryComplianceControlData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.RegulatoryComplianceState> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.SecurityCenter.RegulatoryComplianceControlData
Public Shared Function RegulatoryComplianceControlData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional state As Nullable(Of RegulatoryComplianceState) = Nothing, Optional passedAssessments As Nullable(Of Integer) = Nothing, Optional failedAssessments As Nullable(Of Integer) = Nothing, Optional skippedAssessments As Nullable(Of Integer) = Nothing) As RegulatoryComplianceControlData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

The description of the regulatory compliance control.

state
Nullable<RegulatoryComplianceState>

Aggregative state based on the control's supported assessments states.

passedAssessments
Nullable<Int32>

The number of supported regulatory compliance assessments of the given control with a passed state.

failedAssessments
Nullable<Int32>

The number of supported regulatory compliance assessments of the given control with a failed state.

skippedAssessments
Nullable<Int32>

The number of supported regulatory compliance assessments of the given control with a skipped state.

Returns

A new RegulatoryComplianceControlData instance for mocking.

Applies to