Skip to content
Docs Try Aspire
Docs Try

AzureAppServiceEnvironmentResource

Handle
📦 Aspire.Hosting.Azure.AppService v13.3.0
interface AzureAppServiceEnvironmentResource
extends IAzureResource,
IComputeEnvironmentResource,
IContainerRegistry,
IResource,
IResourceWithParameters,
IAzureComputeEnvironmentResource,
IAzureContainerRegistry {
withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource;
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource;
withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResource;
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource;
}

Methods

Enables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource
applicationInsights AzureApplicationInsightsResource optional
AzureAppServiceEnvironmentResource
method withDashboard builder
Configures whether the Aspire dashboard is included in the Azure App Service environment
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource
enable boolean optional = True
AzureAppServiceEnvironmentResource
method withDeploymentSlot builder
Configures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResource
deploymentSlot ParameterResource
AzureAppServiceEnvironmentResource
method withHttpsUpgrade builder
Configures whether HTTP endpoints are automatically upgraded to HTTPS in Azure App Service
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource
upgrade boolean optional = True
AzureAppServiceEnvironmentResource