Azure / Azure/azure-cli-extensions
az network front-door frontend-endpoint enable-https operation is not idepotent
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)
azure-cli 2.35.0
core 2.35.0
telemetry 1.0.6
Extensions:
front-door 1.0.16
azure-devops 0.25.0
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
Python location '/usr/local/Cellar/azure-cli/2.35.0/libexec/bin/python'
Extensions directory '/Users/kalin_sheytanov/.azure/cliextensions'
Python (Darwin) 3.10.2 (main, Feb 2 2022, 06:19:27) [Clang 13.0.0 (clang-1300.0.29.3)]
### Extension name (the extension in question)
front-door
### Description of issue (in as much detail as possible)
Enabling https on a frontend endpoint operation is not idepotent as it produces an error if executed against an endpoint which already has https enabled:
```
az network front-door frontend-endpoint enable-https -n "***" -f *********** -g *********
(OperationNotAllowed) Frontend endpoint *** is already secured with a managed certificate. Only the Minimum TLS Version property for a managed certificate configuration can be updated. All other updates are not suppored.
Code: OperationNotAllowed
Message: Frontend endpoint *** is already secured with a managed certificate. Only the Minimum TLS Version property for a managed certificate configuration can be updated. All other updates are not suppored.
```
-----
Contributor guide
Assessment
This issue has not been assessed yet.