Add DMS values to migration extension save and close feature (#17375)

This commit is contained in:
Rachel Kim
2021-10-15 16:09:43 -07:00
committed by GitHub
parent 2e677dbda6
commit 4ed4e5f39c
4 changed files with 64 additions and 29 deletions

View File

@@ -358,6 +358,10 @@ export function getResourceGroupFromId(id: string): string {
return id.replace(RegExp('^(.*?)/resourceGroups/'), '').replace(RegExp('/providers/.*'), '').toLowerCase();
}
export function getFullResourceGroupFromId(id: string): string {
return id.replace(RegExp('/providers/.*'), '').toLowerCase();
}
export interface SqlMigrationServiceProperties {
name: string;
subscriptionId: string;