mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-29 08:10:29 -04:00
Consolidated most logic into a base class and common resource request pattern. Reduces cost to add new providers, which will help for SQL Managed Instance support
25 lines
1.2 KiB
TypeScript
25 lines
1.2 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
export enum AzureResourceItemType {
|
|
account = 'azure.resource.itemType.account',
|
|
subscription = 'azure.resource.itemType.subscription',
|
|
databaseContainer = 'azure.resource.itemType.databaseContainer',
|
|
database = 'azure.resource.itemType.database',
|
|
databaseServerContainer = 'azure.resource.itemType.databaseServerContainer',
|
|
databaseServer = 'azure.resource.itemType.databaseServer',
|
|
sqlInstance = 'azure.resource.itemType.sqlInstance',
|
|
message = 'azure.resource.itemType.message'
|
|
}
|
|
|
|
export enum AzureResourceServiceNames {
|
|
resourceService = 'AzureResourceService',
|
|
cacheService = 'AzureResourceCacheService',
|
|
accountService = 'AzureResourceAccountService',
|
|
subscriptionService = 'AzureResourceSubscriptionService',
|
|
subscriptionFilterService = 'AzureResourceSubscriptionFilterService',
|
|
tenantService = 'AzureResourceTenantService'
|
|
}
|