Skip to content
DocsTry Aspire
DocsTry

Aspire.Hosting.Azure.AppContainers

Official
📦 Aspire.Hosting.Azure.AppContainersv13.4.0
14Functions
2Types

Types

Functions

methodaddAzureContainerAppEnvironmentbuilder
Adds a container app environment resource to the distributed application builder.
addAzureContainerAppEnvironment(name: string): AzureContainerAppEnvironmentResource
methodconfigureCustomDomain
Configures the custom domain for the container app.
configureCustomDomain(customDomain: ParameterResource, certificateName: ParameterResource): void
methodconfigureScale
Configures supported Azure Container App scale settings.
configureScale(scale: AzureContainerAppScaleConfig): void
methodpublishAsAzureContainerAppbuilder
Publishes the specified container resource as a container app.
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => Promise<void>): ContainerResource
methodpublishAsAzureContainerAppbuilder
Publishes the specified container resource as a container app.
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => Promise<void>): ExecutableResource
methodpublishAsAzureContainerAppbuilder
Allows configuring the specified project resource as a container app.
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => Promise<void>): ProjectResource
methodpublishAsAzureContainerAppJobbuilder
Configures the compute resource as an Azure Container App Job
publishAsAzureContainerAppJob(configure?: (arg1: AzureResourceInfrastructure, arg2: ContainerAppJob) => Promise<void>): IComputeResource
methodpublishAsScheduledAzureContainerAppJobbuilder
Configures the compute resource as a scheduled Azure Container App Job
publishAsScheduledAzureContainerAppJob(cronExpression: string, configure?: (arg1: AzureResourceInfrastructure, arg2: ContainerAppJob) => Promise<void>): IComputeResource
methodwithAcrPullIdentitybuilder
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): AzureContainerAppEnvironmentResource
methodwithAzdResourceNamingbuilder
Configures the container app environment resources to use the same naming conventions as azd.
withAzdResourceNaming(): AzureContainerAppEnvironmentResource
methodwithAzureLogAnalyticsWorkspacebuilder
Configures the container app environment resource to use the specified Log Analytics Workspace.
withAzureLogAnalyticsWorkspace(workspaceBuilder: AzureLogAnalyticsWorkspaceResource): AzureContainerAppEnvironmentResource
methodwithCompactResourceNamingbuilder
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(): AzureContainerAppEnvironmentResource
methodwithDashboardbuilder
Configures whether the Aspire dashboard should be included in the container app environment.
withDashboard(enable?: boolean): AzureContainerAppEnvironmentResource
methodwithHttpsUpgradebuilder
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): AzureContainerAppEnvironmentResource