ArmNetworkModelFactory.AzureFirewallApplicationRule 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.
public static Azure.ResourceManager.Network.Models.AzureFirewallApplicationRule AzureFirewallApplicationRule(string name = default, string description = default, System.Collections.Generic.IEnumerable<string> sourceAddresses = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.AzureFirewallApplicationRuleProtocol> protocols = default, System.Collections.Generic.IEnumerable<string> targetFqdns = default, System.Collections.Generic.IEnumerable<string> fqdnTags = default, System.Collections.Generic.IEnumerable<string> sourceIpGroups = default);
static member AzureFirewallApplicationRule : string * string * seq<string> * seq<Azure.ResourceManager.Network.Models.AzureFirewallApplicationRuleProtocol> * seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.AzureFirewallApplicationRule
Public Shared Function AzureFirewallApplicationRule (Optional name As String = Nothing, Optional description As String = Nothing, Optional sourceAddresses As IEnumerable(Of String) = Nothing, Optional protocols As IEnumerable(Of AzureFirewallApplicationRuleProtocol) = Nothing, Optional targetFqdns As IEnumerable(Of String) = Nothing, Optional fqdnTags As IEnumerable(Of String) = Nothing, Optional sourceIpGroups As IEnumerable(Of String) = Nothing) As AzureFirewallApplicationRule
Parameters
- name
- String
Name of the application rule.
- description
- String
Description of the rule.
- sourceAddresses
- IEnumerable<String>
List of source IP addresses for this rule.
- protocols
- IEnumerable<AzureFirewallApplicationRuleProtocol>
Array of ApplicationRuleProtocols.
- targetFqdns
- IEnumerable<String>
List of FQDNs for this rule.
- fqdnTags
- IEnumerable<String>
List of FQDN Tags for this rule.
- sourceIpGroups
- IEnumerable<String>
List of source IpGroups for this rule.
Returns
A new AzureFirewallApplicationRule instance for mocking.