Skip to content
DocsTry Aspire
DocsTry

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

propertyotlpGrpcEndpointEndpointReferenceget
Gets the OTLP gRPC endpoint for receiving telemetry data.
propertyprimaryEndpointEndpointReferenceget
Gets the primary HTTP endpoint of the Aspire Dashboard UI.

Methods

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