ArmSecurityCenterModelFactory.SecureScoreControlDefinitionItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
- 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
Azure SDK for .NET