KubernetesAspireDashboardResource.withServicePort
Method
interface KubernetesAspireDashboardResource { // ... omitted for brevity withServicePort(port?: number): KubernetesAspireDashboardResource;}Signature
method
withServicePort builderSets the Kubernetes Service port for the Aspire Dashboard HTTP endpoint.
withServicePort(port?: number): KubernetesAspireDashboardResourceParameters
portnumberoptionalThe Service port number. Cluster-internal clients will connect to this port, which routes to the dashboard's container port (18888). If `null`, the Service port defaults to the container port.Returns
KubernetesAspireDashboardResource Defined on
This method is defined on the following type: