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

ArmSecurityCenterModelFactory.AdaptiveNetworkHardeningData 方法

定义

初始化 AdaptiveNetworkHardeningData 的新实例。

public static Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningData AdaptiveNetworkHardeningData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.RecommendedSecurityRule> rules = default, DateTimeOffset? rulesCalculatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.EffectiveNetworkSecurityGroups> effectiveNetworkSecurityGroups = default);
static member AdaptiveNetworkHardeningData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.SecurityCenter.Models.RecommendedSecurityRule> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityCenter.Models.EffectiveNetworkSecurityGroups> -> Azure.ResourceManager.SecurityCenter.AdaptiveNetworkHardeningData
Public Shared Function AdaptiveNetworkHardeningData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional rules As IEnumerable(Of RecommendedSecurityRule) = Nothing, Optional rulesCalculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional effectiveNetworkSecurityGroups As IEnumerable(Of EffectiveNetworkSecurityGroups) = Nothing) As AdaptiveNetworkHardeningData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

rules
IEnumerable<RecommendedSecurityRule>

建议在 VM 上生效的安全规则。

rulesCalculatedOn
Nullable<DateTimeOffset>

计算规则所基于的 UTC 时间。

effectiveNetworkSecurityGroups
IEnumerable<EffectiveNetworkSecurityGroups>

对受保护资源的网络接口有效的网络安全组。

返回

用于模拟的新 AdaptiveNetworkHardeningData 实例。

适用于