LegacyApplicationEnvironmentConstruct
Classsealednet10.0
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
8 members
Remarks
Section titled Remarks 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. Constructors1
Section titled ConstructorsInitializes a new
LegacyApplicationEnvironmentConstruct with the given Bicep identifier.Properties7
Section titled PropertiesAwsScope get; setBicepValue<string> Scope path of the AWS cloud provider, emitted as
properties.providers.aws.scope . Unset for environments that do not configure an AWS provider. AzureScope get; setBicepValue<string> Scope path of the Azure cloud provider, emitted as
properties.providers.azure.scope . Unset for environments that do not configure an Azure provider. Required when a cloud-managed resource on this environment is materialized via a legacy Applications.* recipe so Radius can resolve the Azure provider during deployment. RecipeConfig get; setBicepDictionary<object> The
recipeConfig block ( properties.recipeConfig ) carrying secret-store references for private Bicep-registry auth, Terraform Git PAT auth, and envSecrets . Populated only when a secret store is consumed. Recipesget; setBicepDictionary<BicepDictionary<LegacyRecipeEntryConstruct>> Inline recipes keyed by resource type, with each value being a map of recipe name to recipe entry.