Skip to content
Docs Try Aspire

IComputeEnvironmentResource Methods

Interface Methods 1 member
Represents a compute environment resource.
GetHostAddressExpression(EndpointReference) Section titled GetHostAddressExpression(EndpointReference) virtual ReferenceExpression
Gets a ReferenceExpression representing the host address or host name for the specified EndpointReference.
public interface IComputeEnvironmentResource
{
public virtual ReferenceExpression GetHostAddressExpression(
EndpointReference endpointReference)
{
// ...
}
}
endpointReference EndpointReference The endpoint reference for which to retrieve the host address or host name.
ReferenceExpression A ReferenceExpression representing the host address or host name (not a full URL).
The returned value typically contains only the host name or address, without scheme, port, or path information.