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

IWithNewPublicIPAddress<ReturnT>.WithNewPublicIPAddress(String) 方法

定义

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

public ReturnT WithNewPublicIPAddress (string leafDnsLabel);
abstract member WithNewPublicIPAddress : string -> 'ReturnT
Public Function WithNewPublicIPAddress (leafDnsLabel As String) As ReturnT

参数

leafDnsLabel
String

叶域标签。

返回

ReturnT

适用于