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

IWithPublicIPAddress<ParentT> 接口

定义

网络接口 IP 配置定义的阶段,允许将其与公共 IP 地址相关联。

public interface IWithPublicIPAddress<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>>
type IWithPublicIPAddress<'ParentT> = interface
    interface IWithPublicIPAddress<IWithAttach<IUpdate>>
    interface IWithExistingPublicIPAddress<IWithAttach<IUpdate>>
    interface IWithNewPublicIPAddress<IWithAttach<IUpdate>>
    interface IWithNewPublicIPAddressNoDnsLabel<IWithAttach<IUpdate>>
Public Interface IWithPublicIPAddress(Of ParentT)
Implements IWithExistingPublicIPAddress(Of IWithAttach(Of IUpdate)), IWithNewPublicIPAddress(Of IWithAttach(Of IUpdate)), IWithNewPublicIPAddressNoDnsLabel(Of IWithAttach(Of IUpdate)), IWithPublicIPAddress(Of IWithAttach(Of IUpdate))

类型参数

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

适用于