mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 09:35:38 -05:00
[SQL Migration] Add storage/VM connectivity validation (#22982)
* Implement storage account connectivity check for SQL VM targets * Add missing break statement * Address PR comments
This commit is contained in:
@@ -641,7 +641,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
|
||||
this.wizard.message = {
|
||||
text: this._inaccessibleStorageAccounts.length > 0
|
||||
? constants.STORAGE_ACCOUNT_CONNECTIVITY_WARNING(this.migrationStateModel._targetServerInstance.name, this._inaccessibleStorageAccounts)
|
||||
? constants.STORAGE_ACCOUNT_CONNECTIVITY_WARNING(this.migrationStateModel._targetServerInstance.name, this._inaccessibleStorageAccounts, this.migrationStateModel.isSqlMiTarget)
|
||||
: '',
|
||||
level: azdata.window.MessageLevel.Warning
|
||||
}
|
||||
@@ -679,7 +679,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
|
||||
this.wizard.message = {
|
||||
text: this._inaccessibleStorageAccounts.length > 0
|
||||
? constants.STORAGE_ACCOUNT_CONNECTIVITY_WARNING(this.migrationStateModel._targetServerInstance.name, this._inaccessibleStorageAccounts)
|
||||
? constants.STORAGE_ACCOUNT_CONNECTIVITY_WARNING(this.migrationStateModel._targetServerInstance.name, this._inaccessibleStorageAccounts, this.migrationStateModel.isSqlMiTarget)
|
||||
: '',
|
||||
level: azdata.window.MessageLevel.Warning
|
||||
}
|
||||
@@ -1152,7 +1152,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
|
||||
this.wizard.message = {
|
||||
text: this._inaccessibleStorageAccounts.length > 0
|
||||
? constants.STORAGE_ACCOUNT_CONNECTIVITY_WARNING(this.migrationStateModel._targetServerInstance.name, this._inaccessibleStorageAccounts)
|
||||
? constants.STORAGE_ACCOUNT_CONNECTIVITY_WARNING(this.migrationStateModel._targetServerInstance.name, this._inaccessibleStorageAccounts, this.migrationStateModel.isSqlMiTarget)
|
||||
: '',
|
||||
level: azdata.window.MessageLevel.Warning
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user