RadiusEnvironmentResource
Classsealednet10.0
Represents a Radius compute environment in the Aspire app model.
namespace Aspire.Hosting.Radius;
public sealed class RadiusEnvironmentResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource, Aspire.Hosting.ApplicationModel.IResource{ // ...}ResourceIComputeEnvironmentResourceIResource
Constructors1
Section titled Constructors Initializes a new instance of the
RadiusEnvironmentResource class. Properties2
Section titled PropertiesOwningComputeEnvironment get; setIComputeEnvironmentResource? Gets or sets the parent compute environment this Radius environment is hosted by, when the Radius env is itself a child of a higher-level compute environment (e.g. an Azure AKS environment that wraps both Kubernetes and Radius). When set, resources that target the parent environment are also adopted by this Radius environment during the prepare step. Defaults to
null (no parent). Methods1
Section titled MethodsGetHostAddressExpression(EndpointReference) experimentalReferenceExpression Gets a
ApplicationModel.ReferenceExpression representing the host address or host name for the specified ApplicationModel.EndpointReference .