Repository navigation
[Cloud] az cloud set: Add AzureDelosCloud (Germany sovereign cloud) to the known clouds list - #34200
Conversation
Add the Delos (Germany) sovereign cloud so users can run 'az cloud set --name AzureDelosCloud'. Endpoints and suffixes mirror the Bleu definition with the fr -> de suffix substitution, except where the authoritative sovereign-clouds endpoints doc publishes an explicit Delos value (portal = https://portal.sovcloud.de). active_directory_graph_resource_id intentionally mirrors the Microsoft Graph host rather than exposing the real (deprecated) Azure AD Graph endpoint. synapse_analytics_resource_id is included alongside its suffix counterpart to avoid reintroducing the gap fixed for Bleu in Azure#34059. Part of Azure#34129 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7707d164-8d38-41f6-9884-04c670e74640
There was a problem hiding this comment.
🟡 Changes recommended
The established cloud command scenario tests need canonical and lowercase Delos cases.
1 open finding
What changed in this PR
Adds Germany’s Delos sovereign cloud to Azure CLI’s built-in cloud definitions.
Changes:
- Adds
AzureDelosCloudand its endpoints/suffixes. - Registers Delos in the hard-coded cloud list.
- Adds a release-history entry.
| File | Description |
|---|---|
src/azure-cli-core/HISTORY.rst |
Records Delos cloud support. |
src/azure-cli-core/azure/cli/core/cloud.py |
Defines and registers Delos cloud metadata. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Add AzureDelosCloud (Germany sovereign cloud) to the known clouds list |
|
🔔 Routing this PR to @Azure/act-codegen-extensibility-squad. |
X Engineering Agent ReportReview — Comments Review: Delos regression coverage neededUpstream CI passed (51/51), but Delos registration, selection and endpoint/output regression coverage is not verified. No production defect was established. The Delos part of #34129 is implemented; GovSG is explicitly deferred. Confirmed coverage gapP2: the new registered cloud is not independently asserted. Focused correction before merge: Add independent Delos membership and canonical/lowercase selection assertions, checking Test validation
The formatted coverage result reflects the tool's exclusion of core production files, not verified Delos coverage. The author reports 14 passed / 1 skipped core tests; that evidence and upstream CI do not prove the new sovereign endpoints or cloud-selection output. No test or recording changed. Risk assessment31/100 · Medium · High confidence The Medium rating is driven by sovereign-cloud behavior, no changed regression test.
Posted by x-engineering-agent (Reviewer) |
|
🔔 Routing this PR to @Azure/act-codegen-extensibility-squad. |

Related command
az cloud set --name AzureDelosCloudDescription
Partially addresses #34129 by adding the Delos (Germany) sovereign cloud to the known clouds list (
CloudNameEnum.AzureDelosCloud+AZURE_DELOS_CLOUD+HARD_CODED_CLOUD_LIST).Values are derived from the authoritative Azure Architecture & Design Team sovereign-clouds endpoints table.
Deliberate decisions:
active_directory_graph_resource_idmirrors the Microsoft Graph host (https://graph.svc.sovcloud.de/) rather than the real (deprecated) Azure AD Graph host. Azure AD Graph is retired and must not be used; this matches the existing Bleu behavior.Testing Guide
Unit tests:
python -m pytest src/azure-cli-core/azure/cli/core/tests/test_cloud.py-> 14 passed, 1 skipped.History Notes
[Cloud]
az cloud set: AddAzureDelosCloud(Germany sovereign cloud) to the known clouds listThis checklist is used to make sure that common guidelines for a pull request are followed.