AzureAppServiceEnvironmentResource
Handle
interface AzureAppServiceEnvironmentResource extends IAzureResource, IComputeEnvironmentResource, IContainerRegistry, IResource, IResourceWithParameters, IAzureComputeEnvironmentResource, IAzureContainerRegistry { withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureAppServiceEnvironmentResource; withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource; withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource; withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResource; withHttpsUpgrade(upgrade?: boolean): AzureAppServiceEnvironmentResource;}5 members
Methods
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): AzureAppServiceEnvironmentResourceParameters
identityBuilderAzureUserAssignedIdentityResourceReturns
AzureAppServiceEnvironmentResourceEnables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResourceParameters
applicationInsightsAzureApplicationInsightsResourceoptionalReturns
AzureAppServiceEnvironmentResourceConfigures whether the Aspire dashboard should be included in the Azure App Service environment.
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResourceParameters
enablebooleanoptional= TrueReturns
AzureAppServiceEnvironmentResourceConfigures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResourceParameters
deploymentSlotParameterResourceReturns
AzureAppServiceEnvironmentResourceConfigures 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): AzureAppServiceEnvironmentResourceParameters
upgradebooleanoptional= TrueReturns
AzureAppServiceEnvironmentResource