Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/core/azure-core-management/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Deprecated `AzureEnvironment.AZURE_GERMANY`. Removed it from response of `AzureEnvironment.knownEnvironments`.

## 1.9.0 (2022-11-04)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ public AzureEnvironment(Map<String, String> endpoints) {

/**
* Provides the settings for authentication with Azure Germany.
* <p>
* Microsoft no longer be accepting new customers or deploying any new services from Microsoft Cloud Germany.
*
* @deprecated Use {@link Region#GERMANY_WEST_CENTRAL} or {@link Region#GERMANY_NORTH}
* with {@link AzureEnvironment#AZURE}.
*/
@Deprecated
public static final AzureEnvironment AZURE_GERMANY = new AzureEnvironment(new HashMap<String, String>() {{
put("portalUrl", "https://portal.microsoftazure.de");
put("publishingProfileUrl", "https://manage.microsoftazure.de/publishsettings/index");
Expand Down Expand Up @@ -136,7 +142,7 @@ public Map<String, String> getEndpoints() {
* @return the list of known environments to Azure SDK.
*/
public static List<AzureEnvironment> knownEnvironments() {
return Arrays.asList(AZURE, AZURE_CHINA, AZURE_GERMANY, AZURE_US_GOVERNMENT);
return Arrays.asList(AZURE, AZURE_CHINA, AZURE_US_GOVERNMENT);
}

/**
Expand Down