共用方式為


IWithNatRuleSettings Interface

Definition

The stage of the Azure firewall definition allowing to specify nat rule settings.

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)
Derived
Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
WithAnyProtocol()

Adds ANY protocol in firewall rule.

(Inherited from IWithRuleProtocol<ParentT>)
WithDescription(String)

Sets the description of firewall rule in Azure firewall.

(Inherited from IWithDescription<ParentT>)
WithDestinationAddress(String)

Sets the destination address of firewall rule in Azure firewall.

(Inherited from IWithDestinationAddress<ParentT>)
WithDestinationAddresses(IList<String>)

Sets the destination addresses of firewall rule in Azure firewall.

(Inherited from IWithDestinationAddress<ParentT>)
WithDestinationPort(String)

Sets the destination port of firewall rule in Azure firewall.

(Inherited from IWithDestinationPort<ParentT>)
WithDestinationPorts(IList<String>)

Sets the destination ports of firewall rule in Azure firewall.

(Inherited from IWithDestinationPort<ParentT>)
WithIcmpProtocol()

Adds ICMP protocol in firewall rule.

(Inherited from IWithRuleProtocol<ParentT>)
WithSourceAddress(String)

Sets the source address of firewall rule in Azure firewall.

(Inherited from IWithSourceAddress<ParentT>)
WithSourceAddresses(IList<String>)

Sets the source addresses of firewall rule in Azure firewall.

(Inherited from IWithSourceAddress<ParentT>)
WithTcpProtocol()

Adds TCP protocol in firewall rule.

(Inherited from IWithRuleProtocol<ParentT>)
WithUdpProtocol()

Adds UDP protocol in firewall rule.

(Inherited from IWithRuleProtocol<ParentT>)

Applies to