Compartilhar via


ArmNetworkModelFactory.EffectiveNetworkSecurityGroup Método

Definição

Inicializa uma nova instância de EffectiveNetworkSecurityGroup.

public static Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityGroup EffectiveNetworkSecurityGroup (Azure.Core.ResourceIdentifier networkSecurityGroupId = default, Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityGroupAssociation association = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityRule> effectiveSecurityRules = default, System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IList<string>> tagToIPAddresses = default);
static member EffectiveNetworkSecurityGroup : Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityGroupAssociation * seq<Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityRule> * System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IList<string>> -> Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityGroup
Public Shared Function EffectiveNetworkSecurityGroup (Optional networkSecurityGroupId As ResourceIdentifier = Nothing, Optional association As EffectiveNetworkSecurityGroupAssociation = Nothing, Optional effectiveSecurityRules As IEnumerable(Of EffectiveNetworkSecurityRule) = Nothing, Optional tagToIPAddresses As IReadOnlyDictionary(Of String, IList(Of String)) = Nothing) As EffectiveNetworkSecurityGroup

Parâmetros

networkSecurityGroupId
ResourceIdentifier

A ID do grupo de segurança de rede que é aplicada.

association
EffectiveNetworkSecurityGroupAssociation

Recursos associados.

effectiveSecurityRules
IEnumerable<EffectiveNetworkSecurityRule>

Uma coleção de regras de segurança eficazes.

tagToIPAddresses
IReadOnlyDictionary<String,IList<String>>

Mapeamento de marcas para lista de endereços IP incluídos na marca.

Retornos

Uma nova EffectiveNetworkSecurityGroup instância para zombar.

Aplica-se a