withHttpsUpgrade

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

Signature

methodwithHttpsUpgradebuilder
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
upgradebooleanoptional= TrueWhether to upgrade HTTP endpoints to HTTPS. Default is true.
AzureAppServiceEnvironmentResource

Applies to

This method applies to the following types: