Skip to content

Add instance pool, instance pool usages cmdlets, and update managed instance cmdlets to support instance pools. #9744

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 26 commits into from
Aug 5, 2019

Conversation

johnpaulkee
Copy link
Contributor

Description

This pull request adds cmdlets for Azure SQL Instance pools, Instance pool usages, and updates existing managed instance cmdlets to support placement of an instance within an instance pool.

  • New cmdlets:
    • New-AzSqlInstancePool
    • Set-AzSqlInstancePool
    • Remove-AzSqlInstancePool
    • Get-AzSqlInstancePool
    • Get-AzSqlInstancePoolUsage
  • Updated cmdlets:
    • New-AzSqlInstance
    • Set-AzSqlInstance
    • Get-AzSqlInstance

Design review:
https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/329

Related pull request:
#9705

  • This pull request includes the above PR. I'm setting up a new PR for the instance pool cmdlets as there a lot more files that will need to be added for this review, so having both will help making reviewing easier.
  • Secondly, since we have new recordings for managed instance tests in this PR, if the proposed solution for allowing ignoring api versions per top level resources is allowed we can ignore the top level resource tests for standalone managed instances as we've tested and recorded new tests for managed instances within instance pools.

Checklist

@adxsdkps
Copy link
Collaborator

Can one of the admins verify this patch?

@@ -32,6 +33,9 @@ protected override void SetupManagementClients(RestTestFramework.MockContext con

public AdvancedDataSecurityManagedInstanceTests(ITestOutputHelper output) : base(output)
{
base.resourceTypesToIgnoreApiVersion = new string[] {
Copy link
Member

Choose a reason for hiding this comment

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

@johnpaulkee TBD on this change 😁

@@ -0,0 +1,74 @@
using Microsoft.WindowsAzure.Commands.ScenarioTest;
Copy link
Member

Choose a reason for hiding this comment

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

@johnpaulkee TBD on this file 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Acked 👍 I'm hoping we can come to a solution sometime this week.

@johnpaulkee
Copy link
Contributor Author

Friendly ping to @markcowl to help take a look at the permissive record matcher changes when possible. We're really trying to catch the 8/5 code completion date for release by 8/13 and also to unblock the other SQL folks for the failing MI tests due to version bump.

…atcher with resource api exclusion and update sql tests to use that new matcher for safety
@cormacpayne cormacpayne merged commit 0b9f9ec into Azure:master Aug 5, 2019
@johnpaulkee
Copy link
Contributor Author

thank you @cormacpayne and @markcowl for reviewing and merging.

@johnpaulkee johnpaulkee deleted the instancePoolsMaster branch August 5, 2019 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants