Skip to content

[SQL VM] az sql vm show: Add configuration options to --expand flag#15156

Merged
Juliehzl merged 16 commits intoAzure:devfrom
rchlkm:dev
Sep 25, 2020
Merged

[SQL VM] az sql vm show: Add configuration options to --expand flag#15156
Juliehzl merged 16 commits intoAzure:devfrom
rchlkm:dev

Conversation

@rchlkm
Copy link
Contributor

@rchlkm rchlkm commented Sep 14, 2020

Description
This PR makes a small addition to the --expand flag.

The --expand flag previously only accepted * as an argument. With these changes, the --expand flag accepts the following: AutoBackupSettings, AutoPatchingSettings, KeyCredentialSettings, ServerConfiguratationsManagementSettings. The flag can also accept any space-separated combination of these arguments.

Tests added accordingly.

Testing Guide

az sql vm show -g <Resource Group Name> -n <SQL VM Name> --expand <Setting1> <Setting2>

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 14, 2020
@ghost
Copy link

ghost commented Sep 14, 2020

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

@rchlkm
Copy link
Contributor Author

rchlkm commented Sep 14, 2020

@yareyes

@yonzhan yonzhan added this to the S176 milestone Sep 14, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Sep 14, 2020

add to S176

Copy link
Member

@yareyes yareyes left a comment

Choose a reason for hiding this comment

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

:shipit:

@Juliehzl Juliehzl changed the title [SQL VM] az sql vm show: Add configuration options to --expand flag [SQL] az sql vm show: Add configuration options to --expand flag Sep 15, 2020
@rchlkm
Copy link
Contributor Author

rchlkm commented Sep 15, 2020

@Juliehzl thanks for reviewing this PR. This PR is actually specific to the SQL VM command module, not SQL. I believe the title should be [SQL VM].

@rchlkm rchlkm requested a review from Juliehzl September 16, 2020 20:43
@Juliehzl Juliehzl changed the title [SQL] az sql vm show: Add configuration options to --expand flag [SQL VM] az sql vm show: Add configuration options to --expand flag Sep 17, 2020
@Juliehzl
Copy link
Contributor

@Juliehzl Zunli Hu FTE thanks for reviewing this PR. This PR is actually specific to the SQL VM command module, not SQL. I believe the title should be [SQL VM].

updated

@Juliehzl Juliehzl merged commit fa9e98d into Azure:dev Sep 25, 2020
Juliehzl pushed a commit to Juliehzl/azure-cli that referenced this pull request Sep 30, 2020
…Azure#15156)

* {Docs} Remove stale reference in README to closed issue about extensions (Azure#12771)

* Added more sqlvm configuration options to --expand flag

* style changes to comply with pylint and pep8 format

* removed commments in HISTORY.rst

* refactored expand params to use nargs=+ design pattern

Co-authored-by: Daniel Miller <daniel.keegan.miller@gmail.com>
Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants