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

@@ -47,12 +47,18 @@ export interface IAccountManagementService {
readonly updateAccountListEvent: Event<UpdateAccountListEventParams>;
}
// API sqlExtHostTypes.ts > AzureResource should also be updated
// Enum matching the AzureResource enum from azdata.d.ts
export enum AzureResource {
ResourceManagement = 0,
Sql = 1,
OssRdbms = 2,
AzureKeyVault = 3
AzureKeyVault = 3,
Graph = 4,
MicrosoftResourceManagement = 5,
AzureDevOps = 6,
MsGraph = 7,
AzureLogAnalytics = 8
}
export interface IAccountStore {