Skip to content
DocsTry Aspire
DocsTry

AzureAppServiceEnvironmentResource.withHttpsUpgrade

Method
📦 Aspire.Hosting.Azure.AppService v13.4.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= True
AzureAppServiceEnvironmentResource

Defined on

This method is defined on the following type: