@@ -53,6 +53,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
53
53
} ;
54
54
azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . AzureOperationalInsightsEndpoint ) ;
55
55
azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . AzureOperationalInsightsEndpointResourceId ) ;
56
+ azureCloud . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . AzureAnalysisServicesEndpointSuffix ) ;
56
57
var azureChina = new AzureEnvironment
57
58
{
58
59
Name = EnvironmentName . AzureChinaCloud ,
@@ -76,6 +77,8 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
76
77
BatchEndpointResourceId = AzureEnvironmentConstants . ChinaBatchEndpointResourceId ,
77
78
AdTenant = "Common"
78
79
} ;
80
+ azureChina . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . ChinaAnalysisServicesEndpointSuffix ) ;
81
+
79
82
var azureUSGovernment = new AzureEnvironment
80
83
{
81
84
Name = EnvironmentName . AzureUSGovernment ,
@@ -101,6 +104,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
101
104
} ;
102
105
azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpoint ) ;
103
106
azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpointResourceId ) ;
107
+ azureUSGovernment . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . USGovernmentAnalysisServicesEndpointSuffix ) ;
104
108
var azureGermany = new AzureEnvironment
105
109
{
106
110
Name = EnvironmentName . AzureGermanCloud ,
@@ -124,6 +128,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
124
128
BatchEndpointResourceId = AzureEnvironmentConstants . GermanBatchEndpointResourceId ,
125
129
AdTenant = "Common"
126
130
} ;
131
+ azureGermany . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . GermanAnalysisServicesEndpointSuffix ) ;
127
132
var result = new ConcurrentDictionary < string , AzureEnvironment > ( StringComparer . InvariantCultureIgnoreCase ) ;
128
133
129
134
result [ EnvironmentName . AzureCloud ] = azureCloud ;
@@ -296,7 +301,8 @@ public static class Endpoint
296
301
public static class ExtendedEndpoint
297
302
{
298
303
public const string OperationalInsightsEndpointResourceId = "OperationalInsightsEndpointResourceId" ,
299
- OperationalInsightsEndpoint = "OperationalInsightsEndpoint" ;
304
+ OperationalInsightsEndpoint = "OperationalInsightsEndpoint" ,
305
+ AnalysisServicesEndpointSuffix = "AzureAnalysisServicesEndpointSuffix" ;
300
306
}
301
307
}
302
308
}
0 commit comments