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.
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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> assessmentDefinitions = default, Azure.ResourceManager.SecurityCenter.Models.SecurityControlType? sourceType = default);
static member SecureScoreControlDefinitionItem : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<int> * seq<Azure.ResourceManager.Resources.Models.SubResource> * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityControlType> -> 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 assessmentDefinitions As IEnumerable(Of SubResource) = Nothing, Optional sourceType As Nullable(Of SecurityControlType) = Nothing) As SecureScoreControlDefinitionItem
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- displayName
- String
User friendly display name of the control.
- description
- String
User friendly description of the control.
- assessmentDefinitions
- IEnumerable<SubResource>
Array of assessments metadata IDs that are included in this security control.
- sourceType
- Nullable<SecurityControlType>
The type of security control (for example, BuiltIn).
Returns
A new SecureScoreControlDefinitionItem instance for mocking.