Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/vm/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def load_arguments(self, _):
c.argument('publisher', help='The name of the extension publisher.')
c.argument('settings', type=validate_file_or_dict, help='Extension settings in JSON format. A JSON file path is also accepted.')
c.argument('protected_settings', type=validate_file_or_dict, help='Protected settings in JSON format for sensitive information like credentials. A JSON file path is also accepted.')
c.argument('version', help='The version of the extension')
c.argument('version', help='The version of the extension. If you want to use the exact version number specified, please specify --no-auto-upgrade.')
Copy link
Member

Choose a reason for hiding this comment

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

To pin extension version to fix version, pls specify --no-auto-upgrade.

Suggested change
c.argument('version', help='The version of the extension. If you want to use the exact version number specified, please specify --no-auto-upgrade.')
c.argument('version', help='The version of the extension. To pin extension version to specific version number, please specify --no-auto-upgrade.')


with self.argument_context('vm extension set') as c:
c.argument('vm_extension_name', name_arg_type,
Expand Down