KubernetesEnvironmentResource Methods
ClassMethods1 member
Represents a Kubernetes environment resource that can host application resources.
GetHostAddressExpression(EndpointReference)Section titled GetHostAddressExpression(EndpointReference)ReferenceExpression Gets a
ApplicationModel.ReferenceExpression representing the host address or host name for the specified ApplicationModel.EndpointReference. public sealed class KubernetesEnvironmentResource{ public ReferenceExpression GetHostAddressExpression( EndpointReference endpointReference) { // ... }}Parameters
endpointReferenceEndpointReferenceThe endpoint reference for which to retrieve the host address or host name.Returns
ReferenceExpressionA ApplicationModel.ReferenceExpression representing the host address or host name (not a full URL).Remarks
The returned value typically contains only the host name or address, without scheme, port, or path information.