ArmNetworkModelFactory.EffectiveNetworkSecurityGroup 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 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
Parameters
- networkSecurityGroupId
- ResourceIdentifier
The ID of network security group that is applied.
- association
- EffectiveNetworkSecurityGroupAssociation
Associated resources.
- effectiveSecurityRules
- IEnumerable<EffectiveNetworkSecurityRule>
A collection of effective security rules.
- tagToIPAddresses
- IReadOnlyDictionary<String,IList<String>>
Mapping of tags to list of IP Addresses included within the tag.
Returns
A new EffectiveNetworkSecurityGroup instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET