Skip to content
DocsTry Aspire
DocsTry

RadiusEnvironmentConstruct

Classsealednet10.0
📦 Aspire.Hosting.Radius v13.5.3-preview.1.26425.3
Represents a Radius.Core/environments resource in the Bicep AST.
namespace Aspire.Hosting.Radius.Publishing.Constructs;
public sealed class RadiusEnvironmentConstruct
: Azure.Provisioning.Primitives.ProvisionableResource
{
// ...
}
ProvisionableResource
View all constructors
AwsAccountIdget; set
BicepValue<string>
12-digit account ID of the AWS cloud provider. Emitted as properties.providers.aws.accountId. The native Radius.Core/environments schema models the AWS provider with discrete accountId / region fields (unlike the legacy Applications.Core/environments single scope path). Unset for environments that do not configure an AWS provider.
AwsRegionget; set
BicepValue<string>
Region code of the AWS cloud provider, e.g. us-west-2. Emitted as properties.providers.aws.region. Unset for environments that do not configure an AWS provider.
AzureResourceGroupNameget; set
BicepValue<string>
Resource-group name of the Azure cloud provider. Emitted as properties.providers.azure.resourceGroupName. Unset for environments that do not configure an Azure provider.
AzureSubscriptionIdget; set
BicepValue<string>
Subscription GUID of the Azure cloud provider. Emitted as properties.providers.azure.subscriptionId. The native Radius.Core/environments schema models the Azure provider with discrete subscriptionId / resourceGroupName fields (unlike the legacy Applications.Core/environments single scope path). Unset for environments that do not configure an Azure provider.
EnvironmentNameget; set
BicepValue<string>
The resource name.
KubernetesNamespaceget; set
BicepValue<string>
Kubernetes namespace for the environment's Kubernetes provider. When set, emits properties.providers.kubernetes.namespace, which Radius requires to route built-in compute UDTs (e.g. Radius.Compute/containers) to a Kubernetes cluster instead of falling back to the Azure provider.
RecipePacksget; set
BicepList<string>
List of recipe pack resource ID references (BicepExpressions).
View all properties