Watch Aspire live streamsDocsTry Aspire

RadiusProviderReference

Classsealednet10.0
📦 Aspire.Hosting.Radius v13.6.0-preview.1.26478.8
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.
namespace Aspire.Hosting.Radius;
public sealed class RadiusProviderReference
{
// ...
}
References are resolved at publish time against the cloud provider configured on the same environment; they do not require capturing the provider-builder instance passed to the WithAzureProvider / WithAwsProvider callback. Referencing a provider that is not configured on the environment fails at publish time with a message naming the missing provider.
View all properties