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 Applies to
This method applies to the following types: