Skip to content
Docs Try Aspire
Docs Try

Aspire.Hosting.Azure.AppService

Official
📦 Aspire.Hosting.Azure.AppService v13.3.0
7 Functions
1 Types

Types

Functions

method addAzureAppServiceEnvironment builder
Adds an Azure App Service environment resource
addAzureAppServiceEnvironment(name: string): AzureAppServiceEnvironmentResource
method publishAsAzureAppServiceWebsite builder
Publishes the compute resource as an Azure App Service website or deployment slot
publishAsAzureAppServiceWebsite(configure?: (arg1: AzureResourceInfrastructure, arg2: WebSite) => Promise<void>, configureSlot?: (arg1: AzureResourceInfrastructure, arg2: WebSiteSlot) => Promise<void>): IComputeResource
method skipEnvironmentVariableNameChecks builder
Skips Azure App Service environment variable name validation for the compute resource
skipEnvironmentVariableNameChecks(): IComputeResource
method withAzureApplicationInsights builder
Enables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource
method withDashboard builder
Configures whether the Aspire dashboard is included in the Azure App Service environment
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource
method withDeploymentSlot builder
Configures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResource
method withHttpsUpgrade builder
Configures whether HTTP endpoints are automatically upgraded to HTTPS in Azure App Service
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource