Watch Aspire live streamsDocsTry Aspire

LegacyApplicationEnvironmentConstruct

Classsealednet10.0
📦 Aspire.Hosting.Radius v13.6.0-preview.1.26478.8
Represents a legacy Applications.Core/environments@2023-10-01-preview resource in the Bicep AST. Used as a parent for Applications.* portable resources with no deployable UDT counterpart (Mongo and SQL Server, whose UDTs ship in the 0.60 Bicep extension but have no published Kubernetes recipe, and the Dapr building blocks, which have no Radius.* namespace at all).
namespace Aspire.Hosting.Radius.Publishing.Constructs;
public sealed class LegacyApplicationEnvironmentConstruct
: Azure.Provisioning.Primitives.ProvisionableResource
{
// ...
}
ProvisionableResource
Legacy environments carry recipes inline under properties.recipes (nested type → recipeName → { templateKind, templatePath }) — the legacy schema keeps the original key names, unchanged in Radius 0.60. The Radius.Core/recipePacks keys ( kind / source as of 0.60) are only used there.
View all constructors
View all properties