Add resource type filtering to deployment wizard (#11079)

This commit is contained in:
Charles Gagnon
2020-06-24 18:07:52 -07:00
committed by GitHub
parent 8c6d77e04d
commit 2f90b56877
4 changed files with 31 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
vscode.window.registerTreeDataProvider('azureArc', treeDataProvider);
vscode.commands.registerCommand('arc.createController', async () => {
await vscode.commands.executeCommand('azdata.resource.deploy');
await vscode.commands.executeCommand('azdata.resource.deploy', 'arc.control.create', ['arc.control.create']);
});
vscode.commands.registerCommand('arc.connectToController', async () => {

View File

@@ -147,7 +147,7 @@ export class ControllerDashboardOverviewPage extends DashboardPage {
this.disposables.push(
newInstance.onDidClick(async () => {
await vscode.commands.executeCommand('azdata.resource.deploy');
await vscode.commands.executeCommand('azdata.resource.deploy', 'arc.sql', ['arc.sql', 'arc.postgres']);
}));
// Refresh