Interface WebAppBase.DefinitionStages.WithHostNameBinding<FluentT>
- Type Parameters:
FluentT
- the type of the resource
- All Known Subinterfaces:
DeploymentSlot.Definition
,DeploymentSlot.DefinitionStages.WithCreate
,FunctionApp.Definition
,FunctionApp.DefinitionStages.WithCreate
,FunctionDeploymentSlot.Definition
,FunctionDeploymentSlot.DefinitionStages.WithCreate
,WebApp.Definition
,WebApp.DefinitionStages.WithCreate
,WebApp.DefinitionStages.WithStartUpCommand
,WebApp.DefinitionStages.WithWindowsRuntimeStack
,WebAppBase.Definition<FluentT>
,WebAppBase.DefinitionStages.WithCreate<FluentT>
,WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>
,WebAppBase.DefinitionStages.WithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>
- Enclosing interface:
- WebAppBase.DefinitionStages
public static interface WebAppBase.DefinitionStages.WithHostNameBinding<FluentT>
A web app definition stage allowing host name binding to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionStarts the definition of a new host name binding.withManagedHostnameBindings
(AppServiceDomain domain, String... hostnames) Defines a list of host names of an Azure managed domain.withThirdPartyHostnameBinding
(String domain, String... hostnames) Defines a list of host names of an externally purchased domain.
-
Method Details
-
defineHostnameBinding
HostNameBinding.DefinitionStages.Blank<WebAppBase.DefinitionStages.WithCreate<FluentT>> defineHostnameBinding()Starts the definition of a new host name binding.- Returns:
- the first stage of a hostname binding definition
-
withManagedHostnameBindings
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 ("@").- Parameters:
domain
- the Azure managed domainhostnames
- the list of sub-domains- Returns:
- the next stage of the definition
-
withThirdPartyHostnameBinding
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.- Parameters:
domain
- the external domain namehostnames
- the list of sub-domains- Returns:
- the next stage of the definition
-