Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddRadiusEnvironment

Method
📦 Aspire.Hosting.Radius v17.0.0-preview.1.26565.2
func (DistributedApplicationBuilder) AddRadiusEnvironment(name string) RadiusEnvironmentResource

Signature

methodAddRadiusEnvironmentbuilder
Adds a Radius compute environment to the application model.
AddRadiusEnvironment(name string) RadiusEnvironmentResource
namestringThe name of the Radius environment resource.
RadiusEnvironmentResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder