Skip to content
Docs Try Aspire
Docs Try

Aspire.Hosting.Azure.AppContainers

Official
📦 Aspire.Hosting.Azure.AppContainers v13.4.0
14 Functions
2 Types

Types

Functions

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