Add support for sovereign (non-public) clouds in Aspire CLI
Open
area-integrations
azure
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
While creating ArmClient, we are not passing AzureClientOptions while creating DefaultArmClient. https://github.com/dotnet/aspire/blob/114d023231c7a397eb3552aa08964ec8536d4764/src/Aspire.Hosting.Azure/Provisioning/Internal/DefaultArmClientProvider.cs#L15-L18 So, it would always default to Public cloud.
If we can set AzureClientOptions (based on user input) and expose it for Azure.ResourceManager.ArmClient, all ARM API calls can reuse the ArmEnvironment.Endpoint.
Contributor guide
Assessment
This issue has not been assessed yet.