AdaptiveNetworkHardeningEnforceContent Constructor
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 AdaptiveNetworkHardeningEnforceContent.
public AdaptiveNetworkHardeningEnforceContent (System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.RecommendedSecurityRule> rules, System.Collections.Generic.IEnumerable<string> networkSecurityGroups);
new Azure.ResourceManager.SecurityCenter.Models.AdaptiveNetworkHardeningEnforceContent : seq<Azure.ResourceManager.SecurityCenter.Models.RecommendedSecurityRule> * seq<string> -> Azure.ResourceManager.SecurityCenter.Models.AdaptiveNetworkHardeningEnforceContent
Public Sub New (rules As IEnumerable(Of RecommendedSecurityRule), networkSecurityGroups As IEnumerable(Of String))
Parameters
The rules to enforce.
- networkSecurityGroups
- IEnumerable<String>
The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.
Exceptions
rules
or networkSecurityGroups
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET