@@ -54,6 +54,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
5454 azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . AzureOperationalInsightsEndpoint ) ;
5555 azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . AzureOperationalInsightsEndpointResourceId ) ;
5656 azureCloud . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . AzureAnalysisServicesEndpointSuffix ) ;
57+ azureCloud . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . AzureAnalysisServicesEndpointResourceId ) ;
5758 var azureChina = new AzureEnvironment
5859 {
5960 Name = EnvironmentName . AzureChinaCloud ,
@@ -78,6 +79,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
7879 AdTenant = "Common"
7980 } ;
8081 azureChina . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . ChinaAnalysisServicesEndpointSuffix ) ;
82+ azureChina . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . ChinaAnalysisServicesEndpointResourceId ) ;
8183
8284 var azureUSGovernment = new AzureEnvironment
8385 {
@@ -105,6 +107,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
105107 azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpoint ) ;
106108 azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpointResourceId ) ;
107109 azureUSGovernment . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . USGovernmentAnalysisServicesEndpointSuffix ) ;
110+ azureUSGovernment . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . USGovernmentAnalysisServicesEndpointResourceId ) ;
108111 var azureGermany = new AzureEnvironment
109112 {
110113 Name = EnvironmentName . AzureGermanCloud ,
@@ -129,6 +132,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
129132 AdTenant = "Common"
130133 } ;
131134 azureGermany . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . GermanAnalysisServicesEndpointSuffix ) ;
135+ azureGermany . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . GermanAnalysisServicesEndpointResourceId ) ;
132136 var result = new ConcurrentDictionary < string , AzureEnvironment > ( StringComparer . InvariantCultureIgnoreCase ) ;
133137
134138 result [ EnvironmentName . AzureCloud ] = azureCloud ;
@@ -302,7 +306,8 @@ public static class ExtendedEndpoint
302306 {
303307 public const string OperationalInsightsEndpointResourceId = "OperationalInsightsEndpointResourceId" ,
304308 OperationalInsightsEndpoint = "OperationalInsightsEndpoint" ,
305- AnalysisServicesEndpointSuffix = "AzureAnalysisServicesEndpointSuffix" ;
309+ AnalysisServicesEndpointSuffix = "AzureAnalysisServicesEndpointSuffix" ,
310+ AnalysisServicesEndpointResourceId = "AnalysisServicesEndpointResourceId" ;
306311 }
307312 }
308313}
0 commit comments