RadiusEnvironmentConstruct
Classsealednet10.0
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
8 members
Constructors1
Section titled ConstructorsRadiusEnvironmentConstruct(string)Initializes a new
RadiusEnvironmentConstruct with the given Bicep identifier.Properties7
Section titled PropertiesAwsAccountIdget; setBicepValue<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; setBicepValue<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; setBicepValue<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; setBicepValue<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; setBicepValue<string>The resource name.
KubernetesNamespaceget; setBicepValue<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; setBicepList<string>List of recipe pack resource ID references (BicepExpressions).