Skip to content
Docs Try Aspire
Docs Try

withHttpsUpgrade

Method
📦 Aspire.Hosting.Azure.AppService v13.4.0
interface AzureAppServiceEnvironmentResource {
// ... omitted for brevity
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource;
}

Signature

method withHttpsUpgrade builder
Configures whether HTTP endpoints should be automatically upgraded to HTTPS for the Azure App Service environment. By default, HTTP endpoints are upgraded to HTTPS for security and WebSocket compatibility.
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource
upgrade boolean optional = True
AzureAppServiceEnvironmentResource

Applies to

This method applies to the following types: