mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
Add AzureAccount service (#18502)
This commit is contained in:
17
src/sql/platform/azureAccount/common/azureAccountService.ts
Normal file
17
src/sql/platform/azureAccount/common/azureAccountService.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import type * as azurecore from 'azurecore';
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
|
||||
export const SERVICE_ID = 'azureAccountService';
|
||||
|
||||
export const IAzureAccountService = createDecorator<IAzureAccountService>(SERVICE_ID);
|
||||
|
||||
export interface IAzureAccountService {
|
||||
_serviceBrand: undefined;
|
||||
getSubscriptions(account: azurecore.AzureAccount): Promise<azurecore.GetSubscriptionsResult>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user