# RadiusEnvironmentResource Properties

- Package: [Aspire.Hosting.Radius](/reference/api/csharp/aspire.hosting.radius.md)
- Type: [RadiusEnvironmentResource](/reference/api/csharp/aspire.hosting.radius/radiusenvironmentresource.md)
- Kind: `Properties`
- Members: `2`

Represents a Radius compute environment in the Aspire app model.

<a id="namespace"></a>

## Namespace

- Name: `Namespace`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/RadiusEnvironmentResource.cs)

Gets or sets the Kubernetes namespace for resource deployment.

```csharp
public string Namespace { get; set; }
```

<a id="owningcomputeenvironment"></a>

## OwningComputeEnvironment

- Name: `OwningComputeEnvironment`
- Modifiers: `nullable` `get; set`
- Returns: `IComputeEnvironmentResource?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting.Radius/RadiusEnvironmentResource.cs)

Gets or sets the parent compute environment this Radius environment is hosted by, when the Radius env is itself a child of a higher-level compute environment (e.g. an Azure AKS environment that wraps both Kubernetes and Radius). When set, resources that target the parent environment are also adopted by this Radius environment during the prepare step. Defaults to `null` (no parent).

```csharp
public IComputeEnvironmentResource? OwningComputeEnvironment { get; set; }
```

## Remarks

Mirrors `KubernetesEnvironmentResource.OwningComputeEnvironment`. Today this is always `null` for vanilla Radius; the property exists so an Azure hosting integration can wrap Radius the same way Azure Kubernetes wraps the K8s integration without needing a breaking change to this type.
