Azure / Azure/azure-cli

Missing sovereign cloud metadata (Bleu + Delos)

Open
#34,059 1 comment 0 reactions 1 assignee Claimed by @isra-fel View on GitHub
Azure CLI Team bug customer-reported
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

In https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/cloud.py there are various missing metadata properties.

For example, Bleu is missing:
1. `azure_datalake_analytics_catalog_and_job_endpoint`
2. `azure_datalake_store_file_system_endpoint`
3. `active_directory_data_lake_resource_id`
4. `app_insights_resource_id`
5. `attestation_resource_id`
6. `app_insights_telemetry_channel_resource_id`
7. `app_service_resource_id`
8. `attestation_resource_id`
9. `azmirror_storage_account_resource_id`
10. `log_analytics_resource_id`
11. `synapse_analytics_resource_id`

It looks like the above fall into one of the following buckets
1. Never assigned in any cloud
2. Only assigned in the public cloud
3. Only assigned in public + sovereign (Fairfax & Mooncake)

Maybe that makes sense for some of them (need to check each RP), but for sure the missing `synapse_analytics_resource_id` is a bug, because its `synapse_analytics_endpoint` coutnerpart is there (in Bleu).

### Related command

`az cloud show --name AzureBleuCloud`

### Errors

`"synapseAnalyticsResourceId": null`

### Issue script & Debug output

no need to debug, the bug is clear in the referenced code

### Expected behavior

all applicable sovereign cloud properties are present in `az cloud show`

### Environment Summary

irrelevant, bug is in the latest code (`dev` branch)

### Additional context

_No response_

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.