Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b0f7e30
Initial commit
qwordy Dec 31, 2019
3657360
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Jan 16, 2020
0b5607a
Update
qwordy Jan 17, 2020
007bf40
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Jan 17, 2020
698d6e5
smart-detector-alert-rule
qwordy Jan 17, 2020
53d7eb9
Add smart group, alert commands
qwordy Jan 20, 2020
4db5e86
Merge branch 'master' into alertsmanagement
qwordy Feb 17, 2020
81ba2ae
Update
qwordy Feb 17, 2020
5c288ea
action-rule create
qwordy Feb 18, 2020
203baba
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Feb 18, 2020
187facd
action-rule create / udpate
qwordy Feb 19, 2020
e9bf874
Fix style
qwordy Feb 19, 2020
ba2b67b
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Feb 19, 2020
0be79cf
add code owner
qwordy Feb 20, 2020
7feafc4
merge
qwordy Mar 5, 2020
24155fd
Merge branch 'master' of github.com:Azure/azure-cli-extensions into a…
qwordy Mar 9, 2020
eebe4ee
test
qwordy Mar 9, 2020
48dc0b0
remove rubbish code
qwordy Mar 10, 2020
0a41eaa
Merge branch 'master' of github.com:Azure/azure-cli-extensions into a…
qwordy Mar 10, 2020
7fb3654
Only reserve action-rule commands
qwordy Mar 10, 2020
bc37331
update help
qwordy Mar 10, 2020
b937b4f
update name, rg
qwordy Mar 10, 2020
052a855
update help
qwordy Mar 10, 2020
95b7898
list
qwordy Mar 10, 2020
b4d4c0a
--status
qwordy Mar 10, 2020
4763e8b
recurrence_type
qwordy Mar 11, 2020
10424e0
alert_rule
qwordy Mar 11, 2020
fa8b90f
SuppressionSchedule
qwordy Mar 11, 2020
6d384ca
remove rubbish code
qwordy Mar 11, 2020
b4ff21e
update setup.py
qwordy Mar 11, 2020
204fed8
refactor
qwordy Mar 11, 2020
ffa3e57
remove trash
qwordy Mar 11, 2020
9f36459
Rename alertsmanagement to monitor
qwordy Mar 11, 2020
00f11d1
style
qwordy Mar 12, 2020
7e2b69f
merge
qwordy Mar 12, 2020
8b3d149
recurrence pattern; add 3 examples
qwordy Mar 13, 2020
8fc8e12
readme
qwordy Mar 13, 2020
e3e7577
preview
qwordy Mar 13, 2020
ff05aaa
help
qwordy Mar 16, 2020
e0c4a1e
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Mar 16, 2020
16f508c
help
qwordy Mar 17, 2020
b8468f7
fix
qwordy Mar 17, 2020
01909cc
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Mar 17, 2020
60a2029
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Apr 2, 2020
8d95d4e
Add experimental tag
qwordy Apr 2, 2020
bedc15e
remove python 3.5; change min version
qwordy Apr 2, 2020
1c3e275
Fix merge mistake
qwordy Apr 2, 2020
9429ea5
update min cli core verison
qwordy Apr 2, 2020
1216097
experimental
qwordy Apr 2, 2020
575cbb3
Merge branch 'master' into alertsmanagement-phase1
qwordy Apr 3, 2020
0683907
Merge branch 'master' into alertsmanagement-phase1
qwordy Apr 3, 2020
3db13d8
Merge branch 'master' into alertsmanagement-phase1
qwordy Apr 5, 2020
7b05846
Merge branch 'master' of https://github.com/Azure/azure-cli-extension…
qwordy Apr 7, 2020
4991510
{Pipeline} print stacktrace when exception
qwordy Apr 7, 2020
4d7fd2e
Merge branch 'alertsmanagement-phase1' of https://github.com/qwordy/a…
qwordy Apr 7, 2020
77cf51f
{Alertsmanagement} Fix import problem. It only happens in CI
qwordy Apr 7, 2020
66e3d0b
revert
qwordy Apr 7, 2020
acbcdca
fix style
qwordy Apr 7, 2020
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
Prev Previous commit
Next Next commit
test
  • Loading branch information
qwordy committed Mar 9, 2020
commit eebe4ee9338351082ab892f3db9fca8670618a17
6 changes: 3 additions & 3 deletions src/alertsmanagement/azext_alertsmanagement/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
type: command
short-summary: Creates/Updates a specific action rule
examples:
- name: PutActionRule
- name: Create an action rule.
text: |-
az alertsmanagement action-rule create --resource-group "alertscorrelationrg" --name "rule" --location "Global" --status "Enabled" --rule-type Suppression --severity Equals Sev0 Sev2 --recurrence-type Daily --start-date 12/09/2018 --end-date 12/18/2018 --start-time 06:00:00 --end-time 14:00:00

Expand All @@ -142,15 +142,15 @@
type: command
short-summary: Creates/Updates a specific action rule
examples:
- name: PatchActionRule
- name: Update an action rule.
text: |-
az alertsmanagement action-rule update --resource-group "alertscorrelationrg" --name \\
"WeeklySuppression" --status "Disabled"
"""

helps['alertsmanagement action-rule delete'] = """
type: command
short-summary: Deletes a given action rule
short-summary: Delete a given action rule
examples:
- name: DeleteActionRule
text: |-
Expand Down
4 changes: 2 additions & 2 deletions src/alertsmanagement/azext_alertsmanagement/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def load_arguments(self, _):
c.argument('status', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='Indicates if the given action rule is enabled or disabled')
c.argument('rule_type', arg_type=get_enum_type(['Suppression', 'ActionGroup', 'Diagnostics']), help='Indicates type of action rule')
c.argument('description', help='Description of action rule')
c.argument('scope_type', help='Type of target scope')
c.argument('scope_type', help='Type of target scope', arg_type=get_enum_type(['ResourceGroup', 'Resource']))
c.argument('scope', nargs='+', help='List of ARM IDs (space-delimited) of the given scope type which will be the target of the given action rule.')
c.argument('severity', nargs='+', help='Filter alerts by severity. All filters should follow format "operator value1 value2 ... valueN". Operator is Equals, NotEquals, Contains or DoesNotContain.')
c.argument('severity', nargs='+', help='Filter alerts by severity. All filters should follow format "operator value1 value2 ... valueN". Operator is one of Equals, NotEquals, Contains and DoesNotContain.')
c.argument('monitor_service', nargs='+', help='Filter alerts by monitor service')
c.argument('monitor_condition', nargs='+', help='Filter alerts by monitor condition')
c.argument('target_resource_type', nargs='+', help='Filter alerts by target resource type')
Expand Down
Loading