你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSecurityCenterModelFactory.SecureScoreControlDefinitionItem 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

displayName
String

控件的用户友好显示名称。

description
String

控件的用户友好说明。

maxScore
Nullable<Int32>

最高控制分数 (0..10) 。

sourceType
Nullable<SecurityControlType>

从中创建控件的源对象。

assessmentDefinitions
IEnumerable<SubResource>

此安全控制中包含的评估元数据 ID 数组。

返回

用于模拟的新 SecureScoreControlDefinitionItem 实例。

适用于