-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathISqlDatabaseConnectionWizardContext.ts
More file actions
28 lines (23 loc) · 1.21 KB
/
ISqlDatabaseConnectionWizardContext.ts
File metadata and controls
28 lines (23 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { ResourceGroup } from '@azure/arm-resources';
import type { Database, Server } from '@azure/arm-sql';
import { ISubscriptionContext } from "@microsoft/vscode-azext-utils";
import { SqlDbConnectionTypeValues, StorageConnectionTypeValues } from "../../../../constants";
import { ISetConnectionSettingContext } from '../ISetConnectionSettingContext';
export interface ISqlDatabaseConnectionWizardContext extends ISetConnectionSettingContext, Partial<ISubscriptionContext> {
resourceGroup?: ResourceGroup;
// Connection Types
azureWebJobsStorageType?: StorageConnectionTypeValues;
sqlDbConnectionType?: SqlDbConnectionTypeValues;
// SQL
newSqlServerName?: string;
newSqlDatabaseName?: string;
newSqlAdminUsername?: string;
newSqlAdminPassword?: string;
sqlServer?: Server;
sqlDatabase?: Database;
customSqlConnection?: string;
}