Cloud API Overview > @adpt/cloud > NetworkService > hostname
NetworkService.hostname() method
Returns the hostname of the NetworkService, once it is known.
Signature:
hostname(scope: NetworkScope): string | undefined;
Parameters
| Parameter | Type | Description |
|---|---|---|
| scope | NetworkScope |
Returns:
string | undefined