Share via


KubernetesEnvironmentResource.IComputeEnvironmentResource.GetHostAddressExpression Method

Definition

Computes the host URL ReferenceExpression for the given EndpointReference.

Aspire.Hosting.ApplicationModel.ReferenceExpression IComputeEnvironmentResource.GetHostAddressExpression(Aspire.Hosting.ApplicationModel.EndpointReference endpointReference);
abstract member Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource.GetHostAddressExpression : Aspire.Hosting.ApplicationModel.EndpointReference -> Aspire.Hosting.ApplicationModel.ReferenceExpression
override this.Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource.GetHostAddressExpression : Aspire.Hosting.ApplicationModel.EndpointReference -> Aspire.Hosting.ApplicationModel.ReferenceExpression
Function GetHostAddressExpression (endpointReference As EndpointReference) As ReferenceExpression Implements IComputeEnvironmentResource.GetHostAddressExpression

Parameters

endpointReference
EndpointReference

The endpoint reference to compute the host address for.

Returns

A ReferenceExpression representing the host address.

Implements

Applies to