@@ -154,7 +154,32 @@ private string StorageFileEndpointFormat()
154
154
{ AzureEnvironment . Endpoint . GraphEndpointResourceId , AzureEnvironmentConstants . USGovernmentGraphEndpoint }
155
155
}
156
156
}
157
+ } ,
158
+ {
159
+ EnvironmentName . AzureGermanCloud ,
160
+ new AzureEnvironment
161
+ {
162
+ Name = EnvironmentName . AzureGermanCloud ,
163
+ Endpoints = new Dictionary < AzureEnvironment . Endpoint , string >
164
+ {
165
+ { AzureEnvironment . Endpoint . PublishSettingsFileUrl , AzureEnvironmentConstants . GermanPublishSettingsFileUrl } ,
166
+ { AzureEnvironment . Endpoint . ServiceManagement , AzureEnvironmentConstants . GermanServiceEndpoint } ,
167
+ { AzureEnvironment . Endpoint . ResourceManager , AzureEnvironmentConstants . GermanResourceManagerEndpoint } ,
168
+ { AzureEnvironment . Endpoint . ManagementPortalUrl , AzureEnvironmentConstants . GermanManagementPortalUrl } ,
169
+ { AzureEnvironment . Endpoint . ActiveDirectory , AzureEnvironmentConstants . GermanActiveDirectoryEndpoint } ,
170
+ { AzureEnvironment . Endpoint . ActiveDirectoryServiceEndpointResourceId , AzureEnvironmentConstants . GermanServiceEndpoint } ,
171
+ { AzureEnvironment . Endpoint . StorageEndpointSuffix , AzureEnvironmentConstants . GermanStorageEndpointSuffix } ,
172
+ { AzureEnvironment . Endpoint . Gallery , AzureEnvironmentConstants . GermanGalleryEndpoint } ,
173
+ { AzureEnvironment . Endpoint . SqlDatabaseDnsSuffix , AzureEnvironmentConstants . GermanSqlDatabaseDnsSuffix } ,
174
+ { AzureEnvironment . Endpoint . Graph , AzureEnvironmentConstants . GermanGraphEndpoint } ,
175
+ { AzureEnvironment . Endpoint . TrafficManagerDnsSuffix , AzureEnvironmentConstants . GermanTrafficManagerDnsSuffix } ,
176
+ { AzureEnvironment . Endpoint . AzureKeyVaultDnsSuffix , AzureEnvironmentConstants . GermanKeyVaultDnsSuffix } ,
177
+ { AzureEnvironment . Endpoint . AzureKeyVaultServiceEndpointResourceId , AzureEnvironmentConstants . GermanAzureKeyVaultServiceEndpointResourceId } ,
178
+ { AzureEnvironment . Endpoint . GraphEndpointResourceId , AzureEnvironmentConstants . GermanGraphEndpoint }
179
+ }
180
+ }
157
181
}
182
+
158
183
} ;
159
184
160
185
public Uri GetEndpointAsUri ( AzureEnvironment . Endpoint endpoint )
@@ -337,88 +362,74 @@ public enum Endpoint
337
362
public static class EnvironmentName
338
363
{
339
364
public const string AzureCloud = "AzureCloud" ;
340
-
341
365
public const string AzureChinaCloud = "AzureChinaCloud" ;
342
-
343
366
public const string AzureUSGovernment = "AzureUSGovernment" ;
367
+ public const string AzureGermanCloud = "AzureGermanCloud" ;
344
368
}
345
369
346
370
public static class AzureEnvironmentConstants
347
371
{
348
372
public const string AzureServiceEndpoint = "https://management.core.windows.net/" ;
349
-
350
373
public const string ChinaServiceEndpoint = "https://management.core.chinacloudapi.cn/" ;
351
-
352
374
public const string USGovernmentServiceEndpoint = "https://management.core.usgovcloudapi.net/" ;
375
+ public const string GermanServiceEndpoint = "https://management.core.cloudapi.de/" ;
353
376
354
377
public const string AzureResourceManagerEndpoint = "https://management.azure.com/" ;
355
-
356
378
public const string ChinaResourceManagerEndpoint = "https://management.chinacloudapi.cn/" ;
357
-
358
379
public const string USGovernmentResourceManagerEndpoint = "https://management.usgovcloudapi.net/" ;
380
+ public const string GermanResourceManagerEndpoint = "https://management.microsoftazure.de/" ;
359
381
360
382
public const string GalleryEndpoint = "https://gallery.azure.com/" ;
361
-
362
383
public const string ChinaGalleryEndpoint = "https://gallery.chinacloudapi.cn/" ;
363
-
364
384
public const string USGovernmentGalleryEndpoint = "https://gallery.usgovcloudapi.net/" ;
385
+ public const string GermanGalleryEndpoint = "https://gallery.cloudapi.de/" ;
365
386
366
387
public const string AzurePublishSettingsFileUrl = "http://go.microsoft.com/fwlink/?LinkID=301775" ;
367
-
368
388
public const string ChinaPublishSettingsFileUrl = "http://go.microsoft.com/fwlink/?LinkID=301776" ;
369
-
370
389
public const string USGovernmentPublishSettingsFileUrl = "https://manage.windowsazure.us/publishsettings/index" ;
390
+ public const string GermanPublishSettingsFileUrl = "https://manage.microsoftazure.de/publishsettings/index" ;
371
391
372
392
public const string AzureManagementPortalUrl = "http://go.microsoft.com/fwlink/?LinkId=254433" ;
373
-
374
393
public const string ChinaManagementPortalUrl = "http://go.microsoft.com/fwlink/?LinkId=301902" ;
375
-
376
394
public const string USGovernmentManagementPortalUrl = "https://manage.windowsazure.us" ;
395
+ public const string GermanManagementPortalUrl = "http://portal.microsoftazure.de/" ;
377
396
378
397
public const string AzureStorageEndpointSuffix = "core.windows.net" ;
379
-
380
398
public const string ChinaStorageEndpointSuffix = "core.chinacloudapi.cn" ;
381
-
382
399
public const string USGovernmentStorageEndpointSuffix = "core.usgovcloudapi.net" ;
400
+ public const string GermanStorageEndpointSuffix = "core.cloudapi.de" ;
383
401
384
402
public const string AzureSqlDatabaseDnsSuffix = ".database.windows.net" ;
385
-
386
403
public const string ChinaSqlDatabaseDnsSuffix = ".database.chinacloudapi.cn" ;
387
-
388
404
public const string USGovernmentSqlDatabaseDnsSuffix = ".database.usgovcloudapi.net" ;
405
+ public const string GermanSqlDatabaseDnsSuffix = ".database.cloudapi.de" ;
389
406
390
407
public const string AzureActiveDirectoryEndpoint = "https://login.microsoftonline.com/" ;
391
-
392
408
public const string ChinaActiveDirectoryEndpoint = "https://login.chinacloudapi.cn/" ;
393
-
394
409
public const string USGovernmentActiveDirectoryEndpoint = "https://login-us.microsoftonline.com/" ;
410
+ public const string GermanActiveDirectoryEndpoint = "https://login.microsoftonline.de/" ;
395
411
396
412
public const string AzureGraphEndpoint = "https://graph.windows.net/" ;
397
-
398
413
public const string ChinaGraphEndpoint = "https://graph.chinacloudapi.cn/" ;
399
-
400
414
public const string USGovernmentGraphEndpoint = "https://graph.windows.net/" ;
415
+ public const string GermanGraphEndpoint = "https://graph.cloudapi.de/" ;
401
416
402
417
public const string AzureTrafficManagerDnsSuffix = "trafficmanager.net" ;
403
-
404
418
public const string ChinaTrafficManagerDnsSuffix = "trafficmanager.cn" ;
405
-
406
419
public const string USGovernmentTrafficManagerDnsSuffix = "usgovtrafficmanager.net" ;
420
+ public const string GermanTrafficManagerDnsSuffix = "azuretrafficmanager.de" ;
407
421
408
422
public const string AzureKeyVaultDnsSuffix = "vault.azure.net" ;
409
-
410
423
public const string ChinaKeyVaultDnsSuffix = "vault.azure.cn" ;
411
-
412
424
public const string USGovernmentKeyVaultDnsSuffix = "vault.usgovcloudapi.net" ;
425
+ public const string GermanKeyVaultDnsSuffix = "vault.microsoftazure.de" ;
413
426
414
427
public const string AzureKeyVaultServiceEndpointResourceId = "https://vault.azure.net" ;
415
-
416
428
public const string ChinaKeyVaultServiceEndpointResourceId = "https://vault.azure.cn" ;
417
-
418
429
public const string USGovernmentKeyVaultServiceEndpointResourceId = "https://vault.usgovcloudapi.net" ;
430
+ public const string GermanAzureKeyVaultServiceEndpointResourceId = "https://vault.microsoftazure.de" ;
419
431
420
432
public const string AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix = "azuredatalakeanalytics.net" ;
421
-
422
433
public const string AzureDataLakeStoreFileSystemEndpointSuffix = "azuredatalakestore.net" ;
423
434
}
424
435
}
0 commit comments