Skip to content
DocsTry Aspire
DocsTry

LegacyApplicationEnvironmentConstruct

Classsealednet10.0
📦 Aspire.Hosting.Radius v13.5.3-preview.1.26425.3
Represents a legacy Applications.Core/environments@2023-10-01-preview resource in the Bicep AST. Used as a parent for Applications.* portable resources whose UDT counterparts are not yet GA (Redis, Mongo, RabbitMQ, Dapr state store, Dapr pubsub).
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. The new recipeKind / recipeLocation keys are only used by Radius.Core/recipePacks.