Aspire.Hosting.Azure.AppContainers
Official
📦 Aspire.Hosting.Azure.AppContainersv13.4.014Functions
2Types
2 types and 0 members
Types
Functions
method
addAzureContainerAppEnvironmentbuilderAdds a container app environment resource to the distributed application builder.
addAzureContainerAppEnvironment(name: string): AzureContainerAppEnvironmentResourcemethod
configureCustomDomainConfigures the custom domain for the container app.
configureCustomDomain(customDomain: ParameterResource, certificateName: ParameterResource): voidmethod
configureScaleConfigures supported Azure Container App scale settings.
configureScale(scale: AzureContainerAppScaleConfig): voidmethod
publishAsAzureContainerAppbuilderPublishes the specified container resource as a container app.
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => Promise<void>): ContainerResourcemethod
publishAsAzureContainerAppbuilderPublishes the specified container resource as a container app.
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => Promise<void>): ExecutableResourcemethod
publishAsAzureContainerAppbuilderAllows configuring the specified project resource as a container app.
publishAsAzureContainerApp(configure: (arg1: AzureResourceInfrastructure, arg2: ContainerApp) => Promise<void>): ProjectResourcemethod
publishAsAzureContainerAppJobbuilderConfigures the compute resource as an Azure Container App Job
publishAsAzureContainerAppJob(configure?: (arg1: AzureResourceInfrastructure, arg2: ContainerAppJob) => Promise<void>): IComputeResourcemethod
publishAsScheduledAzureContainerAppJobbuilderConfigures the compute resource as a scheduled Azure Container App Job
publishAsScheduledAzureContainerAppJob(cronExpression: string, configure?: (arg1: AzureResourceInfrastructure, arg2: ContainerAppJob) => Promise<void>): IComputeResourcemethod
withAcrPullIdentitybuilderConfigures 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): AzureContainerAppEnvironmentResourcemethod
withAzdResourceNamingbuilderConfigures the container app environment resources to use the same naming conventions as azd.
withAzdResourceNaming(): AzureContainerAppEnvironmentResourcemethod
withAzureLogAnalyticsWorkspacebuilderConfigures the container app environment resource to use the specified Log Analytics Workspace.
withAzureLogAnalyticsWorkspace(workspaceBuilder: AzureLogAnalyticsWorkspaceResource): AzureContainerAppEnvironmentResourcemethod
withCompactResourceNamingbuilderConfigures 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(): AzureContainerAppEnvironmentResourcemethod
withDashboardbuilderConfigures whether the Aspire dashboard should be included in the container app environment.
withDashboard(enable?: boolean): AzureContainerAppEnvironmentResourcemethod
withHttpsUpgradebuilderConfigures 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