Azure / Azure/azure-cli

az network application-gateway http listener --host-names

Open
#19,701 2 comments 0 reactions 1 assignee Claimed by @kairu-ms View on GitHub
act-quality-productivity-squad customer-reported feature-request Network
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

I've run [this command](https://docs.microsoft.com/en-us/cli/azure/network/application-gateway/http-listener?view=azure-cli-latest#az_network_application_gateway_http_listener_create-examples) to create a new http listener, specifying the `--host-names` argument with a space seperated list of domain names.

This ran successfully.

However when viewing the resource in the Azure Portal, the host names appear all on a single line rather than on seperate lines, making me think it hasn't been configured correctly.

![image](https://user-images.githubusercontent.com/3176632/134898806-bc3f9247-d225-415f-8512-44b399841fba.png)

I am raising this here because I am not sure if the "space seperated" --host-names argument is documented incorrectly - causing this bug (i.e perhaps it should be comma seperated?) or if there is some other bug, or perhaps just an azure portal display issue.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 2dce00db-c8d7-9b93-7ac8-114a500a6a34
* Version Independent ID: 14a03192-a30b-d273-fa11-32413868a5fa
* Content: [az network application-gateway http-listener](https://docs.microsoft.com/en-us/cli/azure/network/application-gateway/http-listener?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/network/application-gateway/http-listener.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/network/application-gateway/http-listener.yml)
* Service: **virtual-network**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.