KubernetesEnvironmentResource.WithDashboard

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
type KubernetesEnvironmentResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: