From e35eee8c866d9db61d3b7c4350b31d58423ccabd Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Fri, 15 May 2020 11:07:10 +0800 Subject: [PATCH 1/2] fix --- src/azure-cli/azure/cli/command_modules/monitor/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/monitor/_params.py b/src/azure-cli/azure/cli/command_modules/monitor/_params.py index 5f7f2eef55d..c36b37644c5 100644 --- a/src/azure-cli/azure/cli/command_modules/monitor/_params.py +++ b/src/azure-cli/azure/cli/command_modules/monitor/_params.py @@ -114,7 +114,7 @@ def load_arguments(self, _): # region MetricAlerts with self.argument_context('monitor metrics alert') as c: c.argument('rule_name', name_arg_type, id_part='name', help='Name of the alert rule.') - c.argument('severity', type=int, help='Severity of the alert from 0 (low) to 4 (high).') + c.argument('severity', type=int, help='Severity of the alert from 0 (critical) to 4 (verbose).') c.argument('window_size', type=get_period_type(), help='Time over which to aggregate metrics in "##h##m##s" format.') c.argument('evaluation_frequency', type=get_period_type(), help='Frequency with which to evaluate the rule in "##h##m##s" format.') c.argument('auto_mitigate', arg_type=get_three_state_flag(), help='Automatically resolve the alert.') From 1023084ad1731e33b0d02a5d87c7327cbdfcb214 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Fri, 15 May 2020 11:08:08 +0800 Subject: [PATCH 2/2] add code owner --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7d1b55c0aa8..8ad92dc0cd0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -23,7 +23,7 @@ /src/azure-cli/azure/cli/command_modules/dls/ @lewu-msft /src/azure-cli/azure/cli/command_modules/extension/ @fengzhou-msft @haroldrandom /src/azure-cli/azure/cli/command_modules/keyvault/ @bim-msft @fengzhou-msft -/src/azure-cli/azure/cli/command_modules/monitor/ @MyronFanQiu +/src/azure-cli/azure/cli/command_modules/monitor/ @MyronFanQiu @jsntcy /src/azure-cli/azure/cli/command_modules/natgateway/ @khannarheams @MyronFanQiu @haroldrandom /src/azure-cli/azure/cli/command_modules/network/ @MyronFanQiu @haroldrandom /src/azure-cli/azure/cli/command_modules/privatedns/ @MyronFanQiu @haroldrandom