Azure / Azure/azure-cli

Add protocol parameter to "application-gateway http-listener" and "application-gateway listener" Commands

Open
#29,208 4 comments 0 reactions 1 assignee Claimed by @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign Auto-Resolve Azure CLI Team Network question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Add protocol parameter to "application-gateway http-listener" and "application-gateway listener" Commands
Currently "az network application-gateway http-listener create" and "az network application-gateway listener create" do not have protocol parameter and if --ssl-cert parameter is mentioned it implicitly creates a HTTPS or TLS listener. And this is confusing for the customers.

Example cmdlet having protocol parameter : az network application-gateway http-settings create

**Important Notes:
1) Please make sure it does become a breaking change and should not impact existing customers. It should be an optional parameter.
2) Could you please update the Documentation description for these commands, if the protocol and ssl cert parameter is not set then by default it creates Http Listener and if ssl cert parameter is set it creates Https Listener. Similarly for application-gateway listener commands. Please contact me in case you need additional information**

### Related command

az network application-gateway http-listener create
az network application-gateway listener create
**az network application-gateway http-listener update
az network application-gateway listener update**

### Errors

commands do not support protocol parameter

### Issue script & Debug output

commands do not support protocol parameter

### Expected behavior

commands should have protocol parameter

### Environment Summary

azure-cli 2.39.0 *

core 2.39.0 *
telemetry 1.0.6 *

Extensions:
azure-devops 0.23.0

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\gdhillon\.azure\cliextensions'

Python (Windows) 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 15:58:59) [MSC v.1929 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

### Additional context

Please make sure it does become a breaking change and should not impact existing customers.

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.