Skip to content
DocsTry Aspire
DocsTry

KubernetesAspireDashboardResource.withServicePort

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesAspireDashboardResource {
// ... omitted for brevity
withServicePort(port?: number): KubernetesAspireDashboardResource;
}

Signature

methodwithServicePortbuilder
Sets the Kubernetes Service port for the Aspire Dashboard HTTP endpoint.
withServicePort(port?: number): KubernetesAspireDashboardResource
portnumberoptional
KubernetesAspireDashboardResource

Defined on

This method is defined on the following type: