Skip to content
Docs Try Aspire
Docs Try

AzureAppServiceEnvironmentResource.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

Defined on

This method is defined on the following type: