# RadiusEnvironmentResource

- Module: [Aspire.Hosting.Radius](/reference/api/go/aspire.hosting.radius.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a Radius compute environment in the Aspire app model.

## Definition

```go
type RadiusEnvironmentResource interface {
    ComputeEnvironmentResource
    Resource
}
```

## Embeds

- `ComputeEnvironmentResource`
- `Resource`

## Properties

- `Namespace`: `string` `get/set` -- Gets or sets the Kubernetes namespace for resource deployment.

## Methods

- [WithNamespace](/reference/api/go/aspire.hosting.radius/radiusenvironmentresource/withnamespace.md) -- `method` -- Sets the Kubernetes namespace for the Radius environment.
  ```go
  WithNamespace(kubernetesNamespace string) RadiusEnvironmentResource
  ```
