MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.11k stars 21.18k forks source link

Short location <geo> names are needed as machine readable file #79388

Closed kaiaschulz closed 1 year ago

kaiaschulz commented 2 years ago

Hi, within the documentation of private endpoints for the backup service there is the location mentioned: https://docs.microsoft.com/en-us/azure/backup/private-endpoints#for-the-backup-service

Unfortunately, the is a short name of the location which only will be listed in the attached .docx-file: https://download.microsoft.com/download/1/2/6/126a410b-0e06-45ed-b2df-84f353034fa1/AzureRegionCodesList.docx <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns="http://www.w3.org/TR/REC-html40">

Location | Code -- | -- Australia Central | acl Australia Central 2 | acl2 Australia East | ae Australia Southeast | ase Brazil South | brs Central US EUAP | ccy Canada Central | cnc Canada East | cne Central US | cus East Asia | ea East US 2 EUAP | ecy East US | eus East US 2 | eus2 France Central | frc France South | frs Germany North | gn Germany West Central | gwc Central India | inc South India | ins West India | inw Japan East | jpe Japan West | jpw Korea Central | krc Korea South | krs North Central US | ncus North Europe | ne Norway East | nwe Norway West | nww South Africa North | san South Africa West | saw South Central US | scus Sweden Central | sdc Sweden South | sds Southeast Asia | sea Switzerland North | szn Switzerland West | szw UAE Central | uac UAE North | uan UK South | uks UK West | ukw West Central US | wcus West Europe | we West US | wus West US 2 | wus2 USDoD Central | udc USDoD East | ude USGov Arizona | uga USGov Iowa | ugi USGov Texas | ugt USGov Virginia | ugv China North | bjb China North 2 | bjb2 China East | sha China East 2 | sha2 Germany Central | gec Germany Northeast | gne

Other private endpoints need the short location name as well: https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-dns#azure-services-dns-zone-configuration

For an automation, we need the possibility to receive these short location names in a machine readable file like json or csv. I would expect that the API https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/listlocations will response with short location names as well but these are missing.

Please extend the API or provide a link to a machine readable file, which is up-to-date if a new location will be added, where each new location also have the short location name.

Thanks a lot.


Document Details

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

SamaraSoucy-MSFT commented 2 years ago

Thanks for the feedback! We will review and get back to you shortly.

GitaraniSharma-MSFT commented 2 years ago

@kaiaschulz , We have assigned this to the content owner/author for review.

@asudbring , for your review.

asudbring commented 2 years ago

Sending to PM for review.

reassign:@ivapplyr

ivapplyr commented 2 years ago

Short names are not a requirement from Private endpoints, but from that respective service. Unfortunately we do not have an API for this requirement :/

kaiaschulz commented 2 years ago

Hey @ivapplyr, regarding to this, I opened this feature request to extend the existing API with the short location (geo) names. This is needed for automizing a private DNS solution to use the private link service with all functions.

Thanks a lot.

asudbring commented 1 year ago

@kaiaschulz Thanks for the feedback. We have noted your request and placed an item in our backlog.

please-close