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

IWithNetworkRuleSettings 接口

定义

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

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

方法

Attach()

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

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

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

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

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

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

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

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

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

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

设置 Azure 防火墙中防火墙规则的完全限定域名。

(继承自 IWithDestinationFqdn<ParentT>)
WithDestinationFullQualifiedDomainNames(IList<String>)

在 Azure 防火墙中设置防火墙规则的完全限定域名。

(继承自 IWithDestinationFqdn<ParentT>)
WithDestinationIpGroup(String)

设置 Azure 防火墙中防火墙规则的目标 IP 组。

(继承自 IWithDestinationIpGroup<ParentT>)
WithDestinationIpGroups(IList<String>)

在 Azure 防火墙中设置防火墙规则的目标 IP 组。

(继承自 IWithDestinationIpGroup<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>)
WithSourceIpGroup(String)

在 Azure 防火墙中设置防火墙规则的源 IP 组。

(继承自 IWithSourceIpGroup<ParentT>)
WithSourceIpGroups(IList<String>)

在 Azure 防火墙中设置防火墙规则的源 IP 组。

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

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

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

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

(继承自 IWithRuleProtocol<ParentT>)

适用于