az cloud show: missing suffix for Azure Cloud Services
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
The `az cloud show` command is missing the suffix for Azure cloud services
**Related command**
`az cloud show`
**Is your feature request related to a problem? Please describe.**
The `az cloud show` command does not provide the Azure cloud services endpoint, in my case I need it to access a Web App, but this suffix is used by other Azure services as well.
This suffix is also referenced in this [Microsoft Learn document](https://learn.microsoft.com/en-us/azure/azure-government/compare-azure-government-global-azure#:~:text=Azure%20Service%20Fabric-,cloudapp.azure.com,-cloudapp.usgovcloudapi.net) which is used to compare the public cloud and US government cloud.
**Describe the solution you'd like**
`az cloud show` should provide the Azure Cloud Services suffix as part of its suffixes
for `AzureCloud` the command should return `.cloudapp.azure.com`
for `AzureUSGovernment` the command should return `.cloudapp.usgovcloudapi.net`
and so on...
Example:
```
$ az cloud show
{
"endpoints": {
....
},
"name": "AzureCloud",
....
"suffixes": {
"acrLoginServerEndpoint": ".azurecr.io",
....
"cloudServicesEndpoint": ".cloudapp.azure.com" <------------
}
}
```
**Describe alternatives you've considered**
Hardcoded mapping of the endpoints in my code
Contributor guide
Assessment
This issue has not been assessed yet.