Condividi tramite


NetworkRule Class

Definition

Rule of type network.

public class NetworkRule : Microsoft.Azure.Management.Network.Models.FirewallPolicyRule
type NetworkRule = class
    inherit FirewallPolicyRule
Public Class NetworkRule
Inherits FirewallPolicyRule
Inheritance

Constructors

NetworkRule()

Initializes a new instance of the NetworkRule class.

NetworkRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the NetworkRule class.

Properties

Description

Gets or sets description of the rule.

(Inherited from FirewallPolicyRule)
DestinationAddresses

Gets or sets list of destination IP addresses or Service Tags.

DestinationFqdns

Gets or sets list of destination FQDNs.

DestinationIpGroups

Gets or sets list of destination IpGroups for this rule.

DestinationPorts

Gets or sets list of destination ports.

IpProtocols

Gets or sets array of FirewallPolicyRuleNetworkProtocols.

Name

Gets or sets name of the rule.

(Inherited from FirewallPolicyRule)
SourceAddresses

Gets or sets list of source IP addresses for this rule.

SourceIpGroups

Gets or sets list of source IpGroups for this rule.

Applies to