ArmSecurityCenterModelFactory.SecureScoreControlDefinitionItem Method

Definition

Initializes a new instance of SecureScoreControlDefinitionItem.

public static Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem SecureScoreControlDefinitionItem (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string description = default, int? maxScore = default, Azure.ResourceManager.SecurityCenter.Models.SecurityControlType? sourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> assessmentDefinitions = default);
static member SecureScoreControlDefinitionItem : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<int> * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityControlType> * seq<Azure.ResourceManager.Resources.Models.SubResource> -> Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem
Public Shared Function SecureScoreControlDefinitionItem (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional maxScore As Nullable(Of Integer) = Nothing, Optional sourceType As Nullable(Of SecurityControlType) = Nothing, Optional assessmentDefinitions As IEnumerable(Of SubResource) = Nothing) As SecureScoreControlDefinitionItem

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

User friendly display name of the control.

description
String

User friendly description of the control.

maxScore
Nullable<Int32>

Maximum control score (0..10).

sourceType
Nullable<SecurityControlType>

Source object from which the control was created.

assessmentDefinitions
IEnumerable<SubResource>

Array of assessments metadata IDs that are included in this security control.

Returns

A new SecureScoreControlDefinitionItem instance for mocking.

Applies to