你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithNatRuleSettings 接口

定义

允许指定 nat 规则设置的 Azure 防火墙定义的阶段。

public interface IWithNatRuleSettings : Microsoft.Azure.Management.Network.Fluent.AzureFirewall.BaseRule.IWithDescription<Microsoft.Azure.Management.Network.Fluent.AzureFirewall.Definition.IWithNatRuleSettings>, Microsoft.Azure.Management.Network.Fluent.AzureFirewall.BaseRule.IWithDestinationAddress<Microsoft.Azure.Management.Network.Fluent.AzureFirewall.Definition.IWithNatRuleSettings>, Microsoft.Azure.Management.Network.Fluent.AzureFirewall.BaseRule.IWithDestinationPort<Microsoft.Azure.Management.Network.Fluent.AzureFirewall.Definition.IWithNatRuleSettings>, Microsoft.Azure.Management.Network.Fluent.AzureFirewall.BaseRule.IWithRuleProtocol<Microsoft.Azure.Management.Network.Fluent.AzureFirewall.Definition.IWithNatRuleSettings>, Microsoft.Azure.Management.Network.Fluent.AzureFirewall.BaseRule.IWithSourceAddress<Microsoft.Azure.Management.Network.Fluent.AzureFirewall.Definition.IWithNatRuleSettings>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<Microsoft.Azure.Management.Network.Fluent.AzureFirewall.Definition.IWithNatRuleCollectionSettings>
type IWithNatRuleSettings = interface
    interface IWithDescription<IWithNatRuleSettings>
    interface IWithSourceAddress<IWithNatRuleSettings>
    interface IWithDestinationAddress<IWithNatRuleSettings>
    interface IWithDestinationPort<IWithNatRuleSettings>
    interface IWithRuleProtocol<IWithNatRuleSettings>
    interface IInDefinition<IWithNatRuleCollectionSettings>
Public Interface IWithNatRuleSettings
Implements IInDefinition(Of IWithNatRuleCollectionSettings), IWithDescription(Of IWithNatRuleSettings), IWithDestinationAddress(Of IWithNatRuleSettings), IWithDestinationPort(Of IWithNatRuleSettings), IWithRuleProtocol(Of IWithNatRuleSettings), IWithSourceAddress(Of IWithNatRuleSettings)
派生
实现

方法

Attach()

允许指定 nat 规则设置的 Azure 防火墙定义的阶段。

(继承自 IInDefinition<ParentT>)
WithAnyProtocol()

在防火墙规则中添加 ANY 协议。

(继承自 IWithRuleProtocol<ParentT>)
WithDescription(String)

设置 Azure 防火墙中防火墙规则的说明。

(继承自 IWithDescription<ParentT>)
WithDestinationAddress(String)

设置 Azure 防火墙中防火墙规则的目标地址。

(继承自 IWithDestinationAddress<ParentT>)
WithDestinationAddresses(IList<String>)

设置 Azure 防火墙中防火墙规则的目标地址。

(继承自 IWithDestinationAddress<ParentT>)
WithDestinationPort(String)

设置 Azure 防火墙中防火墙规则的目标端口。

(继承自 IWithDestinationPort<ParentT>)
WithDestinationPorts(IList<String>)

设置 Azure 防火墙中防火墙规则的目标端口。

(继承自 IWithDestinationPort<ParentT>)
WithIcmpProtocol()

在防火墙规则中添加 ICMP 协议。

(继承自 IWithRuleProtocol<ParentT>)
WithSourceAddress(String)

设置 Azure 防火墙中防火墙规则的源地址。

(继承自 IWithSourceAddress<ParentT>)
WithSourceAddresses(IList<String>)

在 Azure 防火墙中设置防火墙规则的源地址。

(继承自 IWithSourceAddress<ParentT>)
WithTcpProtocol()

在防火墙规则中添加 TCP 协议。

(继承自 IWithRuleProtocol<ParentT>)
WithUdpProtocol()

在防火墙规则中添加 UDP 协议。

(继承自 IWithRuleProtocol<ParentT>)

适用于