-
Notifications
You must be signed in to change notification settings - Fork 853
Open
Labels
area-polyglotIssues related to polyglot apphostsIssues related to polyglot apphosts
Milestone
Description
Summary
The ConfigureCustomDomain API for Azure Container Apps is available in C# (experimental, ASPIREACADOMAINS001) but not exposed in the TypeScript AppHost.
C# API
var customDomain = builder.AddParameter("customDomain");
var certificateName = builder.AddParameter("certificateName");
builder.AddProject<Projects.Api>("api")
.PublishAsAzureContainerApp((infrastructure, app) =>
{
ContainerAppExtensions.ConfigureCustomDomain(
app, customDomain, certificateName);
});Expected TypeScript equivalent
const customDomain = builder.addParameter("customDomain");
const certificateName = builder.addParameter("certificateName");
const api = await builder.addProject("api", "../Api/Api.csproj", "http");
await api.publishAsAzureContainerApp(async (infrastructure, app) => {
configureCustomDomain(app, customDomain, certificateName);
});Context
This was identified while writing deployment docs at https://github.com/microsoft/aspire.dev. The Azure Container Apps customization page currently notes this API as "not yet available" in TypeScript.
Note: This API is experimental in C# as well (ASPIREACADOMAINS001).
/cc @sebastienros
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-polyglotIssues related to polyglot apphostsIssues related to polyglot apphosts