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

IWithPublicIPAddress 接口

定义

虚拟网络网关定义的阶段,允许为 IP 配置指定公共 IP 地址。

public interface IWithPublicIPAddress : Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithExistingPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithNewPublicIPAddressNoDnsLabel<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithPublicIPAddressNoDnsLabel<Microsoft.Azure.Management.Network.Fluent.VirtualNetworkGateway.Definition.IWithCreate>
type IWithPublicIPAddress = interface
    interface IWithPublicIPAddressNoDnsLabel<IWithCreate>
    interface IWithExistingPublicIPAddress<IWithCreate>
    interface IWithNewPublicIPAddressNoDnsLabel<IWithCreate>
Public Interface IWithPublicIPAddress
Implements IWithExistingPublicIPAddress(Of IWithCreate), IWithNewPublicIPAddressNoDnsLabel(Of IWithCreate), IWithPublicIPAddressNoDnsLabel(Of IWithCreate)
派生
实现

方法

WithExistingPublicIPAddress(IPublicIPAddress)

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

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

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

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

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

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

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

(继承自 IWithNewPublicIPAddressNoDnsLabel<ReturnT>)

适用于