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

IWithPublicIPAddress<ParentT> 接口

定义

允许指定现有公共 IP 地址的公共前端定义的阶段。

public interface IWithPublicIPAddress<ParentT> : Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithExistingPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.LoadBalancerPublicFrontend.Definition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithCreate>>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithNewPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.LoadBalancerPublicFrontend.Definition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithCreate>>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithNewPublicIPAddressNoDnsLabel<Microsoft.Azure.Management.Network.Fluent.LoadBalancerPublicFrontend.Definition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithCreate>>, Microsoft.Azure.Management.Network.Fluent.HasPublicIPAddress.Definition.IWithPublicIPAddress<Microsoft.Azure.Management.Network.Fluent.LoadBalancerPublicFrontend.Definition.IWithAttach<Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithCreate>>
type IWithPublicIPAddress<'ParentT> = interface
    interface IWithPublicIPAddress<IWithAttach<IWithCreate>>
    interface IWithExistingPublicIPAddress<IWithAttach<IWithCreate>>
    interface IWithNewPublicIPAddress<IWithAttach<IWithCreate>>
    interface IWithNewPublicIPAddressNoDnsLabel<IWithAttach<IWithCreate>>
Public Interface IWithPublicIPAddress(Of ParentT)
Implements IWithExistingPublicIPAddress(Of IWithAttach(Of IWithCreate)), IWithNewPublicIPAddress(Of IWithAttach(Of IWithCreate)), IWithNewPublicIPAddressNoDnsLabel(Of IWithAttach(Of IWithCreate)), IWithPublicIPAddress(Of IWithAttach(Of IWithCreate))

类型参数

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

适用于