Aspire.Hosting.Azure.AppContainers
Official
📦 Aspire.Hosting.Azure.AppContainersv17.0.0Import path
apphost/modules/aspire16Functions
7Types
7 types, 16 functions and 0 members
Handles
DTOs
Functions
AzureContainerAppEnvironmentResource
method
AsExpressbuilderConfigures the container app environment to publish and deploy HTTP applications using Azure Container Apps Express.
AsExpress() AzureContainerAppEnvironmentResourcemethod
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(options ...*WithDashboardOptions) 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(options ...*WithHttpsUpgradeOptions) AzureContainerAppEnvironmentResourcemethod
WithUniqueResourceNamingbuilderConfigures 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() AzureContainerAppEnvironmentResourceContainerApp
method
ConfigureCustomDomainConfigures the custom domain for the container app.
ConfigureCustomDomain(customDomain ParameterResource, certificateName ParameterResource) errormethod
ConfigureScaleConfigures supported Azure Container App scale settings.
ConfigureScale(scale *AzureContainerAppScaleConfig) errorDistributedApplicationBuilder
IComputeResource
method
PublishAsAzureContainerAppJobbuilderConfigures the compute resource as an Azure Container App Job
PublishAsAzureContainerAppJob(options ...*PublishAsAzureContainerAppJobOptions) IComputeResourcemethod
PublishAsScheduledAzureContainerAppJobbuilderConfigures the compute resource as a scheduled Azure Container App Job
PublishAsScheduledAzureContainerAppJob(cronExpression string, options ...*PublishAsScheduledAzureContainerAppJobOptions) IComputeResource