Skip to content
Docs Try Aspire
Docs Try

KubernetesAspireDashboardResource

Handle
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
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 OtlpGrpcEndpoint property
property primaryEndpoint EndpointReference get
Gets the PrimaryEndpoint property

Methods

method withForwardedHeaders builder
Enables or disables forwarded headers support for the Aspire dashboard
withForwardedHeaders(enabled?: boolean): KubernetesAspireDashboardResource
enabled boolean optional = True
KubernetesAspireDashboardResource
method withOtlpServicePort builder
Sets the Kubernetes Service ports for the 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
withServicePort(port?: number): KubernetesAspireDashboardResource
port number optional
KubernetesAspireDashboardResource