Skip to content

NEW PR Powershell cmdlets for list/get/cancel managed server operation #11452

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

Merged
merged 12 commits into from
Apr 1, 2020

Conversation

toki95
Copy link
Contributor

@toki95 toki95 commented Mar 30, 2020

Description

New PR, since branch on the old one was messed up #11309.
PowerShell commands for list/get/cancel of managed server management operation.
Also added -AsJob parameter in Set-AzSqlInstance command to be able to test cancel in test. This operation should support execution in the back since it can lock powershell for a couple of hours.

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • the markdown help files have been regenerated using the commands listed here

@adxsdkps
Copy link
Collaborator

Can one of the admins verify this patch?

* Add readable secondary parameter to Invoke-AzureSqlDatabaseFailover
* Add cmdlet Disable-AzSqlServerActiveDirectoryOnlyAuthentication
* Save sensitivity rank when classifying columns in the database.
* Add cmdlets Get-AzSqlInstanceOperation and Stop-AzSqlInstanceOperation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please manually merge changelog, because above 3 items are in 2.5.0, don't change them. The last item should be put under upcoming release.

Copy link
Contributor Author

@toki95 toki95 Mar 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did.

@toki95
Copy link
Contributor Author

toki95 commented Mar 31, 2020

Can we please merge this since after waiting 20 days on the old PR: #11309 I encountered major issue while syncing code and I needed to create a new PR.

@dingmeng-xue
Copy link
Member

@msJinLei , please review this PR with high priority.

@toki95
Copy link
Contributor Author

toki95 commented Mar 31, 2020

@msJinLei
Copy link
Contributor

msJinLei commented Apr 1, 2020

@msJinLei
Copy link
Contributor

msJinLei commented Apr 1, 2020

@toki95 Please address the comments from @isra-fel in #11309, thanks

* Added readable secondary parameter to `Invoke-AzSqlDatabaseFailover`
* Added cmdlet `Disable-AzSqlServerActiveDirectoryOnlyAuthentication`
* Saved sensitivity rank when classifying columns in the database.
* Add readable secondary parameter to Invoke-AzureSqlDatabaseFailover
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert the change of version 2.5.0's log

[ResourceNameCompleter("Microsoft.Sql/managedInstance/operations", "OperationName")]
[ValidateNotNullOrEmpty]
[SupportsWildcards]
public System.Guid Name { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name should be string here.

@msJinLei msJinLei merged commit d5299d0 into Azure:master Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants