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 ConstructorsInitializes a new
RadiusEnvironmentConstruct with the given Bicep identifier.Properties7
Section titled PropertiesAwsAccountId get; 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. AwsRegion get; 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. AzureResourceGroupName get; 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. AzureSubscriptionId get; 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. KubernetesNamespace get; 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.