Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 5 additions & 2 deletions src/amg/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ Release History
* `az grafana integrations monitor delete`: support optional subscription id argument for multi-subscription scenarios
* `az grafana notification-channel`: deprecate command group as part of Grafana legacy alerting deprecation


2.6.1
++++++
* Remove msrestazure dependency
* Remove msrestazure dependency

2.7.0
++++++
* `az grafana api-key`: deprecate command group as Grafana Labs is sunsetting API keys
3 changes: 2 additions & 1 deletion src/amg/azext_amg/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@

helps['grafana api-key'] = """
type: group
short-summary: Commands to manage api keys.
short-summary: Commands to manage API keys.
long-summary: API keys are deprecated by Grafana Labs and will not be supported in Grafana 12 and above. Please use service accounts instead.
"""

helps['grafana api-key create'] = """
Expand Down
2 changes: 1 addition & 1 deletion src/amg/azext_amg/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def load_command_table(self, _):
g.custom_show_command('show', 'show_user')
g.custom_command('actual-user', 'get_actual_user')

with self.command_group('grafana api-key') as g:
with self.command_group('grafana api-key', deprecate_info=self.deprecate()) as g:
g.custom_command('create', 'create_api_key')
g.custom_command('list', 'list_api_keys')
g.custom_command('delete', 'delete_api_key')
Expand Down
2 changes: 1 addition & 1 deletion src/amg/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.
VERSION = '2.6.1'
VERSION = '2.7.0'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading