Skip to content

Commit 94c0d25

Browse files
author
GokulPrasad KrishnaSwamy
committed
{Monitor} Fix linter error: add -w short alias for --azure-monitor-workspace-name in issue commands
1 parent a774af7 commit 94c0d25

13 files changed

Lines changed: 13 additions & 13 deletions

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_add_investigation_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545

4646
_args_schema = cls._args_schema
4747
_args_schema.azure_monitor_workspace_name = AAZStrArg(
48-
options=["--azure-monitor-workspace-name"],
48+
options=["-w", "--azure-monitor-workspace-name"],
4949
help="The name of the Azure Monitor Workspace. The name is case insensitive",
5050
required=True,
5151
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_add_or_update_alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545

4646
_args_schema = cls._args_schema
4747
_args_schema.azure_monitor_workspace_name = AAZStrArg(
48-
options=["--azure-monitor-workspace-name"],
48+
options=["-w", "--azure-monitor-workspace-name"],
4949
help="The name of the Azure Monitor Workspace. The name is case insensitive",
5050
required=True,
5151
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_add_or_update_resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545

4646
_args_schema = cls._args_schema
4747
_args_schema.azure_monitor_workspace_name = AAZStrArg(
48-
options=["--azure-monitor-workspace-name"],
48+
options=["-w", "--azure-monitor-workspace-name"],
4949
help="The name of the Azure Monitor Workspace. The name is case insensitive",
5050
required=True,
5151
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545

4646
_args_schema = cls._args_schema
4747
_args_schema.azure_monitor_workspace_name = AAZStrArg(
48-
options=["--azure-monitor-workspace-name"],
48+
options=["-w", "--azure-monitor-workspace-name"],
4949
help="The name of the Azure Monitor Workspace. The name is case insensitive",
5050
required=True,
5151
fmt=AAZStrArgFormat(

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4343

4444
_args_schema = cls._args_schema
4545
_args_schema.azure_monitor_workspace_name = AAZStrArg(
46-
options=["--azure-monitor-workspace-name"],
46+
options=["-w", "--azure-monitor-workspace-name"],
4747
help="The name of the Azure Monitor Workspace. The name is case insensitive",
4848
required=True,
4949
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_fetch_background_visualization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545

4646
_args_schema = cls._args_schema
4747
_args_schema.azure_monitor_workspace_name = AAZStrArg(
48-
options=["--azure-monitor-workspace-name"],
48+
options=["-w", "--azure-monitor-workspace-name"],
4949
help="The name of the Azure Monitor Workspace. The name is case insensitive",
5050
required=True,
5151
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_fetch_investigation_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4545

4646
_args_schema = cls._args_schema
4747
_args_schema.azure_monitor_workspace_name = AAZStrArg(
48-
options=["--azure-monitor-workspace-name"],
48+
options=["-w", "--azure-monitor-workspace-name"],
4949
help="The name of the Azure Monitor Workspace. The name is case insensitive",
5050
required=True,
5151
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4343

4444
_args_schema = cls._args_schema
4545
_args_schema.azure_monitor_workspace_name = AAZStrArg(
46-
options=["--azure-monitor-workspace-name"],
46+
options=["-w", "--azure-monitor-workspace-name"],
4747
help="The name of the Azure Monitor Workspace. The name is case insensitive",
4848
required=True,
4949
fmt=AAZStrArgFormat(

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_list_alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4242

4343
_args_schema = cls._args_schema
4444
_args_schema.azure_monitor_workspace_name = AAZStrArg(
45-
options=["--azure-monitor-workspace-name"],
45+
options=["-w", "--azure-monitor-workspace-name"],
4646
help="The name of the Azure Monitor Workspace. The name is case insensitive",
4747
required=True,
4848
id_part="name",

src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/monitor/account/issue/_list_resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
4242

4343
_args_schema = cls._args_schema
4444
_args_schema.azure_monitor_workspace_name = AAZStrArg(
45-
options=["--azure-monitor-workspace-name"],
45+
options=["-w", "--azure-monitor-workspace-name"],
4646
help="The name of the Azure Monitor Workspace. The name is case insensitive",
4747
required=True,
4848
id_part="name",

0 commit comments

Comments
 (0)