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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET