ArmSecurityCenterModelFactory.AdaptiveNetworkHardeningData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

rules
IEnumerable<RecommendedSecurityRule>

The security rules which are recommended to be effective on the VM.

rulesCalculatedOn
Nullable<DateTimeOffset>

The UTC time on which the rules were calculated.

effectiveNetworkSecurityGroups
IEnumerable<EffectiveNetworkSecurityGroups>

The Network Security Groups effective on the network interfaces of the protected resource.

Returns

A new AdaptiveNetworkHardeningData instance for mocking.

Applies to