@@ -53,6 +53,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
5353 } ;
5454 azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . AzureOperationalInsightsEndpoint ) ;
5555 azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . AzureOperationalInsightsEndpointResourceId ) ;
56+ azureCloud . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . AzureAnalysisServicesEndpointSuffix ) ;
5657 var azureChina = new AzureEnvironment
5758 {
5859 Name = EnvironmentName . AzureChinaCloud ,
@@ -76,6 +77,8 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
7677 BatchEndpointResourceId = AzureEnvironmentConstants . ChinaBatchEndpointResourceId ,
7778 AdTenant = "Common"
7879 } ;
80+ azureChina . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . ChinaAnalysisServicesEndpointSuffix ) ;
81+
7982 var azureUSGovernment = new AzureEnvironment
8083 {
8184 Name = EnvironmentName . AzureUSGovernment ,
@@ -101,6 +104,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
101104 } ;
102105 azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpoint ) ;
103106 azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpointResourceId ) ;
107+ azureUSGovernment . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . USGovernmentAnalysisServicesEndpointSuffix ) ;
104108 var azureGermany = new AzureEnvironment
105109 {
106110 Name = EnvironmentName . AzureGermanCloud ,
@@ -124,6 +128,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
124128 BatchEndpointResourceId = AzureEnvironmentConstants . GermanBatchEndpointResourceId ,
125129 AdTenant = "Common"
126130 } ;
131+ azureGermany . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . GermanAnalysisServicesEndpointSuffix ) ;
127132 var result = new ConcurrentDictionary < string , AzureEnvironment > ( StringComparer . InvariantCultureIgnoreCase ) ;
128133
129134 result [ EnvironmentName . AzureCloud ] = azureCloud ;
@@ -296,7 +301,8 @@ public static class Endpoint
296301 public static class ExtendedEndpoint
297302 {
298303 public const string OperationalInsightsEndpointResourceId = "OperationalInsightsEndpointResourceId" ,
299- OperationalInsightsEndpoint = "OperationalInsightsEndpoint" ;
304+ OperationalInsightsEndpoint = "OperationalInsightsEndpoint" ,
305+ AnalysisServicesEndpointSuffix = "AzureAnalysisServicesEndpointSuffix" ;
300306 }
301307 }
302308}
0 commit comments