Share via


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

IWithAttach<ParentT> 接口

定义

网络接口 IP 配置的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,或者可以使用 WithAttach.attach () 将网络接口 IP 配置定义附加到父网络接口定义。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.UpdateDefinition.IWithExistingPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.UpdateDefinition.IWithNewPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.UpdateDefinition.IWithNewPublicIPAddressNoDnsLabel<Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.UpdateDefinition.IWithPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate>>, Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithApplicationGateway<ParentT>, Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithApplicationGatewayBeta<ParentT>, Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithLoadBalancer<ParentT>, Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.UpdateDefinition.IWithPublicIPAddress<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithAttach<'ParentT> = interface
    interface IInUpdate<'ParentT>
    interface IWithPublicIPAddress<'ParentT>
    interface IWithPublicIPAddress<IWithAttach<IUpdate>>
    interface IWithExistingPublicIPAddress<IWithAttach<IUpdate>>
    interface IWithNewPublicIPAddress<IWithAttach<IUpdate>>
    interface IWithNewPublicIPAddressNoDnsLabel<IWithAttach<IUpdate>>
    interface IWithLoadBalancer<'ParentT>
    interface IWithApplicationGateway<'ParentT>
    interface IWithApplicationGatewayBeta<'ParentT>
    interface IBeta
Public Interface IWithAttach(Of ParentT)
Implements IBeta, IInUpdate(Of ParentT), IWithApplicationGateway(Of ParentT), IWithApplicationGatewayBeta(Of ParentT), IWithExistingPublicIPAddress(Of IWithAttach(Of IUpdate)), IWithLoadBalancer(Of ParentT), IWithNewPublicIPAddress(Of IWithAttach(Of IUpdate)), IWithNewPublicIPAddressNoDnsLabel(Of IWithAttach(Of IUpdate)), IWithPublicIPAddress(Of IWithAttach(Of IUpdate)), IWithPublicIPAddress(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父网络接口更新的阶段。

派生
实现

方法

Attach()

网络接口 IP 配置的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,或者可以使用 WithAttach.attach () 将网络接口 IP 配置定义附加到父网络接口定义。

(继承自 IInUpdate<ParentT>)
WithExistingApplicationGatewayBackend(IApplicationGateway, String)

指定要与此 IP 配置关联的应用程序网关后端。

(继承自 IWithApplicationGatewayBeta<ParentT>)
WithExistingLoadBalancerBackend(ILoadBalancer, String)

指定要与此 IP 配置关联的负载均衡器。

(继承自 IWithLoadBalancer<ParentT>)
WithExistingLoadBalancerInboundNatRule(ILoadBalancer, String)

指定要与此 IP 配置关联的负载均衡器入站 NAT 规则。

(继承自 IWithLoadBalancer<ParentT>)
WithExistingPublicIPAddress(IPublicIPAddress)

将现有公共 IP 地址与资源相关联。

(继承自 IWithExistingPublicIPAddress<ReturnT>)
WithExistingPublicIPAddress(String)

将现有公共 IP 地址与资源相关联。

(继承自 IWithExistingPublicIPAddress<ReturnT>)
WithNewPublicIPAddress()

在资源所在的同一区域和组中创建新的公共 IP 地址,并将其与资源关联。 公共 IP 地址的内部名称和 DNS 标签将派生自资源的名称。

(继承自 IWithNewPublicIPAddressNoDnsLabel<ReturnT>)
WithNewPublicIPAddress(ICreatable<IPublicIPAddress>)

创建新的公共 IP 地址以与资源关联。

(继承自 IWithNewPublicIPAddressNoDnsLabel<ReturnT>)
WithNewPublicIPAddress(String)

使用指定的 DNS 标签在与资源相同的区域和组中创建新的公共 IP 地址,并将其与资源关联。 公共 IP 地址的内部名称将派生自 DNS 标签。

(继承自 IWithNewPublicIPAddress<ReturnT>)

适用于