-
Notifications
You must be signed in to change notification settings - Fork 4k
Add import/export cmdlets for Azure Sql database #2077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @llali, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
Can one of the admins verify this patch? |
@azuresdkci add to whitelist |
function Get-SqlDatabaseImportExportTestEnvironmentParameters ($testSuffix) | ||
{ | ||
$databaseName = "sql-ie-cmdlet-db" + $testSuffix; | ||
$password = "Testp@ssw0rd"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@llali you should not hardcode passwords.
|
@azuresdkci retest this please |
/// <summary> | ||
/// Defines the AzureRmSqlDatabaseImportExportStatus cmdlet | ||
/// </summary> | ||
[Cmdlet(VerbsCommon.Get, "AzureRmSqlDatabaseImportExportStatus", ConfirmImpact = ConfirmImpact.Low)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ConfirmImpact.Low? Using ConfirmImpact.Medium avoids prompts. Also, you don't want this setting without SupportsShouldProcess=true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@llali a few comments on the cmdlet signatures. These are suggestions, but are not yet required |
Changed the ConfirmImpact to Medium and added SupportsShouldProcess = true
@azuresdkci retest this please |
Add import/export and get status cmdlets for Azure Sql database. Please review and merge. Thanks