registryAlias | String. Optional. Alias to use to connect to a Consul server. If you do not specify this parameter, the service uses the default Consul server alias | |
microserviceName | String. Microservice for which you want to retrieve an active host. |
hostName | String. Name of a host of the microservice, chosen randomly. The host name is in the format: port (for example, appserver.xyz.com:4555). If there are no hosts registered for the given microservice, returns null. |