你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebAppBase.UpdateStages.WithHostNameBinding<FluentT> Interface
Type Parameters
- FluentT
the type of the resource
public interface WithHostNameBinding
The stage of the web app update allowing host name binding to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
HostNameBinding.UpdateDefinitionStages.Blank<Web |
defineHostnameBinding()
Starts the definition of a new host name binding. |
Web |
withManagedHostnameBindings(AppServiceDomain domain, String... hostnames)
Defines a list of host names of an Azure managed domain. The DNS record type is defaulted to be CNAME except for the root level domain ("@"). |
Web |
withoutHostnameBinding(String hostname)
Unbinds a hostname from the web app. |
Web |
withThirdPartyHostnameBinding(String domain, String... hostnames)
Defines a list of host names of an externally purchased domain. The hostnames must be configured before hand to point to the web app. |
Method Details
defineHostnameBinding
public HostNameBinding.UpdateDefinitionStages.Blank<>
Starts the definition of a new host name binding.
Returns:
withManagedHostnameBindings
public Update
Defines a list of host names of an Azure managed domain. The DNS record type is defaulted to be CNAME except for the root level domain ("@").
Parameters:
Returns:
withoutHostnameBinding
public Update
Unbinds a hostname from the web app.
Parameters:
Returns:
withThirdPartyHostnameBinding
public Update
Defines a list of host names of an externally purchased domain. The hostnames must be configured before hand to point to the web app.
Parameters:
Returns:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈