AzureContainerAppEnvironmentResource
Handle
interface AzureContainerAppEnvironmentResource extends IAzureResource, IComputeEnvironmentResource, IComputeEnvironmentWithVolumeMounts, IContainerRegistry, IResource, IResourceWithParameters, IAzureCdnPrivateLinkTarget, IAzureComputeEnvironmentResource, IAzureContainerRegistry, IAzureDelegatedSubnetResource, IAzureInternalIngressResource { asExpress(): AzureContainerAppEnvironmentResource; withAcrPullIdentity(identityBuilder: AzureUserAssignedIdentityResource): AzureContainerAppEnvironmentResource; withAzdResourceNaming(): AzureContainerAppEnvironmentResource; withAzureLogAnalyticsWorkspace(workspaceBuilder: AzureLogAnalyticsWorkspaceResource): AzureContainerAppEnvironmentResource; withCompactResourceNaming(): AzureContainerAppEnvironmentResource; withDashboard(enable?: boolean): AzureContainerAppEnvironmentResource; withHttpsUpgrade(upgrade?: boolean): AzureContainerAppEnvironmentResource; withUniqueResourceNaming(): AzureContainerAppEnvironmentResource;}8 members
Methods
Configures the container app environment to publish and deploy HTTP applications using Azure Container Apps Express.
asExpress(): AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource Configures the container app environment to use the supplied `AzureUserAssignedIdentityResource` as the managed identity that container apps in the environment 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): AzureContainerAppEnvironmentResourceParameters
identityBuilder AzureUserAssignedIdentityResource The resource builder for the user-assigned identity that should be used for image pulls. This identity is only used for the `AcrPull` role; it is not assigned to individual container apps in the environment.Returns
AzureContainerAppEnvironmentResource Configures the container app environment resources to use the same naming conventions as azd.
withAzdResourceNaming(): AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource Configures the container app environment resource to use the specified Log Analytics Workspace.
withAzureLogAnalyticsWorkspace(workspaceBuilder: AzureLogAnalyticsWorkspaceResource): AzureContainerAppEnvironmentResourceParameters
workspaceBuilder AzureLogAnalyticsWorkspaceResource The resource builder for the `AzureLogAnalyticsWorkspaceResource` to use.Returns
AzureContainerAppEnvironmentResource Configures the container app environment to use compact resource naming that maximally preserves the `uniqueString` suffix for length-constrained Azure resources such as storage accounts.
withCompactResourceNaming(): AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource Configures whether the Aspire dashboard should be included in the container app environment.
withDashboard(enable?: boolean): AzureContainerAppEnvironmentResourceParameters
enablebooleanoptional= TrueWhether to include the Aspire dashboard. Default is true.Returns
AzureContainerAppEnvironmentResource Configures whether HTTP endpoints should be upgraded to HTTPS in Azure Container Apps. By default, HTTP endpoints are upgraded to HTTPS for security and WebSocket compatibility.
withHttpsUpgrade(upgrade?: boolean): AzureContainerAppEnvironmentResourceParameters
upgradebooleanoptional= TrueWhether to upgrade HTTP endpoints to HTTPS. Default is true.Returns
AzureContainerAppEnvironmentResource Configures the container app environment to incorporate its resource name into the generated managed environment `name`, so that multiple environments in the same resource group get distinct names.
withUniqueResourceNaming(): AzureContainerAppEnvironmentResourceReturns
AzureContainerAppEnvironmentResource