Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDashboard

Method
📦 Aspire.Hosting.Kubernetes v13.6.5-preview.1.26559.7
func (KubernetesEnvironmentResource) WithDashboard(options ...*WithDashboardOptions) KubernetesEnvironmentResource

Signature

methodWithDashboardbuilder
Enables the Aspire dashboard for telemetry visualization in this Kubernetes environment.
WithDashboard(options ...*WithDashboardOptions) KubernetesEnvironmentResource
options...*WithDashboardOptionsOptional settings, described under Options.

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

Enabled*boolWhether to enable the dashboard. Default is true.
KubernetesEnvironmentResource

The resource builder.

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

Applies to

This method applies to the following types: