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

ArmSecurityCenterModelFactory.SecureScoreControlDetails 方法

定义

初始化 SecureScoreControlDetails 的新实例。

public static Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDetails SecureScoreControlDetails (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, int? healthyResourceCount = default, int? unhealthyResourceCount = default, int? notApplicableResourceCount = default, long? weight = default, Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem definition = default, int? max = default, double? current = default, double? percentage = default);
static member SecureScoreControlDetails : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int64> * Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDefinitionItem * Nullable<int> * Nullable<double> * Nullable<double> -> Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDetails
Public Shared Function SecureScoreControlDetails (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 healthyResourceCount As Nullable(Of Integer) = Nothing, Optional unhealthyResourceCount As Nullable(Of Integer) = Nothing, Optional notApplicableResourceCount As Nullable(Of Integer) = Nothing, Optional weight As Nullable(Of Long) = Nothing, Optional definition As SecureScoreControlDefinitionItem = Nothing, Optional max As Nullable(Of Integer) = Nothing, Optional current As Nullable(Of Double) = Nothing, Optional percentage As Nullable(Of Double) = Nothing) As SecureScoreControlDetails

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

displayName
String

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

healthyResourceCount
Nullable<Int32>

控件中正常运行的资源数。

unhealthyResourceCount
Nullable<Int32>

控件中运行不正常的资源数。

notApplicableResourceCount
Nullable<Int32>

控件中不适用的资源数。

weight
Nullable<Int64>

每个订阅中此特定控件的相对权重。 在所有订阅中计算此控件的聚合分数时使用。

definition
SecureScoreControlDefinitionItem

有关安全控制的信息。

max
Nullable<Int32>

可用最高分数。

current
Nullable<Double>

当前分数。

percentage
Nullable<Double>

当前分数的比率除以最大值。 小数点后舍入到 4 位。

返回

用于模拟的新 SecureScoreControlDetails 实例。

适用于