Aspire.Hosting.Azure.AppService
Official
📦 Aspire.Hosting.Azure.AppServicev13.4.010Functions
2Types
2 types and 0 members
Types
Functions
method
addAzureAppServiceEnvironmentbuilderAdds a azure app service environment resource to the distributed application builder.
addAzureAppServiceEnvironment(name: string): AzureAppServiceEnvironmentResourcemethod
configureSiteConfigConfigures supported Azure App Service site settings.
configureSiteConfig(siteConfig: AzureAppServiceSiteConfig): voidmethod
configureSlotSiteConfigConfigures supported Azure App Service deployment slot site settings.
configureSlotSiteConfig(siteConfig: AzureAppServiceSiteConfig): voidmethod
publishAsAzureAppServiceWebsitebuilderPublishes the specified compute resource as an Azure App Service or Azure App Service Slot.
publishAsAzureAppServiceWebsite(configure?: (arg1: AzureResourceInfrastructure, arg2: WebSite) => Promise<void>, configureSlot?: (arg1: AzureResourceInfrastructure, arg2: WebSiteSlot) => Promise<void>): IComputeResourcemethod
skipEnvironmentVariableNameChecksbuilderSkips validation for environment variable names that Azure App Service may not support.
skipEnvironmentVariableNameChecks(): IComputeResourcemethod
withAcrPullIdentitybuilderConfigures the Azure App Service environment to use the supplied `AzureUserAssignedIdentityResource` as the managed identity that App Service apps use to pull images from the configured container registry (the `AcrPull` identity), instead of having Aspire create a new identity and a new `AcrPull` role assignment.
withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureAppServiceEnvironmentResourcemethod
withAzureApplicationInsightsbuilderEnables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResourcemethod
withDashboardbuilderConfigures whether the Aspire dashboard should be included in the Azure App Service environment.
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResourcemethod
withDeploymentSlotbuilderConfigures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResourcemethod
withHttpsUpgradebuilderConfigures 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