Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ConfigureCustomDomain

Method
📦 Aspire.Hosting.Azure.AppContainers v17.0.0
func (ContainerApp) ConfigureCustomDomain(
customDomain ParameterResource,
certificateName ParameterResource,
) error

Signature

methodConfigureCustomDomain
Configures the custom domain for the container app.
ConfigureCustomDomain(
customDomain ParameterResource,
certificateName ParameterResource,
) error
customDomainParameterResourceA resource builder for a parameter resource capturing the name of the custom domain.
certificateNameParameterResourceA resource builder for a parameter resource capturing the name of the certificate configured in the Azure Portal.
error

Returns error.

Applies to

This method applies to the following types: