Click or drag to resize

KubeServiceBaseUri Property

For services with exactly one network endpoint, this returns the base URI to be used to access the service.

Note Note
This will throw a InvalidOperationException if the service defines no endpoints or has multiple endpoints.

Namespace:  Neon.Kube.Service
Assembly:  Neon.Kube.Service (in Neon.Kube.Service.dll) Version: 2.1.0
public Uri BaseUri { get; }

Property Value

Type: Uri
InvalidOperationException Thrown when the service does not define exactly one endpoint or Description is not set.
See Also