Add Log analytics Resource AAD Token (#15099)

* Added Azure Log Analytics resource for generating AAD Token.

* Fixed AzureResource

* Removed debug code from connectionManagementService

* Moved AzureLogAnalytics from AzureResource enum in azdata.d.ts to azdata.proposed.d.ts.  Added azureLogAnalyticsResource to all azureSettings in providerSettings.ts

* Updated endpoint for generating AAD Token for LogAnalytics for UsGov, UsNat, and China

* Removed azureMonitor resource from germanyCloud in providerSettings

* Added missing resources to AzureResource in account interfaces.

* Added comment linking enums for AzureResource
This commit is contained in:
Justin M
2021-05-10 15:05:53 -07:00
committed by GitHub
parent 676296fbbb
commit c68b359aaa
7 changed files with 49 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ export class ConnectionManagementService extends Disposable implements IConnecti
private static readonly CONNECTION_MEMENTO = 'ConnectionManagement';
private static readonly _azureResources: AzureResource[] =
[AzureResource.ResourceManagement, AzureResource.Sql, AzureResource.OssRdbms];
[AzureResource.ResourceManagement, AzureResource.Sql, AzureResource.OssRdbms, AzureResource.AzureLogAnalytics];
constructor(
@IConnectionDialogService private _connectionDialogService: IConnectionDialogService,