Skip to content

Commit

Permalink
Alerts management contains operator support for resource type conditi…
Browse files Browse the repository at this point in the history
…on (#4554)

* added support for contains and doesNotContain operators for resource types filter

* 1. updated version to 0.2.1
2. updated history file accordingly

Co-authored-by: MIDDLEEAST\lienglender <lienglender@microsoft.com>
  • Loading branch information
Liran-E and MIDDLEEAST\lienglender committed Mar 21, 2022
1 parent bd69ee4 commit 1e8404b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/alertsmanagement/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.2.2
++++++
Added support for contains and doesNotContain operators for filter-resource-type in create method

0.2.1
++++++
Fixed help file text and an error loading the help files of all methods
Expand Down
2 changes: 1 addition & 1 deletion src/alertsmanagement/azext_alertsmanagement/_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def validate_resource_group(namespace):

def validate_resource_type(namespace):
if namespace.filter_resource_type:
validate_only_equals_operator(namespace.filter_resource_type)
validate_full_operator(namespace.filter_resource_type)


def validate_full_operator(args):
Expand Down
2 changes: 1 addition & 1 deletion src/alertsmanagement/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")

# HISTORY.rst entry.
VERSION = '0.2.1'
VERSION = '0.2.2'

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

0 comments on commit 1e8404b

Please sign in to comment.