mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
resource deployment extension (#5464)
* initial checkin * exclude from default ads package * keep extensions.js in sync * address review feedback * PR comments
This commit is contained in:
24
extensions/resource-deployment/src/main.ts
Normal file
24
extensions/resource-deployment/src/main.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import vscode = require('vscode');
|
||||
import { ResourceDeploymentDialog } from './ui/resourceDeploymentDialog';
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
vscode.commands.registerCommand('azdata.resource.sql-image.deploy', () => {
|
||||
let dialog = new ResourceDeploymentDialog();
|
||||
dialog.open();
|
||||
});
|
||||
vscode.commands.registerCommand('azdata.resource.sql-bdc.deploy', () => {
|
||||
let dialog = new ResourceDeploymentDialog();
|
||||
dialog.open();
|
||||
});
|
||||
}
|
||||
|
||||
// this method is called when your extension is deactivated
|
||||
export function deactivate(): void {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user