WebAppBase.DefinitionStages.WithHostNameBinding<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public interface WithHostNameBinding

A web app definition stage allowing host name binding to be specified.

Method Summary

Modifier and Type Method and Description
HostNameBinding.DefinitionStages.Blank<WebAppBase.DefinitionStages.WithCreate<FluentT>> defineHostnameBinding()

Starts the definition of a new host name binding.

WebAppBase.DefinitionStages.WithCreate<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.DefinitionStages.WithCreate<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.DefinitionStages.Blank<>> defineHostnameBinding()

Starts the definition of a new host name binding.

Returns:

the first stage of a hostname binding definition

withManagedHostnameBindings

public WithCreate 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 the definition

withThirdPartyHostnameBinding

public WithCreate 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 the definition

Applies to