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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.