mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
Adding option to create a resource group in sql migration dms page. (#15856)
* Pushing all changes * Fixing more stuff * Added new to the newly created resource group * removing error message when user starts typing * removing unused import * Localizing some string adding aria lables and loading text * Adding focus to resource group input box * switching to name instead of display name as it contains (new) param * changing focus to resource group dropdown after creation of a new resource group * fixing typo
This commit is contained in:
@@ -53,6 +53,12 @@ export async function getResourceGroups(account: azdata.Account, subscription: S
|
||||
return result.resourceGroups;
|
||||
}
|
||||
|
||||
export async function createResourceGroup(account: azdata.Account, subscription: Subscription, resourceGroupName: string, location: string): Promise<azureResource.AzureResourceResourceGroup> {
|
||||
const api = await getAzureCoreAPI();
|
||||
const result = await api.createResourceGroup(account, subscription, resourceGroupName, location, false);
|
||||
return result.resourceGroup;
|
||||
}
|
||||
|
||||
export type SqlManagedInstance = azureResource.AzureSqlManagedInstance;
|
||||
export async function getAvailableManagedInstanceProducts(account: azdata.Account, subscription: Subscription): Promise<SqlManagedInstance[]> {
|
||||
const api = await getAzureCoreAPI();
|
||||
|
||||
Reference in New Issue
Block a user