Skip to content
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

Fix FirewallRuleName wildcard filtering in Get-AzSqlServerFirewallRule #16237

Merged

Conversation

regedit32
Copy link
Contributor

Description

Fixed the wildcard filtering for FirewallRuleName when using Get-AzSqlServerFirewallRule as described in #16199. The SubResourceWildcardFilter method supported wildcards for properties like Name or ResourceGroupName, but not one like FirewallRuleName. Created a wildcard filter helper for Sql to address the issue.

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)
      • {Please put the link here}
    • the markdown help files have been regenerated using the commands listed here

@ghost ghost added the customer-reported label Oct 27, 2021
@ghost
Copy link

ghost commented Oct 27, 2021

Thank you for your contribution regedit32! We will review the pull request and get back to you soon.

@BethanyZhou
Copy link
Contributor

Hi @regedit32 , please join Azure org in github

BethanyZhou
BethanyZhou previously approved these changes Oct 28, 2021
src/Sql/Sql/ChangeLog.md Outdated Show resolved Hide resolved
@BethanyZhou BethanyZhou dismissed stale reviews from themself via b9ab9eb October 28, 2021 05:32
@BethanyZhou BethanyZhou merged commit c3a6d6a into Azure:main Oct 28, 2021
@regedit32
Copy link
Contributor Author

Thanks @BethanyZhou , I'm joined now.

BethanyZhou added a commit that referenced this pull request Oct 29, 2021
* Update ci config to add tools/GeneratedModuleList.txt to skip list (#16216)

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>

* Fix an issue in checking if we need to prompt survey. (#16232)

* Fix FirewallRuleName wildcard filtering in Get-AzSqlServerFirewallRule (#16237)

* Add Wildcard helper

* Fix wildcard filtering in Get-AzSqlServerFirewallRule

* Update src/Sql/Sql/ChangeLog.md

Co-authored-by: Beisi Zhou <zhoubeisi@gmail.com>

* [Storage] Add example for move datalakegen2 item with Sas (#16256)

* Update Invoke-AzVMRunCommand.md (#16000)

* Update Invoke-AzVMRunCommand.md

#15704

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Co-authored-by: Beisi Zhou <zazbs@qq.com>

* Update notebook and spark job definition cmdlets to support folder path (#16269)

-update change log

-add example for specifying multi-level folder path

-update FolderName to FolderPath as PowerShell Team suggested

-update foldername description in help doc

-resolve some comments in code review

-update change log

-add new parameter foldername

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
Co-authored-by: kceiw <mahuang@microsoft.com>
Co-authored-by: Reggie Gibson <31147354+regedit32@users.noreply.github.com>
Co-authored-by: Wei Wei <weiwei@microsoft.com>
Co-authored-by: Micah McKittrick <32313503+mimckitt@users.noreply.github.com>
Co-authored-by: YanjunGao <85206987+yanjungao718@users.noreply.github.com>
@DavidAtImpactCubed
Copy link

Thank you both for addressing this so quickly 🙇

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.

3 participants