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

PublicIPAddress.DefinitionStages.WithLeafDomainLabel 接口

public interface WithLeafDomainLabel

允许指定叶域标签(如果有)的公共 IP 地址定义。

方法摘要

修饰符和类型 方法和描述
PublicIPAddress.DefinitionStages.WithCreate withLeafDomainLabel(String dnsName)

指定要与此公共 IP 地址关联的叶域标签。

(FQDN) 的完全限定域名将自动构造,方法是将域的其余部分追加到此标签。

PublicIPAddress.DefinitionStages.WithCreate withoutLeafDomainLabel()

确保不使用叶域标签。

这意味着此公共 IP 地址不会与域名相关联。

方法详细信息

withLeafDomainLabel

public WithCreate withLeafDomainLabel(String dnsName)

指定要与此公共 IP 地址关联的叶域标签。

(FQDN) 的完全限定域名将自动构造,方法是将域的其余部分追加到此标签。

Parameters:

dnsName - 要使用的叶域标签。 这必须遵循叶域名所需的命名约定。

Returns:

定义的下一阶段

withoutLeafDomainLabel

public WithCreate withoutLeafDomainLabel()

确保不使用叶域标签。

这意味着此公共 IP 地址不会与域名相关联。

Returns:

定义的下一阶段

适用于