// Module included in the following assemblies:
//
// assembly-managing-address-spaces.adoc

[id='retrieving-address-space-information-{context}']
= Example commands for retrieving address space information

The following table shows the commands for retrieving address space information, such as the {ProductName} Console host name.

.Retrieving address space information commands table
[cols="25%a,75%a",options="header",subs="attributes"]
|===
|To retrieve the... |Run this command:
|{ProductName} Console host name |`{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'console\')].externalHost}`
|status of an address space |`{cmdcli} get addressspace myspace -o jsonpath={.status.isReady}`
|base64-encoded PEM certificate for the messaging endpoint |`{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'messaging\')].cert}`
|host name for the messaging endpoint |`{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'messaging\')].externalHost}`
|===


