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

IUpdateDefinition<ParentT> 接口

定义

入站 NAT 规则定义的全部。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.HasBackendPort.UpdateDefinition.IWithBackendPort<Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithAttach<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasFloatingIP.UpdateDefinition.IWithFloatingIP<Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithAttach<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasFrontend.UpdateDefinition.IWithFrontend<Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithFrontendPort<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasFrontendPort.UpdateDefinition.IWithFrontendPort<Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithAttach<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasProtocol.UpdateDefinition.IWithProtocol<Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithFrontend<ParentT>,Microsoft.Azure.Management.Network.Fluent.Models.TransportProtocol>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithBackendPort<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithFloatingIP<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithFrontend<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithFrontendPort<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithIdleTimeout<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatRule.UpdateDefinition.IWithProtocol<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithProtocol<'ParentT>
    interface IWithProtocol<IWithFrontend<'ParentT>, TransportProtocol>
    interface IWithFrontend<'ParentT>
    interface IWithFrontend<IWithFrontendPort<'ParentT>>
    interface IWithFrontendPort<'ParentT>
    interface IWithFrontendPort<IWithAttach<'ParentT>>
    interface IWithAttach<'ParentT>
    interface IInUpdate<'ParentT>
    interface IWithBackendPort<'ParentT>
    interface IWithBackendPort<IWithAttach<'ParentT>>
    interface IWithFloatingIP<'ParentT>
    interface IWithFloatingIP<IWithAttach<'ParentT>>
    interface IWithIdleTimeout<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithBackendPort(Of IWithAttach(Of ParentT)), IWithBackendPort(Of ParentT), IWithFloatingIP(Of IWithAttach(Of ParentT)), IWithFloatingIP(Of ParentT), IWithFrontend(Of IWithFrontendPort(Of ParentT)), IWithFrontend(Of ParentT), IWithFrontendPort(Of IWithAttach(Of ParentT)), IWithFrontendPort(Of ParentT), IWithIdleTimeout(Of ParentT), IWithProtocol(Of IWithFrontend(Of ParentT), TransportProtocol), IWithProtocol(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

实现

方法

Attach()

入站 NAT 规则定义的全部。

(继承自 IInUpdate<ParentT>)
FromExistingPublicIPAddress(IPublicIPAddress)

指定要从中接收网络流量的现有公共 IP 地址。 如果此负载均衡器已具有引用此公共 IP 地址的前端,则表示将使用的前端。 否则,将在负载均衡器上隐式创建一个自动命名的新公共前端。

(继承自 IWithFrontend<ReturnT>)
FromExistingPublicIPAddress(String)

指定要从中接收网络流量的现有公共 IP 地址。 如果此负载均衡器已具有引用此公共 IP 地址的前端,则表示将使用的前端。 否则,将在负载均衡器上隐式创建一个自动命名的新公共前端。

(继承自 IWithFrontend<ReturnT>)
FromExistingSubnet(INetwork, String)

指定要从中接收网络流量的现有专用子网。 如果此负载均衡器已具有引用此子网的前端,则表示将使用的前端。 否则,将在负载均衡器上隐式创建一个自动命名的新专用前端。

(继承自 IWithFrontend<ReturnT>)
FromExistingSubnet(ISubnet)

指定要从中接收网络流量的现有专用子网。 如果此负载均衡器已具有引用此子网的前端,则表示将使用的前端。 否则,将在负载均衡器上隐式创建一个自动命名的新专用前端。

(继承自 IWithFrontend<ReturnT>)
FromExistingSubnet(String, String)

指定要从中接收网络流量的现有专用子网。 如果此负载均衡器已具有引用此子网的前端,则表示将使用的前端。 否则,将在负载均衡器上隐式创建一个自动命名的新专用前端。

(继承自 IWithFrontend<ReturnT>)
FromFrontend(String)

指定要关联的前端。

(继承自 IWithFrontend<ReturnT>)
FromFrontendPort(Int32)

指定要接收网络流量的前端端口。

(继承自 IWithFrontendPort<ReturnT>)
ToBackendPort(Int32)

指定要向其发送网络流量的后端端口。 如果未指定,则假定后端端口号与前端使用的相同。

(继承自 IWithBackendPort<ReturnT>)
WithFloatingIP(Boolean)

设置浮动 IP 启用。

(继承自 IWithFloatingIP<ReturnT>)
WithFloatingIPDisabled()

禁用浮动 IP 支持。

(继承自 IWithFloatingIP<ReturnT>)
WithFloatingIPEnabled()

启用浮动 IP 支持。

(继承自 IWithFloatingIP<ReturnT>)
WithIdleTimeoutInMinutes(Int32)

指定空闲连接超时(以分钟为单位)。

(继承自 IWithIdleTimeout<ParentT>)
WithProtocol(ProtocolT)

指定传输协议。

(继承自 IWithProtocol<ReturnT,ProtocolT>)

适用于