Skip to content
Docs Try Aspire
Docs Try

KubernetesAspireDashboardResource

Handle
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesAspireDashboardResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
readonly otlpGrpcEndpoint: EndpointReference;
readonly primaryEndpoint: EndpointReference;
withForwardedHeaders(enabled?: boolean): KubernetesAspireDashboardResource;
withOtlpServicePort(
grpcPort?: number,
httpPort?: number): KubernetesAspireDashboardResource;
withServicePort(port?: number): KubernetesAspireDashboardResource;
}

Properties

property otlpGrpcEndpoint EndpointReference get
Gets the OTLP gRPC endpoint for receiving telemetry data.
property primaryEndpoint EndpointReference get
Gets the primary HTTP endpoint of the Aspire Dashboard UI.

Methods

method withForwardedHeaders builder
Configures whether forwarded headers processing is enabled for the Aspire dashboard container.
withForwardedHeaders(enabled?: boolean): KubernetesAspireDashboardResource
enabled boolean optional = True
KubernetesAspireDashboardResource
method withOtlpServicePort builder
Sets the Kubernetes Service ports for the Aspire Dashboard OTLP endpoints.
withOtlpServicePort(
grpcPort?: number,
httpPort?: number): KubernetesAspireDashboardResource
grpcPort number optional
httpPort number optional
KubernetesAspireDashboardResource
method withServicePort builder
Sets the Kubernetes Service port for the Aspire Dashboard HTTP endpoint.
withServicePort(port?: number): KubernetesAspireDashboardResource
port number optional
KubernetesAspireDashboardResource