@@ -54,6 +54,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
54
54
azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . AzureOperationalInsightsEndpoint ) ;
55
55
azureCloud . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . AzureOperationalInsightsEndpointResourceId ) ;
56
56
azureCloud . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . AzureAnalysisServicesEndpointSuffix ) ;
57
+ azureCloud . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . AzureAnalysisServicesEndpointResourceId ) ;
57
58
var azureChina = new AzureEnvironment
58
59
{
59
60
Name = EnvironmentName . AzureChinaCloud ,
@@ -78,6 +79,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
78
79
AdTenant = "Common"
79
80
} ;
80
81
azureChina . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . ChinaAnalysisServicesEndpointSuffix ) ;
82
+ azureChina . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . ChinaAnalysisServicesEndpointResourceId ) ;
81
83
82
84
var azureUSGovernment = new AzureEnvironment
83
85
{
@@ -105,6 +107,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
105
107
azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpoint , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpoint ) ;
106
108
azureUSGovernment . SetProperty ( ExtendedEndpoint . OperationalInsightsEndpointResourceId , AzureEnvironmentConstants . USGovernmentOperationalInsightsEndpointResourceId ) ;
107
109
azureUSGovernment . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . USGovernmentAnalysisServicesEndpointSuffix ) ;
110
+ azureUSGovernment . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . USGovernmentAnalysisServicesEndpointResourceId ) ;
108
111
var azureGermany = new AzureEnvironment
109
112
{
110
113
Name = EnvironmentName . AzureGermanCloud ,
@@ -129,6 +132,7 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
129
132
AdTenant = "Common"
130
133
} ;
131
134
azureGermany . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointSuffix , AzureEnvironmentConstants . GermanAnalysisServicesEndpointSuffix ) ;
135
+ azureGermany . SetProperty ( ExtendedEndpoint . AnalysisServicesEndpointResourceId , AzureEnvironmentConstants . GermanAnalysisServicesEndpointResourceId ) ;
132
136
var result = new ConcurrentDictionary < string , AzureEnvironment > ( StringComparer . InvariantCultureIgnoreCase ) ;
133
137
134
138
result [ EnvironmentName . AzureCloud ] = azureCloud ;
@@ -302,7 +306,8 @@ public static class ExtendedEndpoint
302
306
{
303
307
public const string OperationalInsightsEndpointResourceId = "OperationalInsightsEndpointResourceId" ,
304
308
OperationalInsightsEndpoint = "OperationalInsightsEndpoint" ,
305
- AnalysisServicesEndpointSuffix = "AzureAnalysisServicesEndpointSuffix" ;
309
+ AnalysisServicesEndpointSuffix = "AzureAnalysisServicesEndpointSuffix" ,
310
+ AnalysisServicesEndpointResourceId = "AnalysisServicesEndpointResourceId" ;
306
311
}
307
312
}
308
313
}
0 commit comments