ArmSecurityCenterModelFactory.AdaptiveNetworkHardeningData 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.
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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
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.