RadiusEnvironmentResource Constructors
ClassConstructors1 member
Represents a Radius compute environment in the Aspire app model.
Constructor(string)Section titled Constructor(string) Initializes a new instance of the
RadiusEnvironmentResource class. public sealed class RadiusEnvironmentResource{ public RadiusEnvironmentResource( string name) { // ... }}Parameters
namestringThe name of the Radius environment resource.Remarks
Registers the publish/deploy pipeline steps as annotations on the resource so any caller that adds this resource to the application model gets a working environment. In Run mode the resource is normally not added to the model (see
AddRadiusEnvironment) and the annotations are inert. Mirrors KubernetesEnvironmentResource / DockerComposeEnvironmentResource, which also keep their step factories on the resource itself rather than the extension method.