# LegacyApplicationEnvironmentConstruct Constructors

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

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

<a id="constructor"></a>
<a id="constructor-string"></a>

## LegacyApplicationEnvironmentConstruct(string)

- Name: `Constructor(string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/Constructs/LegacyApplicationEnvironmentConstruct.cs#L104-L106)

Initializes a new [LegacyApplicationEnvironmentConstruct](/reference/api/csharp/aspire.hosting.radius/legacyapplicationenvironmentconstruct.md) with the given Bicep identifier.

```csharp
public sealed class LegacyApplicationEnvironmentConstruct
{
    public LegacyApplicationEnvironmentConstruct(
        string bicepIdentifier)
    {
        // ...
    }
}
```

## Parameters

- `bicepIdentifier` (`string`)
