你当前正在访问 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<WebAppBase.Update<FluentT>> defineHostnameBinding()

Starts the definition of a new host name binding.

WebAppBase.Update<FluentT> 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 ("@").

WebAppBase.Update<FluentT> withoutHostnameBinding(String hostname)

Unbinds a hostname from the web app.

WebAppBase.Update<FluentT> 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<>> defineHostnameBinding()

Starts the definition of a new host name binding.

Returns:

the first stage of a hostname binding update

withManagedHostnameBindings

public Update 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 ("@").

Parameters:

domain - the Azure managed domain
hostnames - the list of sub-domains

Returns:

the next stage of web app update

withoutHostnameBinding

public Update withoutHostnameBinding(String hostname)

Unbinds a hostname from the web app.

Parameters:

hostname - the hostname to unbind

Returns:

the next stage of web app update

withThirdPartyHostnameBinding

public Update 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.

Parameters:

domain - the external domain name
hostnames - the list of sub-domains

Returns:

the next stage of web app update

Applies to