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
identityBuilder AzureUserAssignedIdentityResource Returns
AzureAppServiceEnvironmentResource Enables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(applicationInsights?: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResourceParameters
applicationInsights AzureApplicationInsightsResource optional Returns
AzureAppServiceEnvironmentResource Configures whether the Aspire dashboard should be included in the Azure App Service environment.
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResourceParameters
enable boolean optional = True Returns
AzureAppServiceEnvironmentResource Configures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResourceParameters
deploymentSlot ParameterResource Returns
AzureAppServiceEnvironmentResource 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): AzureAppServiceEnvironmentResourceParameters
upgrade boolean optional = True Returns
AzureAppServiceEnvironmentResource