RadiusProviderReference
Classsealednet10.0
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{ // ...}Remarks
Section titled Remarks 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. Properties4
Section titled PropertiesThe 12-digit account ID of the environment's configured AWS provider.
The AWS region of the environment's configured AWS provider.
The resource group of the environment's configured Azure provider.
The subscription ID of the environment's configured Azure provider.