# RadiusInfrastructureOptions

- Kind: `class`
- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Radius.Publishing`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/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., Mongo, SQL Server, 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/rabbitMQ`).
- [SecretStores](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#secretstores) : [List<RadiusSecretStoreConstruct>](/reference/api/csharp/aspire.hosting.radius/radiussecretstoreconstruct.md) `get` -- Gets the list of `Applications.Core/secretStores` constructs emitted for the Radius secret stores declared via `AddRadiusSecretStore` / `WithSecretStore`.
- [SecuritySecrets](/reference/api/csharp/aspire.hosting.radius/radiusinfrastructureoptions/properties.md#securitysecrets) : [List<RadiusSecuritySecretConstruct>](/reference/api/csharp/aspire.hosting.radius/radiussecuritysecretconstruct.md) `get` -- Gets the list of `Radius.Security/secrets` constructs -- the `Radius.*` UDT secret primitive. The collection holds two kinds of entry, both of which a callback can observe:
