Skip to content

Commit

Permalink
{rdbms} Fix #17579: Add document reference where updated versions are…
Browse files Browse the repository at this point in the history
… available (#23463)

* {rdbms} Fix #17579: Add document reference where updated versions are available

Fixes #17579

* {rdbms} Fix #17579: Implement PR review change

* {rdbms} Fix Azure#17579: Implement PR review change

* {rdbms} Fix #17579: Implement PR changes

* {rdbms} Fix Azure#17579: Implement PR changes
  • Loading branch information
RakeshMohanMSFT authored Aug 10, 2022
1 parent f31b126 commit b74e444
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/azure-cli/azure/cli/command_modules/rdbms/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ def _complex_params(command_group): # pylint: disable=too-many-statements
c.argument('assign_identity', options_list=['--assign-identity'], help='Generate and assign an Azure Active Directory Identity for this server for use with key management services like Azure KeyVault.')

c.argument('location', arg_type=get_location_type(self.cli_ctx))
c.argument('version', help='Server major version.')
if command_group == 'postgres':
c.argument('version', default='11',
help='Server major version. https://docs.microsoft.com/en-us/azure/postgresql/single-server/concepts-supported-versions')
else:
c.argument('version', help='Server major version.')

with self.argument_context('{} server update'.format(command_group)) as c:
c.ignore('family', 'capacity', 'tier')
Expand Down

0 comments on commit b74e444

Please sign in to comment.