共用方式為


NatRule Class

Definition

Rule of type nat.

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

Constructors

NatRule()

Initializes a new instance of the NatRule class.

NatRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, String, IList<String>, String)

Initializes a new instance of the NatRule 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.

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.

TranslatedAddress

Gets or sets the translated address for this NAT rule.

TranslatedFqdn

Gets or sets the translated FQDN for this NAT rule.

TranslatedPort

Gets or sets the translated port for this NAT rule.

Applies to