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

* Retrieving the {ProductName} Console host name:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'console\')].externalHost}
----

* Retrieving the status of an address space:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.isReady}
----

* Retrieving the base64-encoded PEM certificate for the messaging endpoint:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'messaging\')].cert
----

* Retrieving the host name for the messaging endpoint:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'messaging\')].externalHost
----<commit_msg>Fix broken commands in documentation (#1949)<commit_after>[id='retrieving-address-space-information-{context}']
= Example commands for retrieving address space information

* Retrieving the {ProductName} Console host name:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'console\')].externalHost}
----

* Retrieving the status of an address space:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.isReady}
----

* Retrieving the base64-encoded PEM certificate for the messaging endpoint:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'messaging\')].cert}
----

* Retrieving the host name for the messaging endpoint:
+
[options="nowrap",subs="attributes"]
----
{cmdcli} get addressspace myspace -o jsonpath={.status.endpointStatuses[?(@.name==\'messaging\')].externalHost}
----
{'fraction_non_alphanumeric': 0.1777434312210201, 'fraction_numerical': 0.004121586810922205, 'mean_word_length': 5.473333333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6346407', 'n_tokens_mistral': 610, 'n_tokens_neox': 588, 'n_words': 137}