property
primaryEndpoint EndpointReference getGets the primary endpoint of the Aspire Dashboard.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface DockerComposeAspireDashboardResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { readonly otlpGrpcEndpoint: EndpointReference; readonly primaryEndpoint: EndpointReference; withForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResource; withHostPort(port?: number): DockerComposeAspireDashboardResource;}otlpGrpcEndpoint EndpointReference getprimaryEndpoint EndpointReference getwithForwardedHeaders(enabled?: boolean): DockerComposeAspireDashboardResourceParameters
enabledbooleanoptional= TrueTrue to enable forwarded headers (`ASPIRE_DASHBOARD_FORWARDEDHEADERS_ENABLED=true`), false to disable it (sets the value to `false`).Returns
DockerComposeAspireDashboardResource withHostPort(port?: number): DockerComposeAspireDashboardResourceParameters
portnumberoptionalThe port to bind on the host. If non-null, the dashboard will be exposed on the host. If `null`, the dashboard will not be exposed on the host but will only be reachable within the container network.Returns
DockerComposeAspireDashboardResource