Watch Aspire live streamsDocsTry Aspire

Aspire.Hosting.Radius

Official
📦 Aspire.Hosting.Radiusv13.6.0-preview.1.26478.8net10.0
31Types
5Namespaces
Aspire.Hosting (6)
classRadiusCloudProviderExtensionsstatic
Cloud-provider configuration entry points for RadiusEnvironmentResource. These extensions attach a Annotations.RadiusCloudProvidersAnnotation to the environment that the publisher consumes to emit providers.azure / providers.aws scope blocks and to schedule rad credential register invocations during deploy.
classRadiusExtensionsstatic
Provides extension methods for adding and configuring Radius environment resources.
classRadiusRecipeParameterExtensionsstatic
Recipe-parameter configuration entry points for RadiusEnvironmentResource. These extensions attach a recipe-parameter annotation to the environment that the publisher consumes to emit a parameters block on each recipe entry under Radius.Core/recipePacks (and the legacy Applications.Core/environments inline-recipes shape).
classRadiusSecretStoreConsumerExtensionsstatic
Fluent entry points for consuming a declared Radius secret store from its documented Radius consumers (environment recipeConfig authentication / envSecrets). Each reference is emitted by the store's fully-qualified UCP secret-store ID ( /planes/radius/local/resourceGroups/<group>/providers/Applications.Core/secretStores/<name>). All surface is experimental and gated by ASPIRERADIUS006.
classRadiusSecretStoreDataBuildersealed
Builds the inline data map for a secret store declared with WithData(...).
classRadiusSecretStoreExtensionsstatic
Builder entry points for declaring and populating Radius secret stores ( Applications.Core/secretStores). All surface is experimental and gated by ASPIRERADIUS006.
Aspire.Hosting.Radius (6)
classRadiusBackingResourceProjectionExceptionsealed
Thrown when a Radius backing resource — a cache, database, or queue provisioned by a Radius recipe rather than deployed as a Radius.Compute/containers workload — cannot be projected to its consumers: its address cannot be determined, or the recipe's own connection and credential outputs cannot be described.
classRadiusEnvironmentResourcesealedats export
Represents a Radius compute environment in the Aspire app model.
classRadiusProviderReferencesealed
A reference to a scope field of a cloud provider configured on a Radius environment (via WithAzureProvider / WithAwsProvider). Assign one as a recipe parameter value to reuse provider configuration without re-declaring it, e.g. p["region"] = RadiusProviderReference.AwsRegion.
enumRadiusSecretStoreEncoding
The per-key encoding of an inline Radius secret-store data value, mapping to the Applications.Core/secretStores data.<key>.encoding string values.
classRadiusSecretStoreResourcesealed
Represents a Radius Applications.Core/secretStores@2023-10-01-preview resource in the Aspire app model. Referenceable by consumers (recipe-config auth) via its fully-qualified UCP secret-store ID. Declared via builder.AddRadiusSecretStore(...) (application-scoped) or radius.WithSecretStore(...) (environment-scoped).
enumRadiusSecretStoreType
The Radius secret-store type, mapping 1:1 to the Applications.Core/secretStores properties.type string values. The type drives required-key validation ( ASPIRERADIUS040) and the default per-key encoding ( ASPIRERADIUS047).
Aspire.Hosting.Radius.CloudProviders (2)
Aspire.Hosting.Radius.Publishing (1)
Aspire.Hosting.Radius.Publishing.Constructs (16)
classConnectionConstructsealed
Represents a connection entry in a container's connections block.
classContainerEnvVarConstructsealed
Represents a single environment-variable entry in a container's env block.
classContainerPortConstructsealed
Represents a single port entry in a container's ports block.
classLegacyApplicationConstructsealed
Represents a legacy Applications.Core/applications@2023-10-01-preview resource in the Bicep AST. Parent for Applications.* portable resources that still use the legacy fallback path.
classLegacyApplicationEnvironmentConstructsealed
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).
classLegacyRecipeEntryConstructsealed
Represents an individual recipe entry nested inside a legacy Applications.Core/environments properties.recipes block. Uses the original legacy schema keys templateKind / templatePath, which are unchanged in Radius 0.60. The Radius.Core/recipePacks keys ( kind / source as of 0.60) do not apply here.
classRadiusApplicationConstructsealed
Represents a Radius.Core/applications resource in the Bicep AST.
classRadiusContainerConstructsealed
Represents a Radius.Compute/containers resource in the Bicep AST.
classRadiusEnvironmentConstructsealed
Represents a Radius.Core/environments resource in the Bicep AST.
classRadiusRecipePackConstructsealed
Represents a Radius.Core/recipePacks resource in the Bicep AST.
classRadiusResourceTypeConstructsealed
Represents a Radius resource type instance (e.g., Radius.Data/redisCaches, Radius.Messaging/rabbitMQ) in the Bicep AST. The concrete resource type and API version are passed via the constructor since they vary per Aspire resource mapping.
classRadiusSecretStoreConstructsealed
classRadiusSecretStoreDataEntryConstructsealed
A single entry in a secret store's data map. For inline (Radius-created) stores both RadiusSecretStoreDataEntryConstruct.Value (a reference to a valueless @secure() param) and optionally RadiusSecretStoreDataEntryConstruct.Encoding are assigned. For existing/sealed references nothing is assigned, so the entry emits as an empty object ( {}) naming a key to expose from the referenced Secret.
classRadiusSecuritySecretConstructsealed
Represents a Radius.Security/secrets resource in the Bicep AST — the Radius.* UDT replacement for Applications.Core/secretStores.
classRadiusSecuritySecretDataEntryConstructsealed
A single entry in a Radius.Security/secrets resource's data map.
classRecipeEntryConstructsealed
Represents a single recipe entry inside a Radius.Core/recipePacks recipe pack.