AzureAppServiceEnvironmentResource

Handle
📦 Aspire.Hosting.Azure.AppService v17.0.0
interface AzureAppServiceEnvironmentResource
extends IAzureResource,
IComputeEnvironmentResource,
IContainerRegistry,
IResource,
IResourceWithParameters,
IAzureCdnPrivateLinkTarget,
IAzureComputeEnvironmentResource,
IAzureContainerRegistry,
IAzureDelegatedSubnetResource {
withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureAppServiceEnvironmentResource;
withAzureApplicationInsights(applicationInsights?: string | ParameterResource | AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource;
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource;
withDeploymentSlot(deploymentSlot: string | ParameterResource): AzureAppServiceEnvironmentResource;
withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource;
}

Methods

methodwithAcrPullIdentitybuilder
Configures 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): AzureAppServiceEnvironmentResource
identityBuilderAzureUserAssignedIdentityResourceThe resource builder for the user-assigned identity that should be used for image pulls. The supplied identity must already have the `AcrPull` role on the configured container registry.
AzureAppServiceEnvironmentResource
Enables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(applicationInsights?: string | ParameterResource | AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource
applicationInsightsstring | ParameterResource | AzureApplicationInsightsResourceoptional
AzureAppServiceEnvironmentResource
methodwithDashboardbuilder
Configures whether the Aspire dashboard should be included in the Azure App Service environment.
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource
enablebooleanoptional= TrueWhether to include the Aspire dashboard. Default is true.
AzureAppServiceEnvironmentResource
methodwithDeploymentSlotbuilder
Configures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: string | ParameterResource): AzureAppServiceEnvironmentResource
deploymentSlotstring | ParameterResource
AzureAppServiceEnvironmentResource
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