K3sServiceEndpointResource
Handle
interface K3sServiceEndpointResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParent, K3sClusterResource]], IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringEnvironmentVariable: string; readonly connectionStringExpression: ReferenceExpression; hostPort: number; readonly namespace: string; readonly parent: K3sClusterResource; readonly serviceName: string; readonly servicePort: number;}8 members
Properties
property
connectionStringEnvironmentVariablestringgetThe environment variable name used to inject the service URL into dependents (`services__{name}__url`), following the Aspire service-discovery convention.
property
connectionStringExpressionReferenceExpressiongetGets the manifest expression for the service URL. Resolves to `http(s)://localhost:{hostPort}` when the endpoint is ready.
property
hostPortnumberget · setGets the host port bound by the port-forward listener.
property
namespacestringgetGets the Kubernetes namespace that contains the Service.
property
parentK3sClusterResourcegetGets the Parent property
property
serviceNamestringgetGets the name of the Kubernetes Service being forwarded.
property
servicePortnumbergetGets the port number declared on the Kubernetes Service.