# RadiusInfrastructureOptions

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `13.5.3-preview.1.26425.3`
- Namespace: `Aspire.Hosting.Radius.Publishing`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/Publishing/RadiusInfrastructureOptions.cs)

Exposes strongly-typed mutable collections of Radius construct classes for AST customization via the `ConfigureRadiusInfrastructure` callback.

## Definition

```csharp
namespace Aspire.Hosting.Radius.Publishing;

public sealed class RadiusInfrastructureOptions
{
    // ...
}
```

## Remarks

Preview surface. The construct shapes exposed here mirror the still- evolving Radius preview schemas and are expected to change as those schemas stabilize. Treat `ConfigureRadiusInfrastructure` and the construct types referenced by this options bag as an advanced escape hatch that may shift shape across releases of `Aspire.Hosting.Radius`.

## Constructors

- [RadiusInfrastructureOptions](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/constructors.md#constructor)

## Properties

- [Applications](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#applications) : [List<RadiusApplicationConstruct>](/reference/api/csharp/aspire.hosting.radius/radiusapplicationconstruct.md) `get` -- Gets the list of `Radius.Core/applications` constructs.
- [Containers](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#containers) : [List<RadiusContainerConstruct>](/reference/api/csharp/aspire.hosting.radius/radiuscontainerconstruct.md) `get` -- Gets the list of `Radius.Compute/containers` workload constructs.
- [Environments](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#environments) : [List<RadiusEnvironmentConstruct>](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentconstruct.md) `get` -- Gets the list of `Radius.Core/environments` constructs.
- [LegacyApplications](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#legacyapplications) : [List<LegacyApplicationConstruct>](/reference/api/csharp/aspire.hosting.radius/legacyapplicationconstruct.md) `get` -- Gets the list of legacy `Applications.Core/applications` constructs paired with [RadiusInfrastructureOptions.LegacyEnvironments](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#legacyenvironments).
- [LegacyEnvironments](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#legacyenvironments) : [List<LegacyApplicationEnvironmentConstruct>](/reference/api/csharp/aspire.hosting.radius/legacyapplicationenvironmentconstruct.md) `get` -- Gets the list of legacy `Applications.Core/environments` constructs emitted when one or more targeted resources fall back to a legacy `Applications.*` type (e.g., Redis, Mongo, RabbitMQ, Dapr).
- [Parameters](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#parameters) : `List<ProvisioningParameter>` `get` -- Gets the top-level Bicep parameters emitted for secret/parameter values referenced by container environment variables. Secret sources are declared `@secure()` so their values are supplied at deploy time via `rad deploy --parameters` rather than inlined.
- [RecipePacks](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#recipepacks) : [List<RadiusRecipePackConstruct>](/reference/api/csharp/aspire.hosting.radius/radiusrecipepackconstruct.md) `get` -- Gets the list of `Radius.Core/recipePacks` constructs.
- [ResourceTypeInstances](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#resourcetypeinstances) : [List<RadiusResourceTypeConstruct>](/reference/api/csharp/aspire.hosting.radius/radiusresourcetypeconstruct.md) `get` -- Gets the list of resource type instance constructs (e.g., `Radius.Data/redisCaches`, `Radius.Messaging/rabbitMQQueues`).
