# AzureContainerAppEnvironmentResource.WithDashboard

- Module: [Aspire.Hosting.Azure.AppContainers](/reference/api/go/aspire.hosting.azure.appcontainers.md)
- Defined on: [AzureContainerAppEnvironmentResource](/reference/api/go/aspire.hosting.azure.appcontainers/azurecontainerappenvironmentresource.md)
- Version: `17.0.0`
- Kind: `method`

Configures whether the Aspire dashboard should be included in the container app environment.

## Definition

```go
type AzureContainerAppEnvironmentResource interface {
    // ... omitted for brevity
    WithDashboard(options ...*WithDashboardOptions) AzureContainerAppEnvironmentResource
}
```

## Signature

```go
WithDashboard(options ...*WithDashboardOptions) AzureContainerAppEnvironmentResource
```

## Parameters

- `options` (`...*WithDashboardOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithDashboardOptions` argument.

- `Enable` (`*bool`) -- Whether to include the Aspire dashboard. Default is true.

## Returns

[`AzureContainerAppEnvironmentResource`](/reference/api/go/aspire.hosting.azure.appcontainers/azurecontainerappenvironmentresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [AzureContainerAppEnvironmentResource](/reference/api/go/aspire.hosting.azure.appcontainers/azurecontainerappenvironmentresource.md) -- `handle`
