Partilhar via


AdaptiveNetworkHardeningEnforceContent Construtor

Definição

Inicializa uma nova instância de 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))

Parâmetros

rules
IEnumerable<RecommendedSecurityRule>

As regras a serem impostas.

networkSecurityGroups
IEnumerable<String>

As IDs de recursos do Azure dos grupos de segurança de rede efetivos que serão atualizados com as regras de segurança criadas das regras de proteção de rede adaptável.

Exceções

rules ou networkSecurityGroups é nulo.

Aplica-se a