# LegacyApplicationEnvironmentConstruct Properties

- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Type: [LegacyApplicationEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationenvironmentconstruct.md)
- Kind: `Properties`
- Members: `7`

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).

<a id="awsscope"></a>

## AwsScope

- Name: `AwsScope`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

Scope path of the AWS cloud provider, emitted as `properties.providers.aws.scope`. Unset for environments that do not configure an AWS provider.

```csharp
public BicepValue<string> AwsScope { get; set; }
```

<a id="azurescope"></a>

## AzureScope

- Name: `AzureScope`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

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.

```csharp
public BicepValue<string> AzureScope { get; set; }
```

<a id="computekind"></a>

## ComputeKind

- Name: `ComputeKind`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

Compute kind (e.g., `kubernetes`).

```csharp
public BicepValue<string> ComputeKind { get; set; }
```

<a id="computenamespace"></a>

## ComputeNamespace

- Name: `ComputeNamespace`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

Compute namespace for Kubernetes.

```csharp
public BicepValue<string> ComputeNamespace { get; set; }
```

<a id="environmentname"></a>

## EnvironmentName

- Name: `EnvironmentName`
- Modifiers: `get; set`
- Returns: `BicepValue<string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

The resource name.

```csharp
public BicepValue<string> EnvironmentName { get; set; }
```

<a id="recipeconfig"></a>

## RecipeConfig

- Name: `RecipeConfig`
- Modifiers: `get; set`
- Returns: `BicepDictionary<object>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

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.

```csharp
public BicepDictionary<object> RecipeConfig { get; set; }
```

<a id="recipes"></a>

## Recipes

- Name: `Recipes`
- Modifiers: `get; set`
- Returns: `BicepDictionary<BicepDictionary<LegacyRecipeEntryConstruct>>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs)

Inline recipes keyed by resource type, with each value being a map of recipe name to recipe entry.

```csharp
public BicepDictionary<BicepDictionary<LegacyRecipeEntryConstruct>> Recipes { get; set; }
```
